On Fri, Jul 31, 2026 at 10:09 AM Thomas Morley <[email protected]> wrote:
> Am Fr., 31. Juli 2026 um 15:54 Uhr schrieb Lukas-Fabian Moser <[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 > > > the text for my taste. In the markup appendix of the notation manual > > > ( > https://lilypond.org/doc/v2.26/Documentation/notation/text-markup-commands > ), > > > I can see that inside a \markup block, it's possible to override > > > box-padding to adjust this property. My question: Is there a way to do > > > this globally for the entire score at once? There are dozens of these > > > boxed items in the score I'm working on, and it would be a real pain > > > to go in and adjust each one individually. > > > > You can do: > > > > \paper { > > property-defaults.box-padding = 2 > > } > > > > I'm not really sure whether this is documented clearly enough. > > > > Lukas > > > > > > Lukas pointed you to the general command you requested. > It will affect both \box and \rounded-box. > > You could also redefine one of them to distinguish them. > We have a nice and concise syntax: > \markup box = \markup \override #'(box-padding . 5) \box \etc > \markup { \box "some text" } > \markup { \rounded-box "some text" } > > Cheers, > Harm > Hi Harm, Ah, I see, that's helpful! Do these also go in the \paper block? Thanks, brin -- And she forgot the stars, the moon, and sun, And she forgot the blue above the trees, And she forgot the dells where waters run, And she forgot the chilly autumn breeze... — Keats, "Isabella, or the Pot of Basil"
