New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectively disable typographic ligatures in LuaLaTeX #6534
Comments
you can probably use a custom template? |
Oh yeah, I'm doing that. But I thought this might improve the default template; in a similar way everybody could load |
My only worry here is about depending on packages that aren't widely available. We try to stick with the most common ones so the default template will work with a more minimal install. |
Still, I think this is probably a good idea. |
I tried this. Maybe I'm doing it wrong, but I can't see any difference in the output (e.g. for Auflage in German). I still see a ligature. |
Maybe you haven't set the Running ---
title: Test
lang: de
---
Auflage Compare this with |
I did set lang. But I forgot to specify lualatex! |
Good thought, I added something. |
English and German introductions to typography mention that some words must not contain ligatures at certain points, such as
(illegal ligature in strong emphasis)
In LaTeX, one would either have to manually disable them with
\kern0pt
or\hspace{0pt}
(such asshelf{\kern0pt}ful
), or usemicrotype
to disable them globally.However, there's a LuaLaTeX package that does this automatically for an included selection of words:
selnolig
. According toselnolig
's documentation, it has to be loaded after thebabel
package. Therefore, just usingheader-includes
is not feasible, as that's located before.Hence I suggest loading the
selnolig
package in case the LuaLaTeX engine is used, probably somewhere after line 341 of the LaTeX template:The text was updated successfully, but these errors were encountered: