bug-lilypond
[Top][All Lists]
Advanced

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

Re: Text above repeat signs


From: Federico Bruni
Subject: Re: Text above repeat signs
Date: Thu, 1 May 2014 20:40:59 +0200

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]