Re: Globally Increase Padding Between Text and Box?
Lukas-Fabian Moser <[email protected]> Fri, 31 Jul 2026 15:53:49 +0200
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Brin,
> \markup { \box "some text" }
>
> Looking at it as it renders in 2.26.0, the box is a little close to=20
> the text for my taste. In the markup appendix of the notation manual=20
> (https://lilypond.org/doc/v2.26/Documentation/notation/text-markup-comma=
nds),=20
> I can see that inside a \markup block, it's possible to override=20
> box-padding to adjust this property. My question: Is there a way to do=
=20
> this globally for the entire score at once? There are dozens of these=20
> boxed items in the score I'm working on, and it would be a real pain=20
> to go in and adjust each one individually.
You can do:
\paper {
=C2=A0 property-defaults.box-padding =3D 2
}
I'm not really sure whether this is documented clearly enough.
Lukas