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

learn more… | top users | synonyms

3
votes
1answer
70 views

Boundary ligatures in math mode

I know that the TeXbook says : "boundary ligatures are automatically disabled in math mode". But I'd like to know if this behaviour can be bypassed. I am creating an environment in order to copy my ...
0
votes
0answers
76 views

Fix encoding for ligatures of fonts in XeTeX / LuaLaTeX (specifically for Minion Pro)

Ligatures in the MWE below are not encoded properly when compiling with LuaLaTeX or XeLaTeX using TeXShop on the Mac. Copying "The difference" from the pdf to a text editor renders "e di erence". I ...
10
votes
1answer
266 views

Missing Arabic Ligature due to diacritical marks in ConTeXt MarkIV

I am having an issue with Arabic Font Ligatures showing discrepancy between ConTeXt and XeLateX, when using the same font namely Scheherazade. The issue is not present when using XeLateX but only ...
1
vote
0answers
72 views

Letter spacing and ligatures

Is there a way to slightly increase letter spacing (tracking) using microtype package and not to lose the ligatures—especially not those starting with ‘f’—other then putting all the “fi“ and “fl“ and ...
2
votes
1answer
26 views

Fatal error after adding feature to Junicode and using italics

Adding the line \emph{sty} to the answer in Accessing Junicode ligatures produces a fatal error. \documentclass{article} \usepackage{fontspec} \usepackage{filecontents} ...
5
votes
1answer
43 views

Accessing Junicode ligatures

\documentclass{article} \usepackage{fontspec} \setmainfont{junicode} %\setmainfont[Ligatures=Discretionary]{junicode} \begin{document} fifty nifty activity \end{document} This will produce fty ...
8
votes
1answer
70 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 ...
3
votes
0answers
39 views

Cochin and common ligatures with font spec

I'm using Cochin as main font in a XeLaTeX project, and having Cochin glyphs for common ligatures such a fi and fl, I would expect those ligatures to be used by the fontspec package—but that's not ...
4
votes
1answer
67 views

How do I enable a font feature?

I am trying to enable the Historical Ligatures feature in EB Garamond. The guide to the font calls this feature hlig. However, I have no idea how to enable the feature. I found a question that seems ...
4
votes
2answers
74 views

What are opening and closing double quotes? And how do I redefine it to be something else?

I have a LaTeX document written with normal English quotes, eg.: ``This is a quoted text.'' Now, I would like to redefine `` and '', so the combination of two ` characters is substituted with, say, ...
42
votes
1answer
371 views

How to keep a “rare” ligature from interfering with a “common” ligature?

In ligature-rich Opentype fonts which feature both "common" and "rare" ligatures, it can happen that a "rare" ligature is applied first to one character pair, pre-empting the use of a "common" or ...
2
votes
0answers
57 views

What do the various values of the Ligatures= option of fontspec do?

The fontspec package has a Ligatures option, usually encountered with the value Ligatures=TeX. This enables traditional TeX ligatures (or typing conventions) like mapping --- to an em dash. But what ...
1
vote
0answers
50 views

PDF/A validation with embedded CID font subset caused by ligatures in vector image

Objective and Workflow I want to produce a PDF/A-2b compliant PDF document with pdfLaTeX using the Package pdfx. The target document includes PDF vector images, which are exported from SVG sources ...
1
vote
0answers
24 views

order of ligature in metafont

How are ambiguities in ligature resolved by metafont ? Say I have ligtable letter1 : letter2 =: letter12; ligtable letter2 : letter3 =: letter23; If a sequence "letter1 letter2 letter3" appears, ...
0
votes
0answers
35 views

ligtable in metafont

I would like to combine three characters, should they appear consecutively, and replace the three with a single glyph (which is pre-defined). Is it possible to use ligtable to do it in a metafont file ...
3
votes
1answer
63 views

“Rare” ligatures in LuaLaTeX and LMR font

How do I get "Rare/Discretionary" ligatures with the Latin Modern Roman Font in LuaLateX? So far I have loaded the fontspec package and have tried several different approaches the most promising ...
4
votes
1answer
134 views

Use Fira Code font with ligatures in code listings

I would like to use the Fira Code OTF font for code listings and verbatim blocks, which has beautiful ligatures. The font loads correctly using the following line: \setmonofont{FiraCode-Regular} ...
9
votes
1answer
127 views

How can I define my own ligatures in lualatex?

Why are my ligatures not working? \documentclass[12pt,a4page]{article} \usepackage{fontspec} \setmainfont[FeatureFile=pytanie.fea, Path = /usr/share/fonts/dejavu/, Extension=.ttf]{DejaVuSerif} ...
1
vote
1answer
44 views

XeLaTeX: discretionary ligatures with discretion

Say I have turned on 'discretionary' ligatures with \fontspec[Ligatures=Rare]{Junicode} but want to disable the st and the ct ligatures; is that possilbe?
1
vote
0answers
71 views

Ligatures for helvetica font

I am using helvetica {phv} as secondary font in one of my project. In that I need fi and fl ligatures on. Can anyone help me how to keep the liguatures on. Thanks S. Vinay
1
vote
1answer
45 views

Getting the ligatures in Wyld to work

The Caslon revival Wyld http://orbitals.com/programs/wyld.zip has ligatures, but I can't get them to work. I tried moving them to the standard unicode position with fontforge, and even added ...
3
votes
0answers
119 views

Copying ligatures from XeLaTeX PDF

For quite a while I am having the problem that copying and searching from my PDFs is a bit difficult as ligatures are not properly translated. I am using XeLaTeX with Libertine/Biolinum. I am a ...
11
votes
4answers
569 views

How to get old-style ligatures in plain TeX

I would like to typeset text with old-style ligatures like st, ct, is, es etc, but without the use of command sequences, e.g. street or construction instead of \st reet or constru\ct ion in Plain TeX. ...
1
vote
0answers
60 views

Cap ligatures in Adobe Arno Pro won't compile [closed]

Hi and best wishes for 2016. I've got an issue with the 'RA' ligature. The font I use – Adobe Arno Pro – contains a beautiful liason between the bottom serifs of capital R and A that used to complie ...
2
votes
1answer
41 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 ...
9
votes
1answer
76 views

\@ifnextchar breaks kerning when expanded

I've defined a macro for an initialism (abbreviation) with periods, making sure that an end-of-sentence period is not printed twice: \gp prints "G.P." and \gp. prints "G.P." Here's an M.W.E.: ...
3
votes
2answers
89 views

How to unset default Ligatures=TeX for main font? (TexLive2015)

As of TexLive2015 (as opposed to TexLive2013) fontspec predefines Ligatures=TeX. This results in double quotes being replaced by curly quotes. How can I disable this behavior? \documentclass{article} ...
2
votes
1answer
257 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 ...
2
votes
2answers
103 views

Change em-dash character in an OpenType font with xetex

In a (OTF) font I'm using with xetex, loaded with the mapping=tex-text option, I found that the em-dash character is too thin, so I would like to replace it with a heavier one. For example, suppose I ...
1
vote
0answers
70 views

Ligatures Stopped Working in XeLateX

I was recently writing a beamer presentation using Xelatex to load Arial Narrow as the font (work insists on Arial Narrow!), and using Ligatures=TeX to ensure double hyphens and quotations marks are ...
4
votes
1answer
79 views

Ångström sign not outputting correctly with libertine OT1 font

I have this document: \documentclass{article} \usepackage[OT1]{fontenc} \usepackage{libertine} %\UndeclareTextCommand{\l}{OT1} %\DeclareTextSymbolDefault{\l}{T1} %\UndeclareTextCommand{\AA}{OT1} ...
25
votes
2answers
6k 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: ...
7
votes
2answers
201 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 ...
12
votes
2answers
935 views

ligature with special characters: fī

I am using a lot of special characters such as ā, ī, ū, š, ṣ, ḥ, ḫ and so on. I just spotted that sometimes this causes problems with ligatures for example the fi-ligature, if the dot on the i is a ...
10
votes
2answers
107 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 ...
6
votes
1answer
80 views

Package 'showhyphens' won't show actual hyphenation points for words with ligatures

What exactly does the package showhyphens tell us about hyphenation points? According to its documentation, it "will show all possible hyphenation points". But when the word contains a ligature, it ...
1
vote
0answers
48 views

How can I manually implement a ligature for a certain font (with XeLaTeX)? [duplicate]

I want to use a font which contains glyphs for some common ligatures (fi, fl, ff, ffi, ffl) and actually needs them to avoid ugly collisions. However, for some reason they are not accessible via any ...
3
votes
2answers
125 views

Fonts that combine special characters as ligature

In german, there are three special characters ä,ö and ü that are often written as two: ae,oe,ue. Is there a font, that shows an "ä" whenever the letters "ae" appear? I thought this would be ...
2
votes
2answers
54 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
173 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}, ...
7
votes
2answers
513 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 ...
11
votes
1answer
3k 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
164 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 ...
41
votes
4answers
10k 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
476 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
550 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
181 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
67 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
155 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
115 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 ...