Questions tagged [ligatures]

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

Filter by
Sorted by
Tagged with
12
votes
4answers
1k 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
105 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
122 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 ...
12
votes
1answer
939 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 ...
8
votes
1answer
94 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
3answers
797 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
2answers
291 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
364 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 ...
5
votes
1answer
3k 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} %\...
6
votes
1answer
115 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
61 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 ...
2
votes
2answers
461 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
146 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
621 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}, ...
10
votes
2answers
145 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 ...
8
votes
2answers
2k 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 ...
5
votes
1answer
451 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 ...
6
votes
1answer
609 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} \defaultfontfeatures{...
1
vote
1answer
140 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 ...
4
votes
2answers
160 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 ...
14
votes
1answer
212 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 ...
6
votes
1answer
243 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
137 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
1k 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" ...
15
votes
2answers
783 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} affinity\...
8
votes
1answer
473 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
433 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 ...
7
votes
2answers
3k 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} \...
9
votes
2answers
861 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
318 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} % \...
1
vote
0answers
148 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: ...
18
votes
2answers
1k 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} \setmainfont[Ligatures={Common}]{...
4
votes
1answer
276 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 ...
13
votes
1answer
557 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 ...
7
votes
2answers
387 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
500 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 ...
4
votes
1answer
87 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 "\\hfil}\\...
9
votes
1answer
1k 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
414 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 ...
2
votes
1answer
378 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 ...
4
votes
2answers
1k views

Ligatures missing

The MWE is: \documentclass{article} \usepackage{avant} \renewcommand*{\rmdefault}{\sfdefault} \begin{...
8
votes
4answers
770 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 ...
7
votes
2answers
2k 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 ...
0
votes
0answers
33 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: \...
15
votes
1answer
424 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 ...
2
votes
1answer
689 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
117 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 command/shortcut ...
4
votes
1answer
194 views

setting kerning for a glyph and a ligature

How can one specify in PL-file the kerning for a glyph and a ligature (say, digit and en-dash) except for setting it for the first part of the ligature (which I would like to avoid)?
13
votes
1answer
349 views

Disabling ligatures in section headings

I've redefined my section headings to be \Huge but I don't like the ff and fi ligatures at this size, how can I disable ligatures for sections or above a certain pt size? I'm using pdflatex with the ...
25
votes
1answer
556 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 ...