selnolig
Selectively disable typographic ligatures
- Version:
- 0.302
- Copyright:
- Mico Loretan
- License:
- lppl1.3
- Packaged on:
- 10/27/2015 21:01:59
- Number of files:
- 15
- Size on disk:
- 745.9 kB
The package suppresses typographic ligatures selectively, i.e., based on predefined search patterns. The search patterns focus on ligatures deemed inappropriate because they span morpheme boundaries. For example, the word shelfful, which is mentioned in the TeXbook as a word for which the ff ligature might be inappropriate, is automatically typeset as shelf\/ful rather than as shel{ff}ul. For English and German language documents, the package provides extensive rules for the selective suppression of so-called “common” ligatures. These comprise the ff, fi, fl, ffi, and ffl ligatures as well as the ft and fft ligatures. Other f-ligatures, such as fb, fh, fj and fk, are suppressed globally, while exceptions are made for names and words of non-English/German origin, such as Kafka and fjord. For English language documents, the package further provides ligature suppression macros for a number of so-called “discretionary” or “rare” ligatures such as ct, st, and sp. The package requires use of a recent LuaLaTeX format (for example those from TeX Live 2012 or 2013, or MiKTeX 2.9).