Re: Globally Increase Padding Between Text and Box?
Thomas Morley <[email protected]> Fri, 31 Jul 2026 16:34:24 +0200
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CABsfGyUojCz-HxEiOtuMp_unTU_w6m8=AmRG=v-B8kSHOSRiVg@mail.gmail.com> |
--000000000000739eac0657e91696 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Fr., 31. Juli 2026 um 16:21 Uhr schrieb brin solomon <[email protected]= m>: > > > > On Fri, Jul 31, 2026 at 10:13=E2=80=AFAM Thomas Morley <thomasmorley65@gm= ail.com> wrote: >> >> Am Fr., 31. Juli 2026 um 16:12 Uhr schrieb brin solomon <amphion13@gmail= .com>: >> >> >> 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 =3D \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? >> >> Nope, usually toplevel. > > > Could you clarify? I tried putting \markup box =3D \markup \override #'(b= ox-padding . 5) \box \etc outside the \score block and there was no effect,= but when I tried putting it inside the \score block the file did not compi= le. Attached works here. --000000000000739eac0657e91696 Content-Type: text/x-lilypond; charset="US-ASCII"; name="atest-123.ly" Content-Disposition: attachment; filename="atest-123.ly" Content-Transfer-Encoding: base64 Content-ID: <f_ms91lwip0> X-Attachment-Id: f_ms91lwip0 XHZlcnNpb24gIjIuMjYuMCIKClxtYXJrdXAgYm94ID0gXG1hcmt1cCBcb3ZlcnJpZGUgIycoYm94 LXBhZGRpbmcgLiA1KSBcYm94IFxldGMKClxzY29yZSB7Cgl7CgkJYi1cbWFya3VwIHsgXGJveCAi c29tZSB0ZXh0IiB9Cgl9Cn0= --000000000000739eac0657e91696--