Hi,
Trying to apply some gracefully given code to handle exotic layouts
(cf. Vertical text at the end of score messages on the user
mailing-list), I found a strange behaviors while using figured bass.
%%%
endingText =
#(define-music-function (parser location user-markup) (markup?)
#{
\stopStaff
\once \override TextScript #'staff-padding= #'() % allows
text scripts "in the staff"
\once \override TextScript #'padding = #-2% 2 to
align with the lowest staff-line, ~3.5 to align with system brackets
\once \override TextScript #'self-alignment-X = #left
s64^\markup {
\rotate #90
\fontsize #-3
\override #'(baseline-skip . 1.1) % varying depending on
vertical spacing
\override #'(line-width . 22) % varying depending on
vertical spacing
$user-markup
}
#})
\score {
\new StaffGroup <<
\new Staff { R1 }
\new Staff { R1 }
\new Staff <<
\new Voice {
\relative c'' { c2 c, }
\bar "|."
\endingText \markup {
\justify-string #"Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua." }
}
\new FiguredBass {
\figuremode { <_+>2 <1 2> }
}
>>
>>
\header { piece = good }
}
\score {
\new StaffGroup <<
\new Staff { R1 }
\new Staff { R1 }
\new Staff <<
\figures { <_+>2 <1 2> }
\relative c'' { c2 c, }
\bar "|."
\endingText \markup {
\justify-string #"Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua." }
>>
>>
\header { piece = "broken?" }
}
%%%
--
Dominique
___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel