lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat sign in stanzas below score


From: Simon Albrecht
Subject: Re: Repeat sign in stanzas below score
Date: Mon, 24 Apr 2017 19:42:58 +0200

Am 24.04.2017 um 15:25 schrieb Gregor Buchholz:
Is there a way to get some nice repeat signs printed in the text?

I don’t know if there is anything easier than this:

%%%%%%%%%%%%%%%%
repeatBarMarkupClose =
\markup {
  \raise #.6
  \with-dimensions #'(-.5 . .8) #'(-1.6 . 1.6)
  \score {
    \layout {
      indent = -7
    }
    \new Staff \with {
      \hide StaffSymbol
      \remove Clef_engraver
      \remove Note_heads_engraver
      \remove Time_signature_engraver
      \remove Key_engraver
    } \repeat volta 2 { \once\omit BarLine s }
  }
}
repeatBarMarkupOpen = \markup \rotate #180 \repeatBarMarkupClose

\markup {
  \repeatBarMarkupOpen
  test
  \repeatBarMarkupClose
}
%%%%%%%%%%%%%%%%

(tested only with 2.19.58)
The negative indent is something of a hack, of course. But it works :-)
Maybe you’ll want to scale it.

- I could not find a repeat sign here: http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font

That’s because the repeat signs are drawn as bar lines by the Bar_line_engraver, to match the staff.

Best, Simon



reply via email to

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