Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ligatures]

{ligatures} occur where two or more graphemes are joined as a single glyph.

1
vote
0answers
48 views

How to enable old ligatures, long s in LaTeX? [on hold]

How would you enable quaints (old-style ligatures) in LaTeX? E.g. the st, ct, sp ligatures &c. Is there also a way to contextually put in the long s (ſ)? Keep in mind that Overleaf won't let me ...
0
votes
0answers
42 views

Disabling specific ligatures fontspec

I made changes to something in an (English language) .tex file and discovered all my ss now exported as ß. After some debugging in my version control, there was no clear culprit to undo (maybe a font ...
13
votes
2answers
1k views

N.B. ligature in Latex

Wikipedia mentions a ligature for NB (nota bene), however I can't seem to find any reference to this in the latex literature. Is there a way to use this ligature in my latex document? An example of ...
2
votes
2answers
50 views

losing ligatures when switching font series or color in the middle of a word

For pedagogical purposes, I would like to highlight some characters in a word, through bold or red color or whatever will work. Because I use handwriting fonts (German Schulschriften wedn and French ...
11
votes
2answers
482 views

LuaTeX and em dashes

LuaLaTeX is not inserting em dashes unless there is space around the triple dash. It works fine when using a unicode em dash, or explicitly using the \textemdash macro. Here is a MWE: \documentclass{...
4
votes
1answer
62 views

Libertinus font on ubuntu, installed version vs. github version

I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the ...
4
votes
2answers
344 views

Make a ligature by deleting part of a letter

I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L. ...
4
votes
3answers
156 views

LuaLaTeX + fontspec + IM FELL not providing long s

I'm attempting to get a font (any font) which automatically switches s for ſ in the middle of words. Following a number of suggestions I've found on StackExchange, I'm using IM FELL DW Pica PRO (from ...
3
votes
0answers
75 views

Suppress Fira Code ligatures involving “{” and “}” in verbatim

I am trying to improve the current implementation (v0.1b) of the lstfiracode package. In particular, I wish to achieve the opposite of Use Fira Code font with ligatures in code listings. ...
4
votes
1answer
81 views

How to type — or >> in minted?

If I try to type -- or >> (resp. <<), LaTeX puts them together and makes one big -, respectively guillemets. How can I change that behavior? I have to use LuaLaTeX to compile my source. \...
1
vote
1answer
40 views

Ligatures generated by tex4ebook inconsistently supported

As a followup to htlatex, garamond fonts, and nulled "ff" and "fi" strings on getting ligatures working correctly with tex4ebook, I've managed to get ligatures to not be replaces ...
2
votes
0answers
73 views

Should one use fourier with erewhon?

Consider the following MWE. \documentclass[a4paper]{scrartcl} \usepackage{fourier} \usepackage{erewhon} \begin{document} This is my offer. \end{document} The output looks as follows: If ...
3
votes
1answer
85 views

Problems with ligature and libertine font -

I cannot post a comment under my previous question so (i fixed some files because i misunderstood somethings, but there is a problème with tt => fl in sffamily not smallcaps and it seems it cannot do ...
1
vote
1answer
118 views

Problems with ligatures

I have some problems to make ligatures (not) work in epub. my MWE : \documentclass[10pt,a5paper]{book} \usepackage[french]{babel} \usepackage{libertine} \usepackage[T1]{fontenc} \usepackage[utf8]{...
7
votes
1answer
211 views

Ligatures with Libertine: issue with pdflatex (and Windows)

If you compile the piece of code given below using pdflatex, then open the resulting PDF file with your preferred viewer, copy the word "efficient" and paste it in a text editor, you will read "...
5
votes
1answer
85 views

Replace ligature in bookmarks

I am trying to replace the s: ligature in the bookmarks by just an s. This is needed as my document is written using a fraktur font, but the colon appears inside the bookmarks as they are not in ...
1
vote
0answers
50 views

Ligatures gets printed with the wrong thickness

I am writing my masters thesis project in LaTeX and is enjoying it so far. However, when printing some of the pages for review, I noticed that ligatures seems to be printed with the wrong weight and ...
3
votes
1answer
74 views

Ligature containing hyphen breaks previous ligature (LuaLaTeX)

I made a font for functional harmonic analysis in music which contains ligatures and other OpenType “magic”. TobiW at this thread on a german-speaking typography forum showed me how to use the font ...
12
votes
4answers
3k views

How do I disable ligatures?

I am writing my dissertation in LaTeX I am faced with this odd situation that if 'f' character has another character (f, i or l) next to it, it sticks the two together as can be noted below. This ...
4
votes
1answer
88 views

Why I do not have ſ in XeTeX/fontspec?

I am trying to get the ligatures with long s, the ſ with Cormorant Garamond but this does not appear... My code: \documentclass[12pt]{book} \usepackage{fontspec} \setmainfont[Extension={.ttf}, ...
9
votes
3answers
344 views

Issue with Burmese and LuaLaTeX

I am working with a project which requires LuaLaTeX (TeX Live 2018) and the Noto Serif Myanmar font. I need a few words of Burmese only. The MWE works well with XeLaTeX. But LuaLaTeX has a problem ...
5
votes
2answers
323 views

ffi ligature in Libertinus italic

\documentclass{article} \usepackage{fontspec} \setmainfont{Libertinus Serif} \begin{document} Affine finance \itshape Affine finance \end{document} Why is no ffi ligature applied in the ...
1
vote
0answers
180 views

Failing search for words with ligatures after update [closed]

After updating my MikTeX distribution couple of days ago I discovered that search for words with ligatures (such as "fi" in prefix), which has worked before, fails. Here the MWE illustrating the ...
1
vote
3answers
103 views

“native” math ligature with OpenType feature

With package semantic, one can easily produce special math symbols via ligature (e.g. -> becomes \rightarrow). In OpenType, however, there are similar things. For example, the Fira Code font ...
2
votes
1answer
72 views

Khmer: ligatures break if XeTeXlinebreaklocale is turned on

When generating documents in Khmer, we noticed that some ligatures do not work. We found that turning off XeTeXlinebreaklocale fixes all ligatures, however this causes problems with linebreaks, and ...
3
votes
0answers
142 views

Missing “tt” Ligature

I'm getting bitten by the unfortunate fact that most TeX fonts have an "ff" ligature, but no "tt" ligature. In my field of research, we often denote logical truth by \textbf{tt} and falsehood by \...
1
vote
1answer
143 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 ...
0
votes
1answer
182 views

TeX Gyre Termes' ligatures work in LuaLaTeX, but fail in XeLaTeX

I recently installed TeX Gyre Termes, and I noticed that ligatures were present when I compiled with LuaLaTeX, but not with XeLaTeX: % !TeX program = XeLaTeX \documentclass{article} \usepackage{...
4
votes
2answers
250 views

Ligatures and highlighting using sourcecodepro and listings

I have a problem using the sourcecodepro and listings. I want to suppress ligatures and bold (Java) keywords. I already tried using the literate-option but it doesn't work as expected. That's my ...
1
vote
1answer
86 views

Manually suppressing ligatures with {} does not work throughout the document

I have decided to write a document without using microtype because I have not yet figured out how to solve my kerning issue. But when I am not using microtype, I also cannot use \DisableLigatures{...
10
votes
1answer
281 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}} ...
1
vote
2answers
556 views

double quote character as " (\textquotedbl) instead of ” (\textquotecblright)

In my document there are double quote characters ("). Instead to typeset exactly " (in Latex \textquotedbl) I obtain right double quote character (in Latex '' or \textquotedblright). Why does LaTex ...
14
votes
2answers
936 views

Discretionary hyphen destroys kerning and ligature

Consider the following example (plain TeX format): VA fi\par V\-A f\-i \bye I tried TeX, pdfTeX, XeTeX, and LuaTeX, but the second line looks the same as the first line only when using LuaTeX. My ...
4
votes
0answers
336 views

minted escapeinside and code ligatures

When using Fira Code in listings you'll get programming/code ligatures. This behavior has to be enabled and usually minted does nothing special. But if you turn on escapeinside with any character that ...
3
votes
1answer
184 views

Proper digraphs handling and rendering

There are three digraphs in Croatian language (as in many others): dž, lj and nj. Common way of typesetting does not include usage of dedicated Unicode codepoints (which exist) - people just type them ...
8
votes
2answers
344 views

Searchable and copyable small caps, ligatures and umlaut in PDF created by XeLaTex

I have several issues with searching and/or copy-pasting text from my PDF created with XeLaTex. Consider the following MWE, the PDF search gives me no results for certain words. \documentclass[% ...
4
votes
1answer
206 views

Discretionary and historical ligatures with ConTeXt

How can i use discretionary and historical ligatures with ConTeXt (MK IV) in quotations (or in certain block of text)?
0
votes
0answers
64 views

Corrupt Ligatures in combination with unicode-math and cleartype fonts

I have a strange problem with ligatures at the bibliography using the combination of unicode-math and windows cleartype fonts(Calibri & Consola). MWE: \documentclass{article} \usepackage{...
7
votes
3answers
472 views

Can custom ligatures be defined by user?

I hope I was not wrong in assuming that such a question has never been posted, since I haven't checked. Thinking about a girl, whose name is Gioia, and noticing that upper case G and and lower case a ...
4
votes
1answer
132 views

Bembo package 'fbb' with option 'altP' stops ligatures working

When the option altP is used for the fbb package the ligatures don't appear anymore. This code: \documentclass{report} \usepackage[altP]{fbb} \begin{document} P f ff fi ffi fj \end{document} ...
6
votes
2answers
475 views

Libertine + pdftex: using 'Th' and 'Qu' ligatures with T1 font encoding

Context: My document uses the libertine package and I process it with pdfTeX. T1 encoding is better than OT1. A LY1 encoding exists but is less common. Problem: For reasons explained above, I use ...
1
vote
0answers
155 views

How can I set default font features for XeLaTeX without explicitly setting a font?

I would like double quotes to work the good old LaTeX way with XeLaTeX. Browsing around a bit, this seems achievable using: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{...
3
votes
2answers
185 views

While using paracol, how does one disable ligatures for a specific column?

Updated the text a little, due to Mico's comment (regarding all or only some ligatures) I am using the package paracol with XeLaTeX, having created two columns, and I am using ligatures. I wish to ...
10
votes
1answer
759 views

Why does microtype claim that it cannot disable ligatures?

The package microtype claims that it cannot disable ligatures because that would require pdftex version 1.30 or newer: ! Package microtype Error: Disabling ligatures of a font is only possible (...
1
vote
1answer
310 views

How can I enable ligatures in verbatim environments?

I have Fira Code with ligatures enabled as my default mono font using fontspec, but this doesn't seem to have any effect on verbatim or lstlisting environments. Why are those contexts different, and ...
2
votes
1answer
355 views

Can not copy and paste umlauts from PDF [duplicate]

I got a text that is written in German. I'm using \usepackage[utf8]{inputenc} since the text comes with the correct umlauts like ö, ä, ü and not "o, "a, "u. The output is pretty fine. \documentclass[...
8
votes
2answers
300 views

Incorrect LuaTeX ligatures

I have a problem with LuaLaTeX (from TL 2016: Version 0.95.0 (TeX Live 2016) (format=lualatex 2017.1.29)) making inappropriate ligatures. Here goes the MWE: \documentclass[a4paper, 12pt]{article} \...
8
votes
1answer
79 views

Letters after discretionary disappear (seems an issue of package fontspec)?

For the following case, % !TeX program = xelatex \documentclass[12pt]{article} \usepackage{fontspec} \begin{document} \hsize =2in shelf{}ful shelf{}ful shelf\-ful di\discretionary{f-}{fi}{f\...
7
votes
1answer
113 views

LuaTeX does not respect brace groups used for disabling ligatures

I noticed the following strange behavior of LuaTeX. I am not sure if it is intentional or not. The minimal example is, fi f{}i f{i} {f}i f\/i \bye (This is the complete document, plain TeX, thus no ...
3
votes
1answer
52 views

How can I redefine germanb.ldf-shorthand "| for italics only?

germanb.ldf defines the very useful shorthand "| as \declare@shorthand{german}{"|}{% \textormath{\penalty\@M\discretionary{-}{}{\kern.03em}% \allowhyphens}{}} to be used by \usepackage[...