Directory macros/luatex/latex/selnolig
The selnolig package suppresses typographic ligatures selectively, i.e., based on predefined search patterns. The search patterns identify ligatures that are 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, i.e., without the ff ligature. For English and German language documents, the selnolig 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. However, the package provides exceptions for names and words of non-English/German origin, such as fjord and Kafka. For English language documents, the package further provides ligature suppression rule for a number of so-called "discretionary" or "rare" ligatures, such as ct, st, and sp. The package's user guide is in the file selnolig.pdf. If you're not (yet) familiar with this package, you may want to at least skim the user guide in order to get a sense of how the package may be used. The selnolig package requires use of the LuaLaTeX format provided by a recent TeX distribution, such as TeXLive2015 or MiKTeX2.9.
Download the contents of this package in one zip archive (571.6k).
selnolig – Selectively disable typographic ligatures
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).
Package | selnolig |
Repository | https://github.com/micoloretan/selnolig |
Version | 0.302 2015-10-26 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2013–2015 Mico Loretan |
Maintainer | Mico Loretan |
Contained in | TeX Live as selnolig MiKTeX as selnolig |
Topics | Typesetting LuaTeX |
See also | autotype |