I have the following code: \version "2.19.81" \fixed c' { \time 3/4 c c c
\once \override Score.FootnoteItem.annotation-line = ##f \footnote \markup\huge { * } #'(0 . 5) \markup {\lower #0.8 { \super { * } } "The second time play the measure as " \raise #0.5 \score { \new Staff \with { \remove "Time_signature_engraver" fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3) \override StaffSymbol.thickness = #(magstep -3) firstClef = ##f } \fixed c' {f2 e4} \layout { indent = 0\cm ragged-last = ##t} } } e2 f4 c c c } Is there any way to put all the code related to the footnote in a variable? For example if possible I would like to write something like this: \version "2.19.81" \fixed c' { \time 3/4 c c c \myfootnote e2 f4 c c c } and of course myfootnote = { \once \override Score.FootnoteItem.annotation-line = ##f \footnote \markup\huge { * } #'(0 . 5) \markup {\lower #0.8 { \super { * } } "The second time play the measure as " \raise #0.5 \score { \new Staff \with { \remove "Time_signature_engraver" fontSize = #-3 \override StaffSymbol.staff-space = #(magstep -3) \override StaffSymbol.thickness = #(magstep -3) firstClef = ##f } \fixed c' {f2 e4} \layout { indent = 0\cm ragged-last = ##t} } } } Thank you, g.
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user