Re: Globally Increase Padding Between Text and Box?
brin solomon <[email protected]> Fri, 31 Jul 2026 10:41:58 -0400
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CAMJUgPThgXC9w7Vr-vTc+cBqHgbx0mXDmZhDPUrsiJPb-xh52w@mail.gmail.com> |
--0000000000008511aa0657e931b0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2026 at 10:34=E2=80=AFAM Thomas Morley <thomasmorley65@gmai= l.com> wrote: > Am Fr., 31. Juli 2026 um 16:21 Uhr schrieb brin solomon < > [email protected]>: > > > > > > > > On Fri, Jul 31, 2026 at 10:13=E2=80=AFAM Thomas Morley <thomasmorley65@= gmail.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. > > Attached works here. > Hm, OK, that file works for me too. Must be something else funky with my setup that's overriding it somehow. I'll play around with commenting things out until I get it working. 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" --0000000000008511aa0657e931b0 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:34=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:21 Uhr sch= rieb brin solomon <<a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a>>:<br> ><br> ><br> ><br> > On Fri, Jul 31, 2026 at 10:13=E2=80=AFAM Thomas Morley <<a href=3D"= mailto:[email protected]" target=3D"_blank">[email protected]= </a>> wrote:<br> >><br> >> Am Fr., 31. Juli 2026 um 16:12 Uhr schrieb brin solomon <<a hre= f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;:<br> >><br> >> >> Lukas pointed you to the general command you requested.<b= r> >> >> 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 \etc<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?<br> >><br> >> Nope, usually toplevel.<br> ><br> ><br> > 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 no= t compile.<br> <br> Attached works here.<br> </blockquote></div><div><br></div><div>Hm, OK, that file works for me too. = Must be something else funky with my setup that's overriding it somehow= . I'll play around with commenting things out until I get it working. T= hanks!<br><br></div><div>brin</div><br><span class=3D"gmail_signature_prefi= x">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">And she forgot = the stars, the moon, and sun,<br>And she forgot the blue above the trees,<b= r>And she forgot the dells where waters run,<br>And she forgot the chilly a= utumn breeze...<br><div><br></div><div>=E2=80=94 Keats, "Isabella, or = the Pot of Basil"</div></div></div> --0000000000008511aa0657e931b0--