Comprehensive TeX Archive Network

Direc­tory 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.

Down­load the con­tents of this pack­age in one zip archive (571.6k).

sel­no­lig – Selec­tively dis­able ty­po­graphic lig­a­tures

The pack­age sup­presses ty­po­graphic lig­a­tures se­lec­tively, i.e., based on pre­de­fined search pat­terns. The search pat­terns fo­cus on lig­a­tures deemed in­ap­pro­pri­ate be­cause they span mor­pheme bound­aries. For ex­am­ple, the word shelf­ful, which is men­tioned in the TeXbook as a word for which the ff lig­a­ture might be in­ap­pro­pri­ate, is au­to­mat­i­cally type­set as shelf\/ful rather than as shel{ff}ul.

For English and Ger­man lan­guage doc­u­ments, the pack­age pro­vides ex­ten­sive rules for the se­lec­tive sup­pres­sion of so-called “com­mon” lig­a­tures. Th­ese com­prise the ff, fi, fl, ffi, and ffl lig­a­tures as well as the ft and fft lig­a­tures. Other f-lig­a­tures, such as fb, fh, fj and fk, are sup­pressed glob­ally, while ex­cep­tions are made for names and words of non-English/Ger­man ori­gin, such as Kafka and fjord.

For English lan­guage doc­u­ments, the pack­age fur­ther pro­vides lig­a­ture sup­pres­sion macros for a num­ber of so-called “dis­cre­tionary” or “rare” lig­a­tures such as ct, st, and sp.

The pack­age re­quires use of a re­cent LuaLaTeX for­mat (for ex­am­ple those from TeX Live 2012 or 2013, or MiKTeX 2.9).

Pack­age De­tailssel­no­lig
Ver­sion0.302 2015-10-26
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerMico Lore­tan
Con­tained inTeX Live as sel­no­lig
MiKTeX as sel­no­lig
Topics LuaTeX and pack­ages that re­quire it
sup­port for vari­a­tions of ty­po­graphic style
Guest Book Sitemap Contact Contact Author