On 2016-11-15 12:28, Henning Hraban Ramm wrote:
Ahoi!
I’ve some variations in a song, so that one verse uses a different ending
melody. I’d like to mark that with segno/coda signs, like this:
textIII = \lyricmode {
\repeat unfold 7 { " " }
blah blah blah
% \override Score.RehearsalMark.font-size = #3
% \override Score.RehearsalMark.extra-offset = #'( 2 . -1.75 )
and here the ly -- \markup { rics \musicglyph #"scripts.segno" }
\repeat unfold 14 { " " }
\markup { \musicglyph #"scripts.coda" con -- } tin -- ue else -- where.
}
That works so far, but the signs are too big, and too low. I’d like them in
captital height on the text line.
The commented overrides don’t work – what’s wrong?
Hi Hraban,
the overrides apply to RehearsalMarks that are part of the score.
However, the symbols you added are just characters in a different font
(Feta/Emmentaler) that are in a LyricText.
What you should do here is to simply adjust the fontsize with the usual
fontsize markup commands:
\score {
<<
\new Voice = "sop" { \repeat unfold 8 c' }
\new Lyrics \lyricsto "sop" {
A B C D
\markup { \general-align #Y #DOWN \fontsize #-5 \musicglyph
#"scripts.segno" E }
\markup { \general-align #Y #-0.7 \fontsize #-2 \musicglyph
#"scripts.coda" F }
}
>>
}
The \general-align #Y #DOWN adjusts the vertical position.
Unfortunately, I don't think you can easily have a "baseline alignment"
and/or set the size to "match the height of capitals", since the symbols
in the music font are designed to have sizes matched relative to each
other (read: to note heads etc.) and not to a standard text font. So
you'll have to experiment a bit there.
Cheers,
Alexander
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user