Why Does Word Spacing Change Drastically When Using Libertine/Libertinus with the Various LaTeX Engines?
Clash Royale CLAN TAG#URR8PPP
up vote
15
down vote
favorite
I was just messing around in LaTeX with the libertine
and libertinus
packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except spacing in paragraphs slightly changed.
What is causing this? Is there any âÂÂcorrectâ output?
At first I thought it had to do with the fact that libertinus
switches from Type 1 encoding with pdfLaTeX and OpenType with XeLaTeX/LuaLaTeX (not sure if libertine
works in the same way), but even the outputs from XeLaTeX and LuaLaTeX are different.
documentclassturabian-researchpaper
usepackagebiblatex-chicago
usepackageturabian-formatting
usepackage[pass,letterpaper]geometry
usepackagelibertine % or libertinus %
begindocument
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
footnoteBefore you start an unrelated argument, I'm not actually anti-technology like
this might suggest. This was an essay written to appease an English teacher.
enddocument
Sorry if this isn't minimal enough. I couldn't find a way reproduce the issue without these words and packages.
This GIF demonstrates the differences between pdfLaTeX, XeLaTeX, and LuaLaTeX.
(Added by David Carlisle) test file just using article class but the same width and font settings as in the original example, it shows the same three output variants for pdf/xe/lua latex as the original but has less dependencies so a bit easier to trace (perhaps)
documentclass[12pt]article
usepackagelibertine % or libertinus %
setlengthtextwidth469.755pt
setlengthparindent36.135pt
addtolengthoddsidemargin-1cm
begindocument
typeoutthefont
typeoutthefontdimen2font % space
typeoutthefontdimen3font % stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
enddocument
xetex luatex libertine letterspacing libertinus
add a comment |Â
up vote
15
down vote
favorite
I was just messing around in LaTeX with the libertine
and libertinus
packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except spacing in paragraphs slightly changed.
What is causing this? Is there any âÂÂcorrectâ output?
At first I thought it had to do with the fact that libertinus
switches from Type 1 encoding with pdfLaTeX and OpenType with XeLaTeX/LuaLaTeX (not sure if libertine
works in the same way), but even the outputs from XeLaTeX and LuaLaTeX are different.
documentclassturabian-researchpaper
usepackagebiblatex-chicago
usepackageturabian-formatting
usepackage[pass,letterpaper]geometry
usepackagelibertine % or libertinus %
begindocument
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
footnoteBefore you start an unrelated argument, I'm not actually anti-technology like
this might suggest. This was an essay written to appease an English teacher.
enddocument
Sorry if this isn't minimal enough. I couldn't find a way reproduce the issue without these words and packages.
This GIF demonstrates the differences between pdfLaTeX, XeLaTeX, and LuaLaTeX.
(Added by David Carlisle) test file just using article class but the same width and font settings as in the original example, it shows the same three output variants for pdf/xe/lua latex as the original but has less dependencies so a bit easier to trace (perhaps)
documentclass[12pt]article
usepackagelibertine % or libertinus %
setlengthtextwidth469.755pt
setlengthparindent36.135pt
addtolengthoddsidemargin-1cm
begindocument
typeoutthefont
typeoutthefontdimen2font % space
typeoutthefontdimen3font % stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
enddocument
xetex luatex libertine letterspacing libertinus
4
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
Another unrelated note on your initial example using theturabian-formatting
package: you don't need to (nor should you) specifyusepackageturabian-formatting
. Simply loading theturabian-researchpaper
document class will create a turabian-formatted research paper.
â Omar
Sep 10 at 1:06
add a comment |Â
up vote
15
down vote
favorite
up vote
15
down vote
favorite
I was just messing around in LaTeX with the libertine
and libertinus
packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except spacing in paragraphs slightly changed.
What is causing this? Is there any âÂÂcorrectâ output?
At first I thought it had to do with the fact that libertinus
switches from Type 1 encoding with pdfLaTeX and OpenType with XeLaTeX/LuaLaTeX (not sure if libertine
works in the same way), but even the outputs from XeLaTeX and LuaLaTeX are different.
documentclassturabian-researchpaper
usepackagebiblatex-chicago
usepackageturabian-formatting
usepackage[pass,letterpaper]geometry
usepackagelibertine % or libertinus %
begindocument
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
footnoteBefore you start an unrelated argument, I'm not actually anti-technology like
this might suggest. This was an essay written to appease an English teacher.
enddocument
Sorry if this isn't minimal enough. I couldn't find a way reproduce the issue without these words and packages.
This GIF demonstrates the differences between pdfLaTeX, XeLaTeX, and LuaLaTeX.
(Added by David Carlisle) test file just using article class but the same width and font settings as in the original example, it shows the same three output variants for pdf/xe/lua latex as the original but has less dependencies so a bit easier to trace (perhaps)
documentclass[12pt]article
usepackagelibertine % or libertinus %
setlengthtextwidth469.755pt
setlengthparindent36.135pt
addtolengthoddsidemargin-1cm
begindocument
typeoutthefont
typeoutthefontdimen2font % space
typeoutthefontdimen3font % stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
enddocument
xetex luatex libertine letterspacing libertinus
I was just messing around in LaTeX with the libertine
and libertinus
packages, and noticed that switching from LaTeX to XeLaTex to LuaLaTeX all produced PDFs that were mostly the same length, except spacing in paragraphs slightly changed.
What is causing this? Is there any âÂÂcorrectâ output?
At first I thought it had to do with the fact that libertinus
switches from Type 1 encoding with pdfLaTeX and OpenType with XeLaTeX/LuaLaTeX (not sure if libertine
works in the same way), but even the outputs from XeLaTeX and LuaLaTeX are different.
documentclassturabian-researchpaper
usepackagebiblatex-chicago
usepackageturabian-formatting
usepackage[pass,letterpaper]geometry
usepackagelibertine % or libertinus %
begindocument
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
footnoteBefore you start an unrelated argument, I'm not actually anti-technology like
this might suggest. This was an essay written to appease an English teacher.
enddocument
Sorry if this isn't minimal enough. I couldn't find a way reproduce the issue without these words and packages.
This GIF demonstrates the differences between pdfLaTeX, XeLaTeX, and LuaLaTeX.
(Added by David Carlisle) test file just using article class but the same width and font settings as in the original example, it shows the same three output variants for pdf/xe/lua latex as the original but has less dependencies so a bit easier to trace (perhaps)
documentclass[12pt]article
usepackagelibertine % or libertinus %
setlengthtextwidth469.755pt
setlengthparindent36.135pt
addtolengthoddsidemargin-1cm
begindocument
typeoutthefont
typeoutthefontdimen2font % space
typeoutthefontdimen3font % stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
Afraid of intimacy, we use technology to remove ourselves from the real world because we
believe more will listen to us when we are online. The internet and our phones become an
addiction that is hard to break. Although our technological habits change our personal
relationships for the worst, we continue the cycle of needing to text or post to social
media to feel validated. We have been blinded by our own emotions into thinking we need to
be online so we don't have to self-reflect, even though the situation is the opposite. This
is extremely harmful to our social skills, and we form habits that, before technology, most
would have called awkward or antisocial. We sit with our friends without interacting. We go
to cafés alone to do nothing but text. We spew hateful comments online through the barrier
of anonymity. However, the habit of checking your phone, posting to social media, and
commenting on content is extremely hard to break and needs patience and the willingness to
take breaks often. Technology does not need to always be wasting resources in the back of
your mind.
enddocument
xetex luatex libertine letterspacing libertinus
xetex luatex libertine letterspacing libertinus
edited Sep 7 at 15:54
David Carlisle
467k3810951819
467k3810951819
asked Sep 7 at 7:45
Mark Boltz
785
785
4
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
Another unrelated note on your initial example using theturabian-formatting
package: you don't need to (nor should you) specifyusepackageturabian-formatting
. Simply loading theturabian-researchpaper
document class will create a turabian-formatted research paper.
â Omar
Sep 10 at 1:06
add a comment |Â
4
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
Another unrelated note on your initial example using theturabian-formatting
package: you don't need to (nor should you) specifyusepackageturabian-formatting
. Simply loading theturabian-researchpaper
document class will create a turabian-formatted research paper.
â Omar
Sep 10 at 1:06
4
4
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
Another unrelated note on your initial example using the
turabian-formatting
package: you don't need to (nor should you) specify usepackageturabian-formatting
. Simply loading the turabian-researchpaper
document class will create a turabian-formatted research paper.â Omar
Sep 10 at 1:06
Another unrelated note on your initial example using the
turabian-formatting
package: you don't need to (nor should you) specify usepackageturabian-formatting
. Simply loading the turabian-researchpaper
document class will create a turabian-formatted research paper.â Omar
Sep 10 at 1:06
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
15
down vote
accepted
If you add
typeoutthefont
typeoutthefontdimen2font %space
typeoutthefontdimen3font %stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
after begindocument
then you will find
pdftex
OT1/LinuxLibertineT-TLF/m/n/12
3.0pt
1.5pt
0.99959pt
0.5004pt
xetex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
luatex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
Note that fontdimen7 (extra space after punctuation) ends up twice as large in the OpenType font as in the tfm metrics used by pdftex. I note the libertinus font suport had an update yesterday in texlive this is with the latest version of that package (and a development build of luatex 1.09) running over texlive 2018.
So the big difference between pdftex and the others is not surprising, it's harder to see an obvious reason for a difference between luatex and xetex other than luatex explicitly documents that it uses a variant hyphenation algorithm that doesn't always choose the same points even using the same patterns.
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX withlinertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.
â jfbu
Sep 7 at 8:46
2
@jfbu I added anarticle
class example to the question
â David Carlisle
Sep 7 at 15:54
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
 |Â
show 8 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
15
down vote
accepted
If you add
typeoutthefont
typeoutthefontdimen2font %space
typeoutthefontdimen3font %stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
after begindocument
then you will find
pdftex
OT1/LinuxLibertineT-TLF/m/n/12
3.0pt
1.5pt
0.99959pt
0.5004pt
xetex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
luatex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
Note that fontdimen7 (extra space after punctuation) ends up twice as large in the OpenType font as in the tfm metrics used by pdftex. I note the libertinus font suport had an update yesterday in texlive this is with the latest version of that package (and a development build of luatex 1.09) running over texlive 2018.
So the big difference between pdftex and the others is not surprising, it's harder to see an obvious reason for a difference between luatex and xetex other than luatex explicitly documents that it uses a variant hyphenation algorithm that doesn't always choose the same points even using the same patterns.
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX withlinertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.
â jfbu
Sep 7 at 8:46
2
@jfbu I added anarticle
class example to the question
â David Carlisle
Sep 7 at 15:54
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
 |Â
show 8 more comments
up vote
15
down vote
accepted
If you add
typeoutthefont
typeoutthefontdimen2font %space
typeoutthefontdimen3font %stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
after begindocument
then you will find
pdftex
OT1/LinuxLibertineT-TLF/m/n/12
3.0pt
1.5pt
0.99959pt
0.5004pt
xetex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
luatex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
Note that fontdimen7 (extra space after punctuation) ends up twice as large in the OpenType font as in the tfm metrics used by pdftex. I note the libertinus font suport had an update yesterday in texlive this is with the latest version of that package (and a development build of luatex 1.09) running over texlive 2018.
So the big difference between pdftex and the others is not surprising, it's harder to see an obvious reason for a difference between luatex and xetex other than luatex explicitly documents that it uses a variant hyphenation algorithm that doesn't always choose the same points even using the same patterns.
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX withlinertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.
â jfbu
Sep 7 at 8:46
2
@jfbu I added anarticle
class example to the question
â David Carlisle
Sep 7 at 15:54
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
 |Â
show 8 more comments
up vote
15
down vote
accepted
up vote
15
down vote
accepted
If you add
typeoutthefont
typeoutthefontdimen2font %space
typeoutthefontdimen3font %stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
after begindocument
then you will find
pdftex
OT1/LinuxLibertineT-TLF/m/n/12
3.0pt
1.5pt
0.99959pt
0.5004pt
xetex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
luatex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
Note that fontdimen7 (extra space after punctuation) ends up twice as large in the OpenType font as in the tfm metrics used by pdftex. I note the libertinus font suport had an update yesterday in texlive this is with the latest version of that package (and a development build of luatex 1.09) running over texlive 2018.
So the big difference between pdftex and the others is not surprising, it's harder to see an obvious reason for a difference between luatex and xetex other than luatex explicitly documents that it uses a variant hyphenation algorithm that doesn't always choose the same points even using the same patterns.
If you add
typeoutthefont
typeoutthefontdimen2font %space
typeoutthefontdimen3font %stretch
typeoutthefontdimen4font % shrink
typeoutthefontdimen7font % punct
after begindocument
then you will find
pdftex
OT1/LinuxLibertineT-TLF/m/n/12
3.0pt
1.5pt
0.99959pt
0.5004pt
xetex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
luatex
TU/LinLibertine(0)/m/n/12
3.0pt
1.5pt
1.0pt
1.0pt
Note that fontdimen7 (extra space after punctuation) ends up twice as large in the OpenType font as in the tfm metrics used by pdftex. I note the libertinus font suport had an update yesterday in texlive this is with the latest version of that package (and a development build of luatex 1.09) running over texlive 2018.
So the big difference between pdftex and the others is not surprising, it's harder to see an obvious reason for a difference between luatex and xetex other than luatex explicitly documents that it uses a variant hyphenation algorithm that doesn't always choose the same points even using the same patterns.
answered Sep 7 at 8:12
David Carlisle
467k3810951819
467k3810951819
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX withlinertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.
â jfbu
Sep 7 at 8:46
2
@jfbu I added anarticle
class example to the question
â David Carlisle
Sep 7 at 15:54
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
 |Â
show 8 more comments
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX withlinertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.
â jfbu
Sep 7 at 8:46
2
@jfbu I added anarticle
class example to the question
â David Carlisle
Sep 7 at 15:54
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
hmm actually hyphenation points chosen for luatex and xetex are same but line breaks are still different, I may look again later and add to this answer.
â David Carlisle
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Something to do with microtypography? XeTeX is more limited there ...
â Joseph Wrightâ¦
Sep 7 at 8:26
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX with
linertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.â jfbu
Sep 7 at 8:46
Without the extra packages in OP's example, XeLaTeX/LuaLaTeX with
linertinus
give same output (to the eye) which is almost same as PDFLaTeX except for the footnote marker going to next line with XeLaTeX/LuaLaTeX.â jfbu
Sep 7 at 8:46
2
2
@jfbu I added an
article
class example to the questionâ David Carlisle
Sep 7 at 15:54
@jfbu I added an
article
class example to the questionâ David Carlisle
Sep 7 at 15:54
2
2
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
@MarkBoltz it's quite possible that the difference isn't intended to be that big, if I can work out why lualatex has changed the line breaking from xetex (using the same fonts) I may ask the font maintainers if the type1 and OTF metrics are supposed to be more similar....
â David Carlisle
Sep 7 at 18:55
 |Â
show 8 more comments
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f449804%2fwhy-does-word-spacing-change-drastically-when-using-libertine-libertinus-with-th%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4
unrelated but you shouldn't have that linebreak before the footnote or you could get a linebreak before the footnote marker
â David Carlisle
Sep 7 at 8:14
@DavidCarlisle Yeah, I made a lot of changes while hastily writing that code to make it easier to read. Originially the footnote was right at the end of the last sentence. Thanks, though. Didn't realize that could happen.
â Mark Boltz
Sep 7 at 18:26
Another unrelated note on your initial example using the
turabian-formatting
package: you don't need to (nor should you) specifyusepackageturabian-formatting
. Simply loading theturabian-researchpaper
document class will create a turabian-formatted research paper.â Omar
Sep 10 at 1:06