Status: Accepted
Owner: ----
Labels: Type-Enhancement
New issue 3164 by [email protected]: add a function to put bar lines, repeat
signs, etc. inside a text markup
http://code.google.com/p/lilypond/issues/detail?id=3164
add a function to put bar lines, repeat signs, etc. inside a text markup
see the up-to-now discussion in
http://lilypond.1069038.n5.nabble.com/Repeat-signs-bar-lines-in-markup-td140533.html
summary: although it is possible to create such markups with a \markup
\score {…} construction, like
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.
}
}
but this is not scalable.
Thomas Morley has proposed a markup-command that would achieve this (see
the link above)
the request now is to incorporate this or a more elaborated function (also
treating dashed, dotted, etc bar lines) into the LilyPond source.
David Kastrup also proposes: "Maybe \markup \score ... should be using a
layout definition taking into account current sizes and/or settings?"