Kieren MacMillan <[email protected]> writes:

> Hello again,
>
> Here’s what I’ve cobbled together, with no real understanding of what these 
> things actually do…  ;)
>
> \layout {
>   \context {
>     \type "Engraver_group"
>     \name "TextLine"
>     \consists "Collision_engraver"
>     \consists "Axis_group_engraver"
>     \consists "Separating_line_group_engraver"
>     \consists "Text_spanner_engraver"
>     \consists "Text_engraver"
>     \override TextScript.baseline-skip = #2.25
>   }
>   \context {
>     \Score
>     \accepts TextLine
>   }
> }
>
> Seems to work reasonably well, with one exception [so far]: it takes up 
> vertical space even when there’s nothing in the context.
> How can I get it to “hara-kiri” when it’s empty? (n.b., I couldn’t
> find a hara-kiri-engraver or similar anywhere…)

It's folded into Axis_group_engraver, so you just need to set
remove-empty and remove-first to ##t.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to