Is there a single command for vertical padding in LilyPond markup?
The documentation for markup alignment lists two essentially different padding commands: pad-around or pad-markup, which adds the same amount of space all around the element, and pad-x, which adds left and right padding while leaving the top and bottom unpadded.
Is there any one command that only adds vertical padding? Or do I need to do something like
pad-around #0 .5 pad-x #-0.5 { STUFF }
to achieve that?
ETA: My overarching goal is to correctly white out the parts of bar lines that would otherwise intersect with expressive marks, like so:
The full code can be found here at LilyBin.
2 Comments
Sorted by latest first Latest Oldest Best
This is a late answer, but are you familiar with the /whiteout command? It's a pre-defined tool that explicitly handles your "overarching" goal of barlines interfering with expressive marks. Something like d^markup { italic whiteout { sostenuto } } will do the trick:
Full code here at LilyBin.
Terms of Use Privacy policy Contact About Cancellation policy © freshhoot.com2025 All Rights reserved.