Hi Michael,
> Thanks for showing all the possibilities, never came accross "<>"...
It’s a good’un… Here’s one of my favourite use-cases:
%%% SNIPPET BEGINS
\version "2.27.1"
repeats = \repeat unfold 4 { c'4 d' e' d' c'1 }
\markup "Repeated measures:"
{ \repeats }
\markup "Using <> to add a dynamic (or markup or articulation etc.) ONLY to the
first repetition:"
{ <>\f \repeats }
%%% SNIPPET ENDS
> Why does this print two parallel notes?
>> { a4.(\< b8 g2) 1*0\! | c''2 }
When you don’t have the 2, the c’’ inherits the “zero duration” 1*0, so no
notes appear. When you add the 2, the c’’2 is forced to appear, that forces the
whole note column to appear, and the 1*0 now shows up as a glyph [although it
technically has no duration!].
Cheers,
Kieren.
__________________________________________________
My work day may look different than your work day. Please do not feel obligated
to read or respond to this email outside of your normal working hours.