% !TEX TS-program = lualatex - % !TEX encoding = UTF-8 % This is a template for a LuaLaTeX document using gregorio scores. \documentclass[a4paper,12pt]{article} % use larger type; default would be 10pt \usepackage[papersize={8.27in,11.7in}, left=0.2in, right=0.2in, top=0.1in, bottom=0.3in,marginparwidth=3cm,marginparsep=3mm,heightrounded]{geometry} \usepackage{fontspec} % usual packages loading: \usepackage[dutch]{babel} \usepackage{color} \usepackage{marginnote} \usepackage{vmargin} \usepackage{gregoriotex} % for gregorio score inclusion \usepackage{fullpage} % to reduce the margins \setmarginsrb{4cm}{1cm}{4cm}{1cm}{0.5cm}{15pt}{0.5cm}{0cm} %\pagestyle{fancy} \pagestyle{empty} \begin{document} % here we begin the document %simplify your commands \newcommand{\red}[1]{\textcolor{red}{#1}} \newcommand{\black}[1]{\textcolor{black}{#1}} \newcommand{\cent}[1]{\begin{center}{#1}\end{center}} \newcommand{\links}[1]{\begin{flushleft}{#1}\end{flushleft}} \input AnnSton.fd %input the fonts \input Acorn.fd \newcommand\initfamily{\usefont{U}{Acorn}{xl}{n}} \newcommand\yourfont{\usefont{U}{AnnSton}{xl}{n}} % The title: \links{\small\bf{Gr.}\red{C}\black{onstitues eos}} \cent{\LARGE\begin{yourfont}\red{G}\end{yourfont}\black{raduale Constitues eos}} \bigskip \gresetnabcfont{gregall}{10} \gresetgregoriofont[op]{greciliae} \grechangestaffsize{19} \gresetbarspacing{new} \grechangedim{maxbaroffsettextleft}{0}{scalable} \grechangedim{spaceabovelines}{0.5cm}{scalable} % Here we set the space around the initial. \grechangedim{beforeinitialshift}{3.2mm}{scalable} \grechangedim{afterinitialshift}{3.2mm}{scalable} \renewcommand\initfamily{\usefont{U}{Acorn}{xl}{n}} % Here initial font. Change 43 for a bigger initial. \grechangestyle{initial}{\initfamily\fontsize{36}{36}\selectfont\color{red}} \gresetlastline{justified} % We set Gr and V above the initial- will overrule annotation in gabc file \greannotation{\small \textbf{Gr - V}} \links{\small GT.576 - Gebruik : SS. Petri et Pauli Apostolorum} % We type a text in the top right corner of the score: \grecommentary[8mm]{\emph Ps.44,17;\Vbar.18} % and finally we include the score. %The file must be in the same directory as this one. \marginnote{\small{Gij zult hen aanstellen tot vorsten over heel de aarde; uw naam Heer zullen zij indachtig zijn.}}[0] \gregorioscore[a]{gr_constitues_Fullccc} \vskip 0.5cm \gresetinitiallines{0} \marginnote{\small{Om in de plaats der vaderen te treden, zijn U zonen geboren; daarom zullen de volkeren U prijzen.}}[0] \gregorioscore[a]{gr_constitues_vers} \vskip 2cm \cent{\greseparator{2}{20}} \end{document}