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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



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

Reply via email to