lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeat signs / bar lines in markup


From: Marc Hohl
Subject: Re: Repeat signs / bar lines in markup
Date: Thu, 07 Feb 2013 21:49:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

Am 06.02.2013 18:46, schrieb Peter Crighton:
Hi List,

is there some way to put bar lines, or more specifically repeat signs,
inside a text markup? Other than recreating them with the help of
\draw-line and \draw-circle?
I found a rather clumsy workaround:

\markup {
  \line {
    Here is a \hspace #-5
    \raise #1.75 {
      \score {
        \new Staff
        \with {
          fontSize = #-6
        }
        { s32 \bar ".|:" s32 }
        \layout {
           ragged-right= ##t
           indent = 0
           \context {
             \Staff
             \override StaffSymbol #'staff-space = #(magstep -6)
             \override StaffSymbol #'thickness = #(magstep -6)
             \override StaffSymbol #'transparent = ##t
             \remove "Clef_engraver"
             \remove "Time_signature_engraver"
           }
         }
     }
   }
   \hspace #-3.5 followed by some text.
   }
 }

HTH a bit,

Marc

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user





reply via email to

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