lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change the text within a volta


From: Wols Lists
Subject: Re: Change the text within a volta
Date: Sat, 30 Dec 2017 01:30:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

On 29/12/17 22:32, nokel81 wrote:
> Yes, I tried using the raw tag, I guess it didn't work.
> 
> \omit Score.BarLine
> \repeat volta 3 {}
> \alternative {
>       {}
>       {
>               \undo \omit Score.BarLine
>               \bar "|"
>               f2
>               \bar "|"
>       }
>       {
>               f4( ees c) ees ees( f) f2 f
>       }
> }
> 
Not a minimal example, it won't compile on its own, but I think this
does what you're after. I have a couple of voltae, and there's different
text for them.

voiceMarkup =  {
        s1*4 \bar "||" \mark \markup { \musicglyph #"scripts.segno" }
        s1*15

        \override Staff.VoltaBracket #'font-name = #"sans"
        \set Score.repeatCommands = #'((volta "No repeat"))
        { s1 \bar "||" }
        \set Score.repeatCommands = #'((volta #f) \text (volta "To Trio")
end-repeat)
        { s1 \bar "||" \mark \markup { \musicglyph #"scripts.ufermata" } }
        \set Score.repeatCommands = #'((volta #f))

        s1*16
        { \mark \markup { \musicglyph #"scripts.segno" } } \noBreak
        \stopStaff \cadenzaOn s32 _\markup { \right-align "D.S. al Trio" }
s2.... \cadenzaOff \startStaff
        { \mark \markup { "Trio" } }
        s1*4 \bar "||"
        s1*16
        \repeat volta 2 {
        s1*15 } \alternative { { s1 } { s1 _\markup { "D.C." } } }
}

Cheers,
Wol




reply via email to

[Prev in Thread] Current Thread [Next in Thread]