Re: Globally Increase Padding Between Text and Box?
brin solomon <[email protected]> Fri, 31 Jul 2026 10:21:35 -0400
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CAMJUgPSMRf=5AfXdWnL4J7iJpm_rQ_uEHN-7eVPPpZfHz9p=5g@mail.gmail.com> |
--000000000000a0b3620657e8e82c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2026 at 10:13=E2=80=AFAM Thomas Morley <thomasmorley65@gmai= l.com> wrote: > Am Fr., 31. Juli 2026 um 16:12 Uhr schrieb brin solomon < > [email protected]>: > > >> 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 #'(box-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 compile. --=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" --000000000000a0b3620657e8e82c 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 10:13=E2=80=AFAM Thomas Morley <<a href=3D"mailto:thomasmorley6= [email protected]">[email protected]</a>> wrote:<br></div><blockquote c= lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli= d rgb(204,204,204);padding-left:1ex">Am Fr., 31. Juli 2026 um 16:12 Uhr sch= rieb brin solomon <<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>>:<br> <br> >> Lukas pointed you to the general command you requested.<br> >> It will affect both \box and \rounded-box.<br> >><br> >> You could also redefine one of them to distinguish them.<br> >> We have a nice and concise syntax:<br> >> \markup box =3D \markup \override #'(box-padding . 5) \box \et= c<br> >> \markup { \box "some text" }<br> >> \markup { \rounded-box "some text" }<br> >><br> >> Cheers,<br> >>=C2=A0 =C2=A0Harm<br> ><br> ><br> > Hi Harm,<br> ><br> > Ah, I see, that's helpful! Do these also go in the \paper block?<b= r> <br> Nope, usually toplevel.<br> </blockquote></div><div><br clear=3D"all"></div>Could you clarify? I tried = putting \markup box =3D \markup \override #'(box-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 compile.<div><span class=3D"gm= ail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signatu= re">And she forgot the stars, the moon, and sun,<br>And she forgot the blue= above the trees,<br>And she forgot the dells where waters run,<br>And she = forgot the chilly autumn breeze...<br><div><br></div><div>=E2=80=94 Keats, = "Isabella, or the Pot of Basil"</div></div></div></div> --000000000000a0b3620657e8e82c--