Questions tagged [ligatures]
{ligatures} occur where two or more graphemes are joined as a single glyph.
350 questions
9
votes
2
answers
460
views
The Clara font family removes bolded characters sequence
I'm using the clara font, but noticed that in boldface the font removes the character encoding "ffi", as in the MWE example below:
\documentclass{minimal}
\usepackage{clara}
\RequirePackage[...
5
votes
0
answers
35
views
right-to-left ligatures with luatex
In a comment to my answer to this question, it was pointed out that when \textdir TRT is set, ligatures seem to be formed before the text direction is reversed (I have no idea if that is the correct ...
2
votes
2
answers
111
views
How to use a ligature that is in the dlig without using all of them
In older versions, Junicode used to have the ft and fft ligatures when setting Ligatures=TeX. Recent version, though, seem to consider them as Rare.
For consistency with other books in a series (and ...
2
votes
1
answer
66
views
Complex Ligatures in CMU Serif
Currently my LaTeX font (CMU Serif) only gives me the common ligatures (ie: fi, ff, fl, ffi, and ffl).
But I want the discretionary ligatures to appear in my file (ie: fb, fj, st, ct, tt, Th, and many ...
12
votes
3
answers
2k
views
Is "double-lowercase-L" a ligature (Computer Modern Italic)?
Consider the following MWE:
\documentclass{minimal}
\begin{document}
Which kerning do you prefer?
\bigskip
\emph{well willow wallow wellington} %
\verb+ <--- Version 1, default kerning+
\...
3
votes
1
answer
67
views
different behaving of ligaturing callback with LaTeX
I am trying to reproduce the TeX following example (Paul Isambert, TUGboat,https://tug.org/TUGboat/tb32-1/tb100isambert.pdf):
\directlua{
local GLYF = node.id("glyph")
function show_nodes (...
2
votes
1
answer
139
views
Times New Roman Ligatures are not working in Overleaf
I was trying to get ligatures for Times New Roman to work in Overleaf. I have to use XeLatex for this.
Through research, I have tried using [Mapping=tex-text,Ligatures=TeX], [Ligatures=TeX], [...
2
votes
0
answers
45
views
Microtype confusion with both tracking and ligatures
I find section 5.3 of Microtype's documentation (v3.1b) confusing: about the no ligatures option, it starts by saying that "by default, ligatures in letterspaced fonts will be constructed as ...
7
votes
2
answers
322
views
Ligatures are not preserved by \textls letter spacing
Example:
\documentclass{article}
\usepackage{microtype}
\begin{document}
fi \textls[1]{fi}
\end{document}
Output:
Problem: the ligature is lost. How do I keep the ligature (preferably without ...
0
votes
0
answers
27
views
Ligature for quotes not enabled by default in TeXlive 2023 distributed by Arch Linux [duplicate]
I am using Arch Linux. I install TeXLive via system's package manager pacman (the packages installed will be listed later):
If I compile the following code
\documentclass{minimal}
\newcommand{\...
3
votes
2
answers
133
views
Double hyphen in Taiwanese language carries grammatical function
In the Taiwanese language, double hyphen carries grammatical function and is used frequently. Example:
Āu--ji̍t chiah koh lâi. (Come again the day after tomorrow.)
Āu-ji̍t chiah koh lâi. (Come again ...
1
vote
1
answer
123
views
TeX Gyre Cursor sometimes renders incorrectly
\RequirePackage[OT1]{fontenc}
\documentclass{minimal}
\usepackage{unicode-math}
\setmonofont{TeX Gyre Cursor}
\begin{document}
\texttt{We shall fill in the blank.}
\end{document}
Unfortunately ...
1
vote
0
answers
554
views
After MikTex update the en-dash ligature doesn't work in XeLaTeX
Recently, after more than a year, I update my MikTex packages. After that, I notice that XeLaTeX makes PDF differently, in the sense that en-dash and em-dash ligatures don't work properly if they ...
1
vote
1
answer
125
views
How do you disable en and em dash ligatures in a biblatex/biber bibliography?
I am trying to write an MLA conforming paper with LaTeX for a school assignment, but I have a very strict professor when it comes to bibliography formatting. Specifically, my issue is that BibLaTeX/...
2
votes
1
answer
154
views
How to activate Discretionary Ligatures by default with "libertinus-otf" package?
I am using the package libertinus-otf with LuaLatex, MikTeX and the KOMA-Script document class scrartcl.
How do I activate Discretionary Ligatures by default for all fonts?
I have tried many things as ...
2
votes
1
answer
179
views
Some code ligatures work in xelatex but not lualatex
While looking at this question I noticed that some of the code ligatures from the JetBrains Mono font (freely available from their website) worked in xelatex, but not in lualatex. Compare:
Xelatex
...
4
votes
1
answer
331
views
JetBrains arrow `->`, `<-` code ligatures do not apply consistently in different environments
I want to use JetBrains Mono (and its code ligatures) to render -> as an arrow. However, I get mixed results depending on the monospaced environment I am using. My goal is for this to work in the ...
1
vote
1
answer
81
views
How to prevent diacritic characters from overlapping the next character inside a verbatim? (Font-specific?)
I'm producing a document using Xetex that contains code in the APL programming language. In this language, the character ¯ is used to denote negative numbers. The problem is that when I enter the ¯ ...
2
votes
1
answer
37
views
How to remove default ligature definitions in semantic package?
By default, when I load \includepackage{semantic}, it includes default ligatures such as -> for \to. How can I disable this default behavior?
I only want to include ligatures that I have defined ...
1
vote
3
answers
461
views
Adobe Garamond Pro & ligatures
I need to use Adobe Garamond Pro on LaTeX to build an editorial layout. I installed the Adamond Garamond Pro font files (Regular, Bold, Italic, BoldItalic, SemiBold, SemiBoldItalic) on my computer (...
1
vote
1
answer
46
views
Placement of dots between section and subsection numbers with Gandhari Unicode font
I have been asked to use the Gandhari Unicode font for a paper, but I get weird formatting of the dots pertaining to the numbers of sections, subsections etc.:
Particularly 1.4 looks ugly, with the ...
0
votes
0
answers
168
views
Issues with unwanted ij ligature in NewTX
The issue in newtx bijection is bijection has re-emerged. Namely, compiling
\documentclass{standalone}% 2018/03/26 v1.3a
\usepackage[T1]{fontenc}% 2021/04/29 v2.0v
\usepackage[dutch,ngerman,USenglish]{...
0
votes
0
answers
48
views
Why is XeTeX's quotation mark ligature suppressed?
Compile this with xetex
\XeTeXinterchartokenstate=1
\XeTeXcharclass `' = 5
\XeTeXinterchartoks 5 3={\empty}
''。\par
\XeTeXinterchartoks 5 3={}
''。\par
\bye
will get
.
An empty macro disables the ...
3
votes
1
answer
100
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 ...
2
votes
0
answers
184
views
Force ligatures with accent
Latex fonts are famous (or infamous) for it tendency to use Ligatures like those in "ff","fl","fi".
I was specting that from "f'i" but a minimal space appear. I ...
2
votes
3
answers
880
views
Lato font not separating letters ft and ti
I am using the Lato font for a document, but whenever the letters "ft" and "ti" are next to eachother, this font cannot separate the characters. When doing a copy-paste of the word ...
0
votes
0
answers
222
views
Unable to disable ligatures for TrueType Collection in XeLaTeX
I'm writing a resume in XeLaTeX and I'd like to disable ligatures in my document so the text is properly parsed by ATS.
I was able to disable ligatures for my OTF font but I'm having trouble with my ...
7
votes
1
answer
243
views
Selectively disable a ligature in pdflatex + newtxtext [duplicate]
I had a wonderfully working setup with LuaLaTeX, but my publisher demands I use PDFLaTeX and newtxtext.
This, however, replaces ">>" in monospaced text with "»" which looks ...
2
votes
1
answer
526
views
How to fix ligatures with Source Sans Pro font and small caps?
The Source Sans Pro font (provided by sourcesanspro package) does not appear to provide ligatures for fi and fl.
The following document shows the problem with small caps (and pdflatex):
\documentclass{...
0
votes
0
answers
85
views
Searchable umlauts without any font change
I have a document with some (very few) umlauts, for example:
\documentclass[11pt,a4paper]{article}
\begin{document}
This is the Hölder inequality:
$$
\Vert f g \Vert_1 \leq \Vert f \Vert_p \Vert g \...
1
vote
1
answer
190
views
How do I get more ligatures to work in Luatex via Lyx?
I came across the question "Ligatures for fi, fl, ffl do not work for Times New Roman (XeLaTeX)," and it had two solutions; but neither works completely for LuaTex. The first is Xetex/...
1
vote
0
answers
94
views
Forcing ligature between any two letters
I frequently find myself confronted with naming new operator in my mathematical research. What I would really want is them to not consist of two different letters that have a space between them. E.g. \...
2
votes
1
answer
195
views
LuaTeX does not find liga OpenType feature
I created a custom font in FontForge and generated an OTF of it. It contains the usual ligatures fi, fl, ff, ffi, and ffl. I use the font like this:
\documentclass{article}
\usepackage{fontspec}
\...
2
votes
0
answers
207
views
Disabling ligatures only for small caps style?
I want to write the word Beruflich in small caps using the \scshape command. However, when the letters fl are next to each other they are output without small caps. When they are separated by a space ...
4
votes
1
answer
340
views
Ligatures in mathrm mode
In an equation, I want to print a subscript without ligatures. LaTeX automatically connects the characters when in math mode with \mathrm. I tried using the selnolig package providing the command \...
1
vote
1
answer
121
views
ConTeXt: Disable emdash
Background
Some manuscript submission guidelines prefer em dashes to remain typeset as --- rather than —.
Problem
Setting features=none for the document's body font does not appear to affect the tlig ...
1
vote
1
answer
399
views
Use FiraCode ss01 font feature with fontspec and LuaLaTeX
How can I set specific stylistic sets of a font (ss01, ss03, but not ss02) with fontspec and LuaLaTeX? For instance, with the FiraCode font.
This question is not a duplicate of How to replace a letter?...
2
votes
0
answers
104
views
How do you use ligatures if word stem and syllables do not coincide?
I use ligatures. They are a beautiful typographic tradition and many fonts support them. Unfortunately the rules to apply ligatures are not hard and fast.
One rule says that you use ligatures only ...
6
votes
1
answer
376
views
Trying to understand the interaction between baskervillef and fontspec
My high level goal is to get a good, free Baskerville font working that supports smallcaps and "rare" ligatures. I have achieved this, apart from rare ligatures, using the baskervillef ...
1
vote
2
answers
1k
views
Prophet symbol in LaTeX
How do you get this symbol in LaTeX?
0
votes
0
answers
84
views
Deactivate ligatures in small caps in xelatex
In the following minimal example using the Palatino Linotype font:
\documentclass[twoside]{book}
\usepackage{mathspec}
\setmainfont{PalatinoLinotype}[
Extension = .ttf,
Ligatures = TeX,...
1
vote
1
answer
84
views
Font for U+A734, U+A735?
I use Unicode Hex Input on macOS Catalina, and have the MWE
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
testꜵ
\end{document}
However, my ...
3
votes
1
answer
305
views
Problem with ligatures not copying and pasting correctly with newcomputermodern and LuaLaTeX
Using Latin Modern (via lmodern), this word copies fine: Verlagsgesellschaft.
MWE:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\begin{document}
Verlagsgesellschaft
\end{...
2
votes
1
answer
114
views
How to suppress Ligatures in XeLaTeX
I am using the Accanthis font in XeLaTex and it has unfortunate ligatures, especially abbreviations containing AE are converted to Æ.
I have controlled this by editing the accanthis.sty file to change ...
1
vote
2
answers
410
views
How to achieve a ff ligature with a smaller first f "on the back of" the second
I am laying out a third party text that requires a ff ligature with the first f slightly smaller and "on the back of" the second f.
How can I achieve this in LaTeX?
0
votes
1
answer
142
views
Baskervaldx swash shape not working
I am trying to use the latest Baskervaldx package (2020-Nov-07; included in TeXLive2020) with the swash feature either as a package option or using the \swshape command. I use latexmk -pdf to compile ...
4
votes
1
answer
239
views
How to avoid ligatures of double less equal sign in latex
I have lots of C++ code snippets in my article. Just see the following tex content and you'll get what I mean.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{xspace}
\NewDocumentCommand{...
5
votes
1
answer
107
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 ...
0
votes
0
answers
86
views
Precompiled Preamble does not respect fontspec Tex Ligatures fontspec
I have successfully setup a precompiled preamble as described in this Tex-Stackexchange post.
However, one problem remains: If I move fontspec to the preamble the ligatures stop to work.
Currently my ...
8
votes
2
answers
379
views
newtx bijection is bijection
Feeding
\documentclass{standalone}
\usepackage{newtxtext}%%% 2020/07/22 v1.628
\begin{document}
bijection
\end{document}
to pdflatex leads to a PDF document (here is the image of it,
) in which you ...