Am 07.02.2013 22:46, schrieb Peter Crighton:
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 <m...@hohlart.de>:
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.
}
}
here's a slightly simplified version where you can reuse the created markup:
\version "2.17.11"
mySign = \markup \score {
\new Staff \with { fontSize = #-6 }
{ \bar ".|:" }
\layout {
indent = 0
\context {
\Staff
\override StaffSymbol #'staff-space = #(magstep -6)
\override StaffSymbol #'thickness = #(magstep -6)
\override StaffSymbol #'stencil = ##f
\remove Clef_engraver
\remove Key_engraver
\remove Time_signature_engraver
}
}
}
\markup \line {
{ Here is a
\raise #1.75
\mySign
followed by some text.
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user