Questions tagged [selnolig]

{selnolig} is a LuaLaTeX package which serves to suppress typographic ligatures selectively based on pre-defined search patterns.

Filter by
Sorted by
Tagged with
3 votes
1 answer
86 views

How do you insert a single ligature manually?

We have \/ and other commands to prevent a single ligature manually, e.g.: shelf\/ful. But what is the command to insert a single ligature manually? I am using the \nolig{st}{s|t} command to prevent ...
Lijishe's user avatar
  • 155
8 votes
2 answers
240 views

selnolig-package and round s (s:) in fraktur (yfonts)

In a German document I would like to typeset some selected phrases in Fraktur while the rest is written in Linux Libertine. Using the yfonts-package, the round s (the 'modern' one as opposed to the ...
Gylfi's user avatar
  • 103
5 votes
1 answer
102 views

selnolig Turns en and em Dashes into Hyphens if polyglossia is loaded Before the Fonts

Consider the following code: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainfont{Stix Two Text} \usepackage{selnolig} \begin{document} -- --- \end{document} Of which ...
TivV's user avatar
  • 743
4 votes
1 answer
308 views

rule based replacement of s with ſ (long s)

Is there a way in any LaTeX (LuaLaTex, LuaHBTeX, pdfTeX …) to automatically typeset a document written with standard «s» with long s (ſ) instead where appropriate? The rules seem to be mostly language ...
tanGIS's user avatar
  • 1,551
8 votes
2 answers
432 views

Unable to supress ligatures in headings which are set in Caps

I am aware that similar questions have been asked a few times. However, none of the answers solved my problem. This Answer says that it is a bug in luaotfload. But I'm already using a newer version (2....
maaattes's user avatar
  • 495
3 votes
0 answers
151 views

Set global non-ligature kerning with selnolig

Similar to this question I want to use selnolig but I don't like the fact that in words containing fl without ligature these two letters are too close together. Like in Mico's answer I want to use ...
Erik's user avatar
  • 83
1 vote
1 answer
372 views

How to use selnolig package together with default lualalatex font?

Edit: Included different variants to show that everything seems to work fine. I'd like to use selnolig with the default font used by lualatex. The reason is that I write a paper using the Simplified ...
koppor's user avatar
  • 3,122
10 votes
1 answer
765 views

Suppress 'ae' and 'oe' ligatures in baskervaldx

I'm using Baskervaldx font with fontspec and LuaLaTeX, but I can't suppress 'ae' and 'oe' ligatures using either \defaultfontfeatures{Ligatures={NoCommon,NoContextual,NoHistoric,NoDiscretionary}} ...
ss1789's user avatar
  • 559
18 votes
2 answers
571 views

Kerning with selnolig

You can use the selnolig package to break up inappropriate ligatures automatically. For example, 'leaflet' should arguably not have an fl-ligature, and this can be prevented with \nolig{leaflet}{leaf|...
Toothrot's user avatar
  • 3,316
3 votes
1 answer
129 views

Suppress hyphenation marking in selnolig

The selnolig package is inserting hyphenation marks at any possible point. How do I suppress this behaviour? \documentclass{article} \usepackage{fontspec} \usepackage[english]{selnolig} \begin{...
Georg's user avatar
  • 1,566
17 votes
1 answer
479 views

Properly breaking up ligatures using selnolig / LuaLaTeX

Currently I use the selnolig package together with LuaLaTeX to automatically break up ligatures. This works quite well regarding the fact that ligatures get broken up at the right places. Note however,...
FredFisch's user avatar
  • 883
9 votes
1 answer
156 views

The selnolig package: switching between English and German

Is it possible to load the ligature rules for English and German within the document, rather than by package options? This would be useful for documents containing both languages. (It is possible to ...
Toothrot's user avatar
  • 3,316
2 votes
1 answer
154 views

Disable all ligature patterns in selnolig for ligatures not in latin modern

I would like to disable all patterns of the selnolig package which matches ligatures that are not available in latin modern. Am I correct that latin modern only has ligatures for: ff, fi, fl, ffi, and ...
user2653422's user avatar
  • 2,313
5 votes
0 answers
306 views

Error when using selnolig and lua-check-hyphen: attempt to index global 'debug' (a boolean value) [closed]

\documentclass{article} \usepackage{fontspec} % required for selnolig \usepackage{selnolig} \usepackage{lua-check-hyphen} \begin{document} Foo \end{document} Using my two favorite lualatex packages ...
doncherry's user avatar
  • 54.1k
10 votes
1 answer
366 views

How may I use selnolig for a bilingual document?

The great package selnolig offers support for the English or the German language. Maybe I have overseen it, but is there a possibility to change the language-option inside the document? The best way ...
LaRiFaRi's user avatar
  • 43.5k
2 votes
0 answers
2k views

Issue installing selnolig under MikTeX [closed]

I'm trying to install selnolig in the MiKTeX 2.9 package manager, but I'm getting this problem report: MiKTeX Problem Report Message: The operation could not be completed because a required file does ...
skiasaurus's user avatar
19 votes
4 answers
3k views

How can I separate an fl ligature in Libertine?

I am having trouble to understand the ligatures behaviour of the Linux Libertine font. I want to use all ligatures that are possible to have (Ligatures={TeX}) but would like to disable single cases. ...
LaRiFaRi's user avatar
  • 43.5k
12 votes
4 answers
2k views

Enabling c_t and longs_t without enabling s_t ligatures

I'm using the Hoefler Text font in xelatex with long s: \usepackage{fontspec} \setmainfont[Contextuals=Inner]{Hoefler Text} But I want to use the ct ligature (it's from the Rare set): \usepackage{...
Thomas Tan's user avatar
27 votes
1 answer
588 views

Bad interaction between fontspec and some lua code that performs string-related search and replace operations

Update 2013/05/28: The selnolig package is now on the CTAN. Comments and critiques always welcome! If you wish to contact me about any aspects of the package, please use the email address that's given ...
Mico's user avatar
  • 490k
19 votes
2 answers
2k views

Suppression of a ligature in XeLaTeX

I'm trying to reproduce an old book with XeLaTeX, and it has the ct ligature but not the st ligature. The Ligatures=Rare option seems to turn either both on or off. Is there a way to select which ...
Neo's user avatar
  • 349
32 votes
4 answers
896 views

Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?

I'm starting to put together a LaTeX package, which I hope to distribute broadly, that provides lualatex code to disable ligation of character pairs and triplets for selected words (globally within ...
Mico's user avatar
  • 490k