Hmm, that doesn’t work for me, and I can’t see why. I’m just using
\raise #0.25 \concat { \bold "|" |: }
now. That looks good enough for what I need.
But thanks for your answer anyway!
Peter
--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de
2013/2/7 Marc Hohl <address@hidden>:
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.
}
}