Re: Globally Increase Padding Between Text and Box?
brin solomon <[email protected]> Fri, 31 Jul 2026 10:04:27 -0400
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CAMJUgPQYkAk3ByVhVmJa=ZHgeSh5nfdzH18+8jNd4m1OMw1VeA@mail.gmail.com> |
--00000000000050f8350657e8aba6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2026 at 9:53=E2=80=AFAM Lukas-Fabian Moser <[email protected]> wro= te: > 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-command= s), > > > 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 =3D 2 > } > > I'm not really sure whether this is documented clearly enough. > > Lukas > > Ah thanks, that works perfectly! I never would have thought to try that in a million years. Thanks, brin --=20 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... =E2=80=94 Keats, "Isabella, or the Pot of Basil" --00000000000050f8350657e8aba6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jul 31,= 2026 at 9:53=E2=80=AFAM Lukas-Fabian Moser <<a href=3D"mailto:[email protected]= e">[email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">Hi Brin,<br> <br> > \markup { \box "some text" }<br> ><br> > Looking at it as it renders in 2.26.0, the box is a little close to <b= r> > the text for my taste. In the markup appendix of the notation manual <= br> > (<a href=3D"https://lilypond.org/doc/v2.26/Documentation/notation/text= -markup-commands" rel=3D"noreferrer" target=3D"_blank">https://lilypond.org= /doc/v2.26/Documentation/notation/text-markup-commands</a>), <br> > I can see that inside a \markup block, it's possible to override <= br> > box-padding to adjust this property. My question: Is there a way to do= <br> > this globally for the entire score at once? There are dozens of these = <br> > boxed items in the score I'm working on, and it would be a real pa= in <br> > to go in and adjust each one individually.<br> <br> You can do:<br> <br> \paper {<br> =C2=A0=C2=A0 property-defaults.box-padding =3D 2<br> }<br> <br> I'm not really sure whether this is documented clearly enough.<br> <br> Lukas<br> <br> </blockquote></div><div><br></div><div>Ah thanks, that works perfectly! I n= ever would have thought to try that in a million years.=C2=A0</div><div><br= ></div><div>Thanks,</div><div>brin</div><br><span class=3D"gmail_signature_= prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">And she fo= rgot the stars, the moon, and sun,<br>And she forgot the blue above the tre= es,<br>And she forgot the dells where waters run,<br>And she forgot the chi= lly autumn breeze...<br><div><br></div><div>=E2=80=94 Keats, "Isabella= , or the Pot of Basil"</div></div></div> --00000000000050f8350657e8aba6--