Pablo Cordal <pablocor...@gmail.com> writes: > Hi everyone, > > I'm trying to add a markup in the first chord of this music (but I get an > error) > > How can I add ^\markup {"Var. 1"} to the first chord? > > Thank you very much in advance. Best regards > > \version "2.18.2" > #(ly:set-option 'midi-extension "midi") > > \score { > << > \new StaffGroup > << > \new Staff { > \set Staff.instrumentName = #"Variciones" > \set Staff.midiInstrument = #"acoustic grand" > \clef "bass" > \override Score.MetronomeMark.self-alignment-X = 1.5 > \override Score.MetronomeMark.Y-offset = 3.5 > \override Score.BarNumber.break-visibility = ##(#f #f #f) > \time 4/4 > \numericTimeSignature > \tempo 4 = 70 > > \chordmode { > > c,,1:3.5.8 c,,2:3.5.8 d,,2:3.5.8 e,,4:3.5.8 f,,2/+c:3.5.8 r4 \bar "|." > > } > } > >> > >> > > \layout { indent = #15 } > \midi { } > > }
Well, in 2.20 you could distastefully cheat your way around using
\version "2.18.2" #(ly:set-option 'midi-extension "midi") \score { << \new StaffGroup << \new Staff { \set Staff.instrumentName = #"Variciones" \set Staff.midiInstrument = #"acoustic grand" \clef "bass" \override Score.MetronomeMark.self-alignment-X = 1.5 \override Score.MetronomeMark.Y-offset = 3.5 \override Score.BarNumber.break-visibility = ##(#f #f #f) \time 4/4 \numericTimeSignature \tempo 4 = 70 \chordmode { c,,1:3.5.8\tweak direction #UP _\markup Hi c,,2:3.5.8 d,,2:3.5.8 e,,4:3.5.8 f,,2:3.5.8/+c r4 \bar "|." } } >> >> \layout { indent = #15 } \midi { } }
In short: the design of chord syntax did not really think all too much about what may happen to ^ and - in the process. -- David Kastrup