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

learn more… | top users | synonyms

0
votes
2answers
26 views

How to split 3 spaces ligature in lstlisting

Code: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{listings} \begin{document} \begin{lstlisting}[language=PHP,breaklines] $a === $b; \end{lstlisting} ...
3
votes
1answer
47 views

Ligatures with Alegreya Font in XeLaTeX

The following code does not create the expected ligatures (note that Alegreya is OTF): %XeLaTeX \documentclass{report} \usepackage{fontspec} \setmainfont[ SmallCapsFont={Alegreya SC}, ...
6
votes
2answers
257 views

Historic font and missing ligatures

I am trying to compose a sort of old-style book. I would like to use a specific historical font for the entire text. This font includes ligature glyphs for: ff, fi, fl, ffl, and st (see Figure 1 for ...
8
votes
1answer
47 views

Context sensitive glyph appears even when hyphenation removes the context

The Alegreya font has a pretty clever feature by which it substitutes the regular f glyph with a variant that has a longer cross stroke when the f is followed by t. The result is that the two cross ...
10
votes
1answer
2k views

Ligatures disabling

I want to disable ligatures when I am typing letters, however, I need '--' to be joined to a long dash. Is it possible to make this? Now I am avoiding it like this \usepackage{microtype} ...
3
votes
1answer
63 views

'fj' ligatures are not correctly mapped with 'glyphtounicode' using Alegreya font

Inputting glyphtounicode when compiling with pdflatex makes sure that various ligatures in the output are copy- and searchable. With the Alegreya package, however, the ligatures for fj and ffj aren't ...
36
votes
4answers
8k views

Why can't “fi” be separated when being copied from a compiled pdf?

I notice that in a pdf file compiled from Latex, "fi" such as in "field" cannot be separated as "f" and "i" when copying text out of the pdf file. I wonder why and if this can be changed? Thanks and ...
25
votes
1answer
435 views

Differences regarding kerning and ligaturing when using the MacTex2013 and MacTeX2014 versions of LuaLaTeX with .ttc fonts

This posting is a follow-up to the postings Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts and LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on ...
15
votes
1answer
398 views

Can't generate ligatures with LuaLaTeX under MacTeX2014 and MacTeX2015 when using certain fonts

(Remark: This question was posted originally when the big news, TeX-wise, was the impending transition from TeXLive2013 to TeXLive2014. Since the issue identified in this posting persists in ...
6
votes
1answer
86 views

Having trouble enabling ligatures with HF&J's Mercury Text OpenType font

I'm sure this font supports ligatures, but I can't get them to show up. Example with Roboto for comparison: \documentclass[ 11pt, a4paper ]{scrartcl} \usepackage{fontspec} ...
0
votes
1answer
37 views

Problem with r- ligatures in XeTeX (with the font Sanskrit 2003)

Simple ligatures with र् r as first element (thus a case different from 'r' rendered improperly in Devanagari ligature ) appear strangely when preceded by a syllable containing an ि : I ...
15
votes
1answer
139 views

"| shortcut no longer available in babel?

In the answers to this question, people recommend using the "babel shorthand" command "| to break the ligature in the word shelfful. Am I doing this wrong or is this command no longer available in ...
5
votes
2answers
88 views

Why does fontspec interfere with Ligatures? (In retrospect: How the dutch hyphenate)

The tufte sample text (provided by ConTeXt) contains a || sequence which normally gets turned into an emdash. For some reason the inclusion of fontspec disables this. I've tried to use various options ...
19
votes
2answers
2k views

Cannot copy text from the simplest PDF file?

Consider the following code: \documentclass{article} \begin{document} We define multiplication by $$v_1x = 0,\quad v_2x = v_1,\quad v_1y = -v_1,\quad v_2y = v_1$$ \end{document} which looks ...
6
votes
1answer
71 views

Is it possible, in LuaTeX, to replace text from the input buffer but only inside math mode?

I am trying to create a Lua script that lets me replace all instances of -> inside my equations with \rightarrow. I found this answer that suggests a hack involving a process_input_buffer callback: ...
5
votes
0answers
53 views

What are the steps needed to create a ligature? [closed]

If I want to make my own ligature, even if it's strange, for example for "rb" with a curl similar to those in "ct" or "st", or even mor strange such as a ligature for "or", using instead of the "o" ...
2
votes
1answer
179 views

How to enable ligatures

I just notice that ligatures are not working on my system. For example: \documentclass{article} \renewcommand{\rmdefault}{ptm} \begin{document} data-flow missing ligature. \end{document} The "flow" ...
14
votes
2answers
243 views

Kerning and ligatures in upright math font with unicode-math

How can I get the kerning and ligatures of text mode in an upright math font with the unicode-math package loaded? 1. Without unicode-math Code: \documentclass{article} \begin{document} ...
3
votes
1answer
330 views

XeLaTeX and Roboto: No Ligatures

I'm trying to use the Roboto Font Family with XeLaTeX (or LuaLaTeX). When I'm writing a Document in XeLaTeX, no ligatures are used (but there are used on Android, so ligatures should be there). ...
0
votes
0answers
12 views

Disable mapping of | to long dash [duplicate]

How can I disable the translation of a | into a long dash? -- I'd like to be able to input | characters and have them turn into |'s in the output. I tried \usepackage{microtype} ...
0
votes
0answers
148 views

LaTeX is removing `fi` in words

I have this sentence in my LaTeX article : fraudulent financial. When complied it as pdf this is the output in my text: I'm using WinEdt and Miktex. Why I have this behavior? This is an IEEE ...
6
votes
2answers
334 views

System-wide feature file in lualatex

I have a font (Dolly) with f_i and f_l ligatures, which requires a feature file to make them work. Everything works fine using the following: # dolly.fea languagesystem DFLT dflt; languagesystem ...
7
votes
1answer
142 views

Locally disabling en and em dash ligatures

A programming tool that I use (coqdoc) generates LaTeX documentation from my source code. Parts of the manual include pretty-printed code listings and math proofs. These listings and proofs are ...
14
votes
1answer
223 views

Kerning and ligatures in TeX without TeX

I am trying to get the same output as in this answer by topskip (an extended version with comments is presented in the TeX without TeX article). I am getting a paragraph consisting of 6 lines with ...
2
votes
1answer
336 views

Ligatures for fi, fl, ffl do not work for Times New Roman (XeLaTeX)

When I compile the code below with XeLaTeX (using TeXworks), ligatures for Times New Roman do not show. Instead, I just get singular characters. \documentclass{article} \usepackage{fontspec} ...
6
votes
2answers
333 views

Linux libertine, the {\l} character, ligatures, and T1 fontenc

If I understand correctly from the answers to this question, the default OT1 encoding will not get me enough "font space" for the proper \l character. On the other hand, I can't seem to get ligatures ...
9
votes
1answer
169 views

How to keep both Mapping=arabicdigits and Ligatures=TeX in this MWE?

Please consider the MWE below: MWE - scenario 1 \documentclass[demo]{scrartcl} \usepackage{polyglossia} \setmainlanguage[locale=mashriq,numerals=mashriq,abjadjimnotail=true]{arabic} % ...
0
votes
0answers
60 views

Generating ligature from the encoding file

I have an encoding file with some tex encoding, I have to use the ligature and kerning instruction for the encoding to make a replacement two char into a single ligature. It looks like the following: ...
3
votes
1answer
195 views

Can or will pdf with MinionPro produced by ps2pdf allow to search for words with ligatures, such as “final”?

This is either a question or an encouragement, depending on the situation. If a pdf typeset with latex and made into a pdf with ps2pdf contains the word "final", searching for that word in the pdf ...
17
votes
2answers
560 views

Getting ligatures of Qv with Linux Libertine

In old texts in Danish, the letter combination Qv was common and more or less worked like Qu in English. Now the code \documentclass{memoir} \usepackage{fontspec} ...
13
votes
1answer
217 views

Disabling ligatures also disables kerning

I am using Adobe Minion Pro (mostly because of its maths support), but I don't want to use the 'Th' ligature. This decision is based on guidance from Bringhurst's Elements of Typographic Style. I ...
6
votes
1answer
142 views

luaLaTeX Junicode font typesetting of ji and ii

\documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{Junicode} \begin{document} \noindent ji\\ ii\\ j\mbox{}i\\ i\mbox{}i \end{document} is rendered by lualatex with dotless i on the ...
9
votes
1answer
269 views

How to get access to this special character?

I just bought the font Uberschrift which brings tons of ligatures with it, but u nfortunately I'm not able to get access to them. I tried to find out wich is the symbol's name and this is what ...
5
votes
1answer
52 views

wrong sorting in index (ligatures) \/

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{makeidx} \makeindex \usepackage{filecontents} \begin{filecontents}{\jobname.mst} heading_prefix "{\\bfseries\\hfil " heading_suffix ...
6
votes
2answers
268 views

How to force use of a normal 's' and how to suppress ligatures when using Gothic font?

I want to use a gothic font for some headings, but the 's' character looks more like a 'f' which makes it really hard to read at times. I know it's meant to look like that, but according to the Font ...
6
votes
1answer
207 views

How add my own ligature

I would like to add one char from otf font in xelatex as ligature. 'łł' = 'some char number in font' How make it? How tell for xelatex this char is a ligature of two letter 'ł' and 'ł'
3
votes
1answer
197 views

En-dash instead of two short dashes for page range in bibliography

Since I'm working with the fontspec package, using the Segoe UI font (actually, let me include a secondary question here: which font would you prefer for a scientifical paper on influenza, keeping in ...
3
votes
1answer
68 views

Prevent ligature in verbatim text

I was looking at Problem with hyphen in URL when using fancyvrb with hyperref but cannot quite understand the solution so cannot apply it to my problem. I am getting an unwanted ligature in verbatim ...
5
votes
2answers
325 views

Ligatures missing

The MWE is: \documentclass{article} \usepackage{avant} \renewcommand*{\rmdefault}{\sfdefault} ...
4
votes
4answers
166 views

Suppress specific ligature in XeLaTeX

Is there a way to selectively disable a specific ligature in XeLaTex? I cannot see how. The selnolig package seems to do what I need but I don't even know how to use Lualatex with my Texshop setup on ...
12
votes
1answer
360 views

Old ligatures in Siṇhala

I am trying to reproduce a term from an old Siṇhala-English dictionary. I have checked several fonts and the best candidates for the job seemed coming from the Bhashitha font family. The font contains ...
0
votes
0answers
30 views

The quote symbol in LuaLatex [duplicate]

I have a document which are previously compiled with regular pdflatex with \usepackage{times}, the typographic quote symbols are generated correctly as: And once I started to use LuaLatex with: ...
8
votes
1answer
501 views

A Big fancy “Q”

One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other ...
16
votes
1answer
301 views

Ligatures and hyphenations: the effect of empty brace groups {}

For the following example, \hsize =2in shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful \bye The ...
1
vote
1answer
159 views

Fontspec en- and em-dash ligatures

When producing en- or em-dashes with fontspec enabled i XeLaTeX, the ligatures are not produced, it simply prints -- and ---. MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
0
votes
0answers
40 views

How can I prevent LaTeX from creating en-dash with T1 encoding? [duplicate]

I'm writing a documentation for a command line tool. I typeset command line options with \texttt (eg. \texttt{--help}) because \verb doesn't work in footnote. This works fine with OT1 font encoding. ...
20
votes
2answers
5k views

How can I stop LaTeX from converting two hyphens to a single hyphen when loading package fontenc?

In the following minimal test document, I can have two hyphens appear as two hyphens (which is what I want): \documentclass[letterpaper]{article} \begin{document} A hyphen: \texttt{-} Two hyphens: ...
0
votes
0answers
55 views

for greek: insert minimal spacing, add point for hyphenation

I want to define for greek a command/shortcut similar to the german "|, which inserts minimal space and marks the (by far) preferred point for hyphenation. Additionally I need a second ...
12
votes
4answers
2k views

How do I prevent LaTeX from creating en-dash and em-dash?

All over the internet, there's this question on how to make LaTeX do the en-dash and em-dash. I have the opposite problem. I have some text from which I am generating HTML and LaTeX outputs. The ...
4
votes
2answers
451 views

\pdfglyphtounicode with XeTeX

One well known problem with using the font Linux Libertine (presumably other fonts too), is that its many ligatures are not recognized in the resulting pdf-file, so that it's not possible to search ...