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

learn more… | top users | synonyms

8
votes
1answer
737 views

Ligatures in figures and pdftex

In the following example, the 'ff' ligature in the figure labels (in 'differential') disappears when pdflatex is used, but the fault does not occur if latex-dvips-ps2pdf is used instead. Both lualatex ...
16
votes
1answer
652 views

babel shorthand "| doesn't work in macros

The package babel with the ngerman option (and most other languages as well, but not english) provides the shorthand "|, which prevents a ligature at the given position (see p. 81 of the babel ...
13
votes
4answers
516 views

Which ligatures do the fonts used in my document offer?

This is a follow-up question to: How do I know which ligatures are used in my document? In order to know which ligatures I might consider disabling (I have in mind microtype's \DisableLigatures ...
35
votes
1answer
2k views

Make ligatures in Linux Libertine copyable (and searchable)

I'm currently working on an essay written in LaTeX form. I'm facing problems with ligatures - in my pdf output (rendered using pdftex) opened in Adobe Reader I get X's and V's when copy-pasting words ...
37
votes
2answers
1k views

Can one (more or less) automatically suppress ligatures for certain words?

One of the major attractions -- for me at least -- of typesetting my papers in (La)TeX is its automated and fully transparent use of typographic ligatures. However, as Knuth pointed out in the ...
51
votes
1answer
3k views

Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text?

This is a problem I've had consistently with XeLaTeX. Here's a small example: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX,Numbers={OldStyle,Proportional}]{Minion Pro} ...
23
votes
2answers
591 views

Porting the luatex/ConTeXt module “translate” to lualatex

In this question, which I posted a few weeks ago to TeX Stack Exchange, I asked how one should go about disabling specific ligatures (such as ff, fi, fl, and ffl) automatically for a list of ...
15
votes
2answers
813 views

Suppression of a ligature in XeLaTeX

I'm trying to reproduce an old book with XeLaTeX, and it has the ct ligature but not the st ligature. The Ligatures=Rare option seems to turn either both on or off. Is there a way to select which ...
31
votes
3answers
6k 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 ...
17
votes
3answers
4k views

How to enable ligatures for emdash/endash in LuaTeX ?

I cannot switch on ligatures for emdash (---) and endash (--) in LuaLaTeX. Here is my test file: % !Mode:: "TeX:UTF-8" \documentclass{article} \usepackage{fontspec} ...
5
votes
3answers
1k views

How to make the rmligs script available globally on Windows?

Hopefully on-topic as about "(La)TeX related software and tools" I just learned about the rmligs script. Since it isn't available through MiKTeX (and neither through TeX Live), I downloaded the ...
15
votes
4answers
590 views

How to suppress the operation of a luatex-defined macro on a string if the string is part of macro or a label

I'm working towards creating a lualatex-based package that lets users automatically suppress the use of ligatures (for now, ff, fi, fl, ffi, ffl, and ft) for selected words. (For background see this ...
27
votes
4answers
3k views

How can I completely suppress ligatures?

The microtype package allows to completely suppress ligatures. However, this feature requires pdfTeX 1.30 or newer. That's unfortunate if I'm using LaTeX or XeLaTeX while having to avoid ligatures. ...
19
votes
1answer
697 views

Placing the un-ligatured text in the OCR layer

I was reading Why can't "fi" be separated when being copied from a compiled pdf? and had a thought: I know that v1.4 and up PDF documents have an OCR layer. Would it be possible to have ...
27
votes
4answers
533 views

Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?

I'm starting to put together a LaTeX package, which I hope to distribute broadly, that provides lualatex code to disable ligation of character pairs and triplets for selected words (globally within ...
28
votes
1answer
795 views

In lualatex, hyphenation doesn't seem to work for words that contain certain ligatures

It would seem that hyphenation does not work properly under LuaLaTeX if the hyphenation points occur at places where TeX inserts ligatures. Consider the following MWE, which (i) provides hyphenation ...
7
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} ...
5
votes
2answers
853 views

Removing ligatures when using fontspec

This is a follow-up question to Currency symbol: French franc. Consider the following code: \documentclass{article} \usepackage{fontspec} \usepackage{siunitx} \DeclareRobustCommand*{\myfranc}{% ...
23
votes
2answers
1k views

Ligature suppression with proper hyphenation and comprehensive word list?

[Update: It's been pointed out that my question(s) here weren't clear (or were too hidden). So I inserted red stars at the points where the questions appear.] In The TeX Book, D.E.K. gives "shelfful" ...
27
votes
2answers
950 views

Suppress certain ligatures generally

Whether or not certain ligatures should be used (if available in a font) is a least in theory depending on the language used. For example traditional German texts would not have an "ffl" ligature but ...
13
votes
1answer
607 views

Can we make ligatures copy-and-pastable? [duplicate]

Is there a straightforward way to make ligatures more copy-and-pastable? I know that by using \usepackage[t1]{fontenc} that many glyphs like accented and umlauted characters become ...
17
votes
2answers
3k 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: ...
15
votes
2answers
643 views

Easily assign undefined ligatures with pdfLaTeX?

Ulrike Fischer showed how Linux Libertine's special ligatures are accessible. Even though she also pointed me at a chapter of the LaTeX Graphics Companion, I'm not really sure how to get these ...
8
votes
0answers
234 views

Can't generate ligatures with LuaLaTeX under TeXLive 2014 when using certain fonts

Consider the following MWE: % !TEX TS-program = lualatex \documentclass{article} \listfiles \usepackage{fontspec} \setmainfont[Ligatures={Common,Rare}]{Hoefler Text} \begin{document} ff fi fl ffi ffl ...
7
votes
1answer
323 views

How do I know which ligatures are used in my document?

In order to know which ligatures I might consider disabling, I would like to know which ones are actually used in my document. (Which ligatures are provided by a font is a more general question; I ...
12
votes
4answers
1k 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 ...
9
votes
1answer
607 views

Disabling selected ligatures with microtype

With a font in T1 encoding, using pdfTeX and the package microtype, I'd like to disable the ligatures for "ff" and "ffi", but keep the ligature for "fi". If I type in the preamble ...
4
votes
2answers
345 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 ...
23
votes
1answer
499 views

How can I highlight ligatures?

I'd like to highlight all the ligatures used in a document similar to the image below as an attempt to show off some of TeX's tender loving care for the font being used. Is there a way to do this ...
13
votes
5answers
5k views

LaTeX font for 18th century English

I am busy typesetting a book for guntenberg.org and I would like to keep as far as possible close to the original style. The book was written in 1787. Here is an extract. Is there a similar font ...
10
votes
2answers
649 views

pdf files show “fi”, but searching for or copying them does not work

When I pdflatex text containing "fi", e.g. "infinite", the resulting pdf-file looks correct, e.g. "infinite" is shown in the text. But when I search the pdf file for "infinite", 0 occurrences are ...
38
votes
1answer
978 views

How to suppress a “Rare” ligature that pre-empts a “Common” ligature for the same character pair?

In several documents I'm creating with LuaLaTeX (using MacTeX2012 on a Mac that's running MacOS X 10.7.5), I primarily use the Adobe-issued font Garamond Premier Pro as the main text font. I use this ...
13
votes
3answers
2k views

Ligatures in Hoefler with XeTeX?

Using XeLaTeX on OS X 10.6 (texlive installed with MacPorts) I'm not getting any ligatures with Hoefler. Example code: \documentclass[10pt]{article} \usepackage{fontspec,xltxtra} ...
12
votes
1answer
275 views

Ligature suppression algorithm fails if the word in question contains an Umlaut (dieresis) before the ligature

This is a follow-up posting prompted by Taco Hoekwater's recent excellent answer to a question I posed a few months ago. It concerns the use of the ligature suppression algorithm for words (mainly, ...
9
votes
2answers
299 views

How do I customize a LuaLaTeX cmap?

I'm working on a system that uses database content to produce PDFs in a variety of languages. I'm currently working on Armenian. What we've developed so far uses pdfLaTeX. I made a special encoding ...
10
votes
2answers
760 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 ...
7
votes
1answer
133 views

What is happening to the quotes?

Here is my MWE: %!TEX TS-program = xelatex \documentclass[a4paper]{report} \usepackage{xltxtra} \defaultfontfeatures{Mapping=tex-text} \setromanfont{Times New Roman} \begin{document} ``abcde'' ...
7
votes
1answer
463 views

Using ligatures from libertine for roman numerals in pdftex

I am using the Linux Libertine font through the libertine-legacy package with pdftex. This font contains nice ligatures for roman numerals, e.g., \LibertineGlyph{tworoman} gives ii. Now I want to use ...
7
votes
1answer
150 views

Dealing with word boundaries in a pl file

What is the easiest way to express replacement rules like “If a letter follows, replace ‘s’ by ‘ſ’” and “If a non-letter/word-boundary follows, replace ‘g’ by ‘g.final’” in a pl file? Context I am ...
6
votes
3answers
1k views

Problem of Arabic numbers in math mode with 'New TX' math font option [Libertine] compiled by XeLaTeX

Recently i decided to use the Libertine font to write my dissertation, because finally there is kinda math font for Libertine: \usepackage[libertine]{newtxmath}. Since I want to enable of the ...
3
votes
1answer
196 views

How I can add my own language [closed]

I wrote an artificial language (conlang). What I can add my own language in LaTeX? Conlang has more letters than English (utf8 and some ligatures) and specyfic hyphenations. Where is simple/minimal ...
1
vote
0answers
47 views

How to use en-dash with Cambria fonts? [duplicate]

When using non-TeX fonts in LuaTeX I can produce en-dashes in the usual way by typing two dashes together --: \documentclass{article} \usepackage{fontspec}%use luatex \setmainfont{Cambria} ...
13
votes
4answers
541 views

How can I separate an fl ligature in Libertine?

I am having trouble to understand the ligatures behaviour of the Linux Libertine font. I want to use all ligatures that are possible to have (Ligatures={TeX}) but would like to disable single cases. ...
11
votes
1answer
205 views

How to use fontspec with opentype fonts when ligatures are a separate font

I am just learning LATEX. Have been wanting to for years, doing quite well (at 60) and many years of programming are making it a joy! I am using fontspec to load some fonts directly from a ...
10
votes
2answers
1k views

How to make page numbering with ligature roman style?

I use roman page number for front matter, I was just wondering, is it possible to make these roman numbers as ligature? See. Roman: and roman:
8
votes
2answers
514 views

Removing ligatures for small caps in TeX4HT

The Amazon Kindle has a default font which features small caps and ligatures, but not ligatures for small caps. For this reason, when it sees ligatures (even common ones, such as "ff"), it renders them ...
7
votes
2answers
783 views

Triple f-ligatures for urw-garamond

I am setting the following in my preamble: \usepackage[urw-garamond]{mathdesign} \usepackage[T1]{fontenc} I find that the ffi and ffl ligatures aren't available in urw-garamond. As advised in this ...
5
votes
3answers
707 views

Controlling fontspec to use certain font features for different fonts in one document

I'm using the font Fontin to prepare a document and have come across a problem when using the discretionary ligatures. The regular font supports the discretionary ligatures, but the bold and italic ...
3
votes
1answer
459 views

Activating ligatures with typescript in ConTeXt (MkIV)

I've have the following example where i try to enable ligatures for the font Kaffeesatz \definefontfeature[yanone-default][mode=node, kern=yes, liga=yes, dlig=yes] \starttypescript [sans] [yanone] ...