Switch to lualatex and New Computer Modern #6418
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is experimental.
LuaTeX seems to have come a long way: it now uses harfbuzz for glyph shaping, and most microtype features seem to work with it now. We could consider switching from pdfTeX to LuaTeX.
I see two main options:
lmodern
/fontenc
as is. This provides a very similar result, but also doesn't give us much benefit.fontspec
and the New Computer Modern family (which I believe is derived from Latin modern). This is what this PR does.Pros:
Cons:
unicode-math
package, which is still advertised as "experimental".If you'd like to weigh in, it would be very useful if you could review the resulting PDF and see if you notice any major defects (e.g. look at some areas that you might recall as being typographically tricky in the past).
We don't have to make a decision any time soon, but it might be worth to start looking into this.