% !TEX TS-program = lualatex - % !TEX encoding = UTF-8 % This is a template for a LuaLaTeX document using gregorio scores. \documentclass[a4paper,12pt]{article}% default would be 10pt % usual packages loading: \usepackage{fontspec} \usepackage{graphicx} % support the \includegraphics command and options \usepackage{gregoriotex} % for gregorio score inclusion \usepackage{fullpage} % to reduce the margins \usepackage[dutch]{babel} \pagestyle{empty} \usepackage{color} % here we begin the document \begin{document} \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 Acorn.fd \newcommand*\initfamily{\usefont{U}{Acorn}{xl}{n}} \newcommand*\yourfont{\usefont{U}{AnnSton}{xl}{n}} % The title: % Here we set the space around the initial. \grechangedim{beforeinitialshift}{3.2mm}{scalable} \grechangedim{afterinitialshift}{3.2mm}{scalable} % Here we set the initial font. Change 43 if you want a bigger initial. \grechangestyle{initial}{\initfamily\fontsize{36}{36}\selectfont\color{red}\relax} \grechangedim{spaceabovelines}{0.3cm}{scalable} \gresetbarspacing{new} %%ipv gresetbarspacing{old} \grechangedim{maxbaroffsettextleft}{0 cm}{scalable}% \gresetnabcfont{grelaon}{14} \gresetgregoriofont[op]{greciliae} \grechangestaffsize{19} \cent{\begin{yourfont}\Large\red{A}\end{yourfont}\Large\black{lleluia Omnes gentes}} % We set I above the initial. %\gresetlastline{justified}%if usefull \greannotation{\small{\textbf{Al - I}}} \links{\black\small GT 298, Tempus per annum} % We type a text in the top right corner of the score: \grecommentary[8mm]{\emph{Ps.46,2}} \skip % and finally we include the score*; indicate map/* if necessary \gregorioscore[a]{gabc/al_omnes_gentes} \cent{\greseparator{2}{20}} \end{document}