Henry!
Wow, I didn't realize the spaces mattered. I actually
spaced it that way by conventions because that's how I do it
in javascript and c# so I can more easily see how many { {
are in a row.
I removed the spaces and it fixed everything!
Thanks so much for taking the time!
On 7/22/2015 11:24 AM, Henry T. So Jr. wrote:
I don't have the ability to test anything out right now,
but it looks like you have extra spaces before/after the
braces in your macro definitions for \*, \greinitialformat
and \setsecondannotation. There should also be no spaces
between the close-brace after \setpagestyle /
\setgregoriofactor and the comment that follows them.
There may also be some other space at the end of the line
playing havok with the indentation.
TeX is very space-sensitive, so be careful.
Henry
On July 22, 2015 11:25:02 AM Brother Gabriel-Marie
<[email protected] <mailto:brgabriel%40sspx.org>> wrote:
The last release requires me to rebuild some of my
templates. I don't mind at all to do that, but I have to
figure out what to do.
In this score, you can see on the far right that the
staff goes too far past the edge.
Also, the Initial is too far indented on the left.
Would someone be willing to take a quick look and tell me
what I'm doing wrong?
I'm just using the Ecce Panis Angelorum from the
Gregorium; but here are the first two lines:
(c3) EC(i)ce(h') Pá(i)nis(g') An(h)ge(f')ló(d)rum,(e.)
(;) Fác(e)tus(g') cí(i)bus(i') vi(j)a(h')tó(i)rum(i.) (;)
Here is my tex template:
% !TEX TS-program = lualatex % !TEX encoding = UTF-8
\documentclass[12pt]{article} % usual packages loading:
\usepackage{fontspec} \usepackage{graphicx} % support the
\includegraphics command and options
\usepackage{gregoriotex} % for gregorio score inclusion
\usepackage{luatextra} \usepackage{bold-extra}
\usepackage{xcolor} \usepackage{fullpage} % to reduce the
margins
\usepackage[papersize={5in,7.5in},margin=0.25in]{geometry} %
choose the language of the document here
\usepackage[latin]{babel}
\setromanfont[BoldFont={Maiandra},ItalicFont={Maiandra}]{Maiandra}
%Width of the staff \textwidth 4.5in % here we begin the
document \begin{document} \pagestyle{empty} %removes page
numbering % Here we set the font for the initials.
\newfontface\Horst{horst} \newfontface\Maiandra{maiandra}
% The title: \begin{center}\Maiandra\huge{The
Title}\end{center} \setgrefactor{15} %size of score;
default is 17 %Now make sure all the * are turned red
\renewcommand{\*}{ \color{red}*} \let\grestar\*
\let\greheightstar\* % Here we set the space around the
initial. \setspacebeforeinitial{2.2mm}{0}
\setspaceafterinitial{2.2mm}{0} % Here we set the initial
font. Change 43 if you want a bigger initial. or 28 if
you are using annotations. \def\greinitialformat#1{
{\fontsize{28}{35}\Horst #1} }
%\setaboveinitialseparation{2pt}
\setfirstannotation{\small\textcolor{red}{_annotation1_}}
\setsecondannotation{\small\textcolor{red}{_annotation2_}
} %style the above-the-line commentary
\renewcommand{\greabovelinestextstyle}[1]{\color{red}\greitalic{#1}}
% and finally we include the score. The file must be in
the same directory as this one.
\includescore{se--ecce_panis_angelorum--solesmes.gabc}
\end{document}
_______________________________________________
Gregorio-users mailing list
[email protected] <mailto:Gregorio-users%40gna.org>
https://mail.gna.org/listinfo/gregorio-users
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users