Sure thing! Disclaimer: I prefer to write sequential order of variables
inside my staff (i.e, \new Staff { \globalStart \BassMusic \globalEnd } ).
Since you're using the SATB template, I've inserted the global variables in
the musical expression variables. I've added some superfluous things just
for the sake of argument (key and numeric time signatures).
%%% SNIPPET BEGINS
\version "2.24.0"
globalStart = {
\numericTimeSignature
\key g \major
\tag #'anacrusis { \absolute { \partial 4 e' \mp } }
\tag #'hold { \partial 4 r }
}
globalEnd = {
\tag #'fine { \fine }
}
SopranoMusic = \relative {
\keepWithTag #'(anacrusis) { \globalStart }
a'4\f a8 a a4 g
\keepWithTag #'(fine) { \globalEnd }
}
AltoMusic = \relative {
\keepWithTag #'(hold) { \globalStart }
d'4\f d d d
\keepWithTag #'() { \globalEnd }
}
TenorMusic = \relative {
\keepWithTag #'(hold) { \globalStart }
a4\p a a a
\keepWithTag #'(fine) { \globalEnd }
}
BassMusic = \relative {
\keepWithTag #'(hold) { \globalStart }
c2\p c4 c
\keepWithTag #'(fine) { \globalEnd }
}
PianoRHMusic = \relative {
\keepWithTag #'(hold) { \globalStart }
c' e g c
\keepWithTag #'(fine) { \globalEnd }
}
PianoDynamics = { \keepWithTag #'(hold) { \globalStart } s2\mp s4 s4 }
PianoLHMusic = \relative {
\keepWithTag #'(hold) { \globalStart }
c e g c
\keepWithTag #'(fine) { \globalEnd }
}
TwoVoicesPerStaff = ##t
\include "satb.ly"
%%% SNIPPET ENDS
Em seg., 9 de mar. de 2026 às 10:04, Gabriel Ellsworth <
[email protected]> escreveu:
> Thank you both!
>
> On Mon, 9 Mar 2026, Lucas Pinke wrote:
>
>> I like to use a global end variable. If there needs to be some fine
>> tuning, tags work greatly.
>>
>
> Lucas, would you mind sharing an example, please — perhaps by adding your
> global end variable to the code in my previous email?
>
> Stephan Schöll escreveu:
>>
>>> Personally I benefit from adding \fine to all parts in that lilypond
>>> reminds me of "music after \fine" when - by error - voices differ in
>>> length. it's like a global version of a barcheck.
>>>
>>
> That makes a lot of sense to me, Stephan; thank you.
>