[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: segno/coda in lyrics
From: |
Alexander Kobel |
Subject: |
Re: segno/coda in lyrics |
Date: |
Tue, 15 Nov 2016 13:51:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 |
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