bug-lilypond
[Top][All Lists]
Advanced

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

Re: Text above repeat signs


From: david morawski
Subject: Re: Text above repeat signs
Date: Thu, 1 May 2014 14:13:20 -0500

Thank you, Federico. Changing your code to

        \once \override Score.RehearsalMark #'break-visibility =
#end-of-line-visible
        \once \override Score.RehearsalMark #'self-alignment-X = #RIGHT

worked for me. Is this considered a best practice? It would be nice to have
an easy, consistent method for labeling repeats without having to worry
about which line they are going to end up on.


On Thu, May 1, 2014 at 1:40 PM, Federico Bruni <address@hidden> wrote:

> 2014-05-01 20:27 GMT+02:00 David Morawski <address@hidden>:
>
>> > I'm not top posting.
>>
>> Hello,
>>
>> I'm having trouble putting text above repeat signs, specifically when the
>> :|
>> symbol precedes a linebreak. In the following example, the text ("3x")
>> that
>> should belong to the first :| gets pushed on top of the |: of the next
>> volta
>> repeat.
>>
>> \version "2.14.2"
>> \score {
>>     \new DrumStaff {
>>         \time 3/4
>>         \repeat volta 3 { \drummode { \repeat unfold 24 bd4 } }\mark
>> \markup
>> {"3x"}
>>         \repeat volta 3 { \drummode { \repeat unfold 24 bd4 } }\mark
>> \markup
>> {"3x"}
>>     }
>>     \header {
>>         piece = "Prelude."
>>     }
>> }
>>
>> Screenshot here: http://imagebin.org/308538
>>
>>
> You can use the following overrides:
>
>  \score {
>   \new DrumStaff {
>     \time 3/4
>     \repeat volta 3 { \drummode { \repeat unfold 24 bd4 } }
>     \once \override Score.RehearsalMark.break-visibility =
> #end-of-line-visible
>     \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
>     \mark \markup {"3x"}
>     \repeat volta 3 { \drummode { \repeat unfold 24 bd4 } }\mark \markup
>     {"3x"}
>   }
>   \header {
>     piece = "Prelude."
>   }
> }
>


reply via email to

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