Re: How to Mimic LilyPond \markup \justify in LaTeX
Gabriel Ellsworth <[email protected]> Wed, 22 Jul 2026 15:39:32 +0100
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CAHavgtUX_=VSTCRu5Ei2JdKchZRz8B6DBaGx=JHNvE=VZRXZZw@mail.gmail.com> |
--0000000000003a75c60657341dee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 25 Jun 2026, Gabriel Ellsworth wrote: > On Thu, 25 Jun 2026, Werner LEMBERG wrote: > >> > As a workaround, I=E2=80=99ve drafted a simple LaTeX file to typeset a >> > paragraph for me using Knuth-Plass, with formatting identical to >> > what I use in LilyPond. I used LuaLaTeX as compiler. Please see the >> > attached PDF. The code is below. >> >> This is a nice idea! >> > > Thank you, Werner! > > I=E2=80=99d like to turn this LaTeX code into a snippet for the Wiki afte= r I > refine it with help from this list. > Here is a new snippet on the Wiki: https://wiki.lilypond.community/wiki/Using_LaTeX_to_get_better_typesetting_= of_justified_text I hope this is helpful. Please share any relevant feedback! Gabriel --0000000000003a75c60657341dee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div><span style=3D"background-color:tran= sparent">On Thu, 25 Jun 2026, Gabriel Ellsworth wrote:</span></div></div><d= iv class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_q= uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2= 04);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div><span style=3D= "background-color:transparent">On Thu, 25 Jun 2026, Werner LEMBERG wrote:</= span></div></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"> > As a workaround, I=E2=80=99ve drafted a simple LaTeX file to typeset a= <br> > paragraph for me using Knuth-Plass, with formatting identical to<br> > what I use in LilyPond. I used LuaLaTeX as compiler.=C2=A0 Please see = the<br> > attached PDF.=C2=A0 The code is below.<br> <br> This is a nice idea!<br></blockquote><div><br></div><span id=3D"m_490572644= 4367427332gmail-docs-internal-guid-4cb62c6e-7fff-72ca-b349-827bbafd2adb"><p= dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><s= pan style=3D"font-size:12pt;font-family:Garamond,serif;color:rgb(0,0,0);bac= kground-color:transparent;font-variant:normal;vertical-align:baseline;white= -space:pre-wrap">Thank you, Werner!</span></p><br><p dir=3D"ltr" style=3D"l= ine-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style=3D"font-size:= 12pt;font-family:Garamond,serif;color:rgb(0,0,0);background-color:transpare= nt;font-variant:normal;vertical-align:baseline;white-space:pre-wrap">I=E2= =80=99d like to turn this LaTeX code into a snippet for the Wiki after I re= fine it with help from this list.</span></p></span></div></div></blockquote= ><div><br></div><div><span id=3D"gmail-docs-internal-guid-28122944-7fff-09e= 5-08d2-8af4726df230"><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0p= t;margin-bottom:0pt"><span style=3D"font-size:12pt;font-family:Garamond,ser= if;color:rgb(0,0,0);background-color:transparent;font-variant:normal;vertic= al-align:baseline;white-space:pre-wrap">Here is a new snippet on the Wiki:<= /span></p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margi= n-bottom:0pt"><a href=3D"https://wiki.lilypond.community/wiki/Using_LaTeX_t= o_get_better_typesetting_of_justified_text" style=3D"text-decoration:none">= <span style=3D"font-size:12pt;font-family:Garamond,serif;background-color:t= ransparent;font-variant:normal;text-decoration:underline;vertical-align:bas= eline;white-space:pre-wrap">https://wiki.lilypond.community/wiki/Using_LaTe= X_to_get_better_typesetting_of_justified_text</span></a></p><br><p dir=3D"l= tr" style=3D"line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style= =3D"font-size:12pt;font-family:Garamond,serif;color:rgb(0,0,0);background-c= olor:transparent;font-variant:normal;vertical-align:baseline;white-space:pr= e-wrap">I hope this is helpful. Please share any relevant feedback!</span><= /p><br><p dir=3D"ltr" style=3D"line-height:1.38;margin-top:0pt;margin-botto= m:0pt"><span style=3D"font-size:12pt;font-family:Garamond,serif;color:rgb(0= ,0,0);background-color:transparent;font-variant:normal;vertical-align:basel= ine;white-space:pre-wrap">Gabriel</span></p></span></div></div></div> --0000000000003a75c60657341dee--