LuaTeX vs XeTeX

Virgil Arrington cuyfalls at hotmail.com
Thu Dec 16 21:12:56 UTC 2021


On 12/16/2021 3:17 PM, Herbert Voss via lyx-users wrote:

Do _not_ load any font and choose an empty preanble,
 then Computer Modern is used for pdflatex and Latin Modern
for lualatex/xelatex. And then you will see _no_ difference in
the created pdf.


I did as you said, and you are right; with all default settings and nothing added to the preamble, the results were identical.

But, of course that didn't satisfy me. In my first test, the greatest variance was between XeTeX and LuaTeX and they both used identical fonts (Windows Palatino Linotype) and identical preamble settings. If there was no difference in the engines, they should have produced identical results, but they didn't. So, I dug a little further.

Starting with the completely clean files, I added the Microtype package to both and compiled them. As with my first test, I got different results. XeTeX once again produced many more hyphenated lines -- essentially the same as it produced without Microtype -- than did LuaTeX. Neither produced any significant overfull lines at the right margin.

So, it seems as if Microtype behaves differently with XeTeX and LuaTeX -- at least on my system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211216/5b8ae1e0/attachment-0001.html>


More information about the lyx-users mailing list