\grechangeglyph for part of a score

29 views
Skip to first unread message

Rob Leduc

unread,
Jan 19, 2022, 12:08:14 PMJan 19
to Gregorio Users

I've just learned to use \grechangeglyph to change a PorrectusLongqueue to it's alternate form that is "square" rather than "swoopy". But I had to put the command in my TeX file (and reset it after the score).  This worked fine in this piece. 

Is there a way to have two neumes of the same type in the same score, but only one with the alternate form?  I had tried including my \grechangeglyph command between <v> tags within the score, with a reset command in the next note group, but it didn't work.  Specifically, the neume did not get its alternate version and large white spaces were insterted in the line, pushing some of the notes beyond the edge of the page to the right.

I don't have a specific score that requires both of these shapes at the same time, but it seemed possible such might exist.  But my real purpose was in trying to share the score below on Gregobase; without the \grechangeglyph commands, it wouldn't match the source (Nocturnale Romanum as indicated in fields) and so had hoped to include them in the body of the gabc for other users.

Thanks!

Rob

Details:

I'd like the hef~ at the end of "electa" in the score below to have the alternate PorrectusLongQueue form from the graciliae font.  I can do this by putting
\grechangeglyph{PorrectusLongqueue*}{*}{.alt} before the \gregorioscore command
and then \grereset{PorrectusLongqueue} after.  But is there a way to imbed this in the gabc file itself somehow, say using <v> and </v>?

Gabc file Test.gabc:

name:Veni electa mea;
office-part:Responsorium;
book: Nocturnale Romanum (2002);
book-page:[118];
annotation:1.Resp.;
annotation:II.;
%%
(f3) Ve(efh)ni<sp>*</sp>(f)
%<v>\grechangeglyph{PorrectusLongqueue*}{*}{.alt}</v>  %uncomment to test this
e(ef)lé(h)cta(Hsshef~) me(fhvGF)a,(f) (,)
%\greresetglyph{PorrectusLongqueue*}</v>    %uncomment to test this
et(ef) po(hvviji)nam(i) in(EFgwhhviji) te(i) (;)
thro(hjhi)num(ih/i>) me(hf/hg/hffO1e/f)um:(fe) (:)
<sp>+</sp> Qui(efO1h)a(iji) con(h)cu(ijhhg/ef)pí(e)vit(fe/f!gwhf) rex(f) (;)
spé(ivHsss)ci(f)em(fge/c/ef/g!h@gf~) tu(fgf)am.(f) (::)
<v>{\scriptsize\itshape t.p.\ }</v> Al(fg)le(ehGF)lú(h/igh)ja.(f) (::)
<sp>V/</sp> Spé(EFgwhhi)ci(h)e(h) tu(ij)a(i) (,)
et(h) pul(h)chri(h)tú(hg)di(hi)ne(gh) tu(f!gwhg)a,(gf) (;)
in(f)tén(ef~)de,(f) pró(fg)spe(f)re(f) pro(f)cé(f!gw!ho1GE)de,(f) et(hg/hih>) re(hvGFg>)gna.(ffO1e) (::)
Qui(efO1h)a.(iji) (::)

Latex file:

\documentclass{book}
\usepackage[autocompile]{gregoriotex}
\begin{document}

%Score with <v> tags commented out and TeX glyph commands present in TeX file: this works.
%Score commenting out glyph commands in the tex file and uncommenting the <v> tag lines in the gabc file:  Doesn't work.
\grechangeglyph{PorrectusLongqueue*}{*}{.alt}
\gregorioscore{Test}
\greresetglyph{PorrectusLongqueue*}

\end{document}


Fr. Samuel Springuel

unread,
Jan 20, 2022, 12:50:58 PMJan 20
to gregori...@googlegroups.com
Given you’re playing with the notes, your verbatim code should be included a notes macros rather than verbatim text in the lyrics:

name:Veni electa mea;
office-part:Responsorium;
book: Nocturnale Romanum (2002);
book-page:[118];
annotation:1.Resp.;
annotation:II.;

def-m1:\grechangeglyph{PorrectusLongqueue*}{*}{.alt};
def-m2:\greresetglyph{PorrectusLongqueue*};

%%
(f3) Ve(efh)ni<sp>*</sp>(f)
e([nm1]ef)lé(h)cta(Hsshef~) me(fhvGF)a,(f) (,)
et([nm2]ef) po(hvviji)nam(i) in(EFgwhhviji) te(i) (;)
thro(hjhi)num(ih/i>) me(hf/hg/hffO1e/f)um:(fe) (:)
<sp>+</sp> Qui(efO1h)a(iji) con(h)cu(ijhhg/ef)pí(e)vit(fe/f!gwhf) rex(f) (;)
spé(ivHsss)ci(f)em(fge/c/ef/g!h@gf~) tu(fgf)am.(f) (::)
<v>{\scriptsize\itshape t.p.\ }</v> Al(fg)le(ehGF)lú(h/igh)ja.(f) (::)
<sp>V/</sp> Spé(EFgwhhi)ci(h)e(h) tu(ij)a(i) (,)
et(h) pul(h)chri(h)tú(hg)di(hi)ne(gh) tu(f!gwhg)a,(gf) (;)
in(f)tén(ef~)de,(f) pró(fg)spe(f)re(f) pro(f)cé(f!gw!ho1GE)de,(f) et(hg/hih>) re(hvGFg>)gna.(ffO1e) (::)
Qui(efO1h)a.(iji) (::)


This notation is explained here: http://gregorio-project.github.io/gabc/details.html#verbatim

✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036

PAX ☧ ΧΡΙΣΤΟΣ
> --
> Gregorio homepage: http://gregorio-project.github.io
> Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
> To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
> ---
> You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gregorio-users/de7fb3fe-f250-42b9-9fb1-24c31b337445n%40googlegroups.com.

Rob Leduc

unread,
Jan 20, 2022, 2:35:36 PMJan 20
to Gregorio Users
Most excellent!  Thank you!

I had not fully understood this notation before, so this is both a helpful example as well as a means to learning the different levels of application.  I found it a hard point to understand until I needed it!

Rob
Reply all
Reply to author
Forward
0 new messages