Javier Ruiz-Alma <javier <at> ruiz-alma.com> writes:
> Need troubleshooting help with a two-line markup block.
>
If you can make a *single* block that has the same height as a
two-line column, then there is no trouble with the gap.
Somebody better at LilyPond' s markup language might be able to do this
more simply, using predefined functions. I could only find this
\version "2.18.2"
#(define-markup-command (barstrut layout props w arg)
(number? markup?)
#:properties ((font-size 0))
"Draw a filled box of width @var{w} scaled by font size,
height matching @var{arg}."
(let* ((t (* (magstep font-size) w))
(m (interpret-markup layout props arg))
(x (cons (- t) t))
(y (ly:stencil-extent m Y) ))
(ly:round-filled-box x y 0)))
#(set-global-staff-size 30)
\markup \abs-fontsize #9 \line {
\center-column { "left 1" "mouses" }
\barstrut #0.2 \center-column { "É" "j" }
\abs-fontsize #9 \column { "line 1" "line 2" }
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user