Questions tagged [ligatures]

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

Filter by
Sorted by
Tagged with
9
votes
4answers
582 views

Burmese and LuaLaTeX

I am working with a project which requires LuaLaTeX (TeX Live) and the Noto Serif Myanmar font. I need a few words of Burmese only. The MWE works well with XeLaTeX. But LuaLaTeX has a problem with the ...
1
vote
0answers
14 views

Emdash in LuaLaTeX [duplicate]

Can someone explain the differences in how an emdash is rendered by LuaLaTex from this code? \documentclass{article} \usepackage{fontspec} \setmainfont{TeX Gyre Pagella} \begin{document} Lorem ipsum--...
27
votes
1answer
2k views

Complex ligatures in Devanāgarī

Ligatures are known to the Western European languages, however it isn't that common to spot vertical or complex form of them. As an exercise in typography I tried to get some complex ligatures in ...
31
votes
2answers
2k 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" ...
2
votes
1answer
52 views

Coloring the characters of a ligature, without breaking the ligature

The TeX file \documentclass[12pt]{article} \begin{document} ffi \end{document} produces the following ligature when compiled to PDF: Note that ffi is represented by a single special character. ...
14
votes
1answer
816 views

“fF” letter combination seems to be typeset strangely or incorrectly

My book is being copy-edited and the copy editor is complaining about the spacing of fF. I looked carefully at it and was indeed shocked. I had initially incorrectly concluded that there is a ...
1
vote
0answers
76 views

Ligatures with EB Garamond

My minimal non-working example is: \documentclass[12pt]{article} \usepackage{fontspec} \setmainfont{EB Garamond} \begin{document} This is a test. Quisque {\addfontfeature{RawFeature=+hlig}standard, ...
3
votes
1answer
35 views

How to create ligatures for dashes and quotes in cm-unicode fonts in plain xetex?

Process the following file with xetex: \font\tenrm="[cmunrm]" at 10 pt \tenrm ``A''---b--c. \end This is the log: This is XeTeX, Version 3.14159265-2.6-0.99996 (TeX Live 2016/Debian) (preloaded ...
2
votes
2answers
110 views

Is there a “non ligature ‘short f’” in Junicode or EB Garamond?

This is how f and its ligatures look like when using Latin Modern Roman, Junicode or EB Garamond: Note that Latin Modern Roman’s “normal” f is short whereas the other f’s are “long”. Disabling ...
1
vote
0answers
67 views

LuaLaTeX not outputting ligatures in Helvetica Neue TrueType Collection

Consider the following MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{HelveticaNeue.ttc}[ UprightFeatures = {FontIndex=0} ] \begin{document} ff fi fl ffi ffl \end{document} ...
2
votes
1answer
104 views

Creating fused ft and ct symbols from Old English

I am quoting an old document and would like to quote it properly. Any help will be greatly appreciated! Edit: This is the part of the document I need to be in the appropriate format. %---------------...
6
votes
1answer
76 views

xcolor breaking ligatures

In some behind the scenes work for spacing reasons, the pieces of a syllable get split up in gregoriotex and then reassembled for printing. Normally this works fine, but we're running into some ...
1
vote
0answers
123 views

How to enable old ligatures, long s in LaTeX? [closed]

How would you enable quaints (old-style ligatures) in LaTeX? E.g. the st, ct, sp ligatures &c. Is there also a way to contextually put in the long s (ſ)? Keep in mind that Overleaf won't let me ...
0
votes
0answers
78 views

Disabling specific ligatures fontspec

I made changes to something in an (English language) .tex file and discovered all my ss now exported as ß. After some debugging in my version control, there was no clear culprit to undo (maybe a font ...
13
votes
2answers
2k views

N.B. ligature in Latex

Wikipedia mentions a ligature for NB (nota bene), however I can't seem to find any reference to this in the latex literature. Is there a way to use this ligature in my latex document? An example of ...
13
votes
2answers
617 views

LuaTeX and em dashes

LuaLaTeX is not inserting em dashes unless there is space around the triple dash. It works fine when using a unicode em dash, or explicitly using the \textemdash macro. Here is a MWE: \documentclass{...
2
votes
2answers
61 views

losing ligatures when switching font series or color in the middle of a word

For pedagogical purposes, I would like to highlight some characters in a word, through bold or red color or whatever will work. Because I use handwriting fonts (German Schulschriften wedn and French ...
4
votes
1answer
145 views

Libertinus font on ubuntu, installed version vs. github version

I'm using the libertinus font family with the latest version coming from github. However, the font is also installed on my system, but I stopped using this version since there was a problem with the ...
4
votes
2answers
370 views

Make a ligature by deleting part of a letter

I'd like to display a ligature of an A and an L where the A is followed by the bottom 'bar' of the L to form a ligature. Essentially, it would be like the following, without the vertical bar of the L. ...
4
votes
3answers
225 views

LuaLaTeX + fontspec + IM FELL not providing long s

I'm attempting to get a font (any font) which automatically switches s for ſ in the middle of words. Following a number of suggestions I've found on StackExchange, I'm using IM FELL DW Pica PRO (from ...
30
votes
4answers
778 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 ...
3
votes
0answers
171 views

Suppress Fira Code ligatures involving “{” and “}” in verbatim

I am trying to improve the current implementation (v0.1b) of the lstfiracode package. In particular, I wish to achieve the opposite of Use Fira Code font with ligatures in code listings. ...
4
votes
1answer
117 views

How to type — or >> in minted?

If I try to type -- or >> (resp. <<), LaTeX puts them together and makes one big -, respectively guillemets. How can I change that behavior? I have to use LuaLaTeX to compile my source. \...
3
votes
1answer
121 views

Problems with ligature and libertine font -

I cannot post a comment under my previous question so (i fixed some files because i misunderstood somethings, but there is a problème with tt => fl in sffamily not smallcaps and it seems it cannot do ...
1
vote
1answer
66 views

Ligatures generated by tex4ebook inconsistently supported

As a followup to htlatex, garamond fonts, and nulled "ff" and "fi" strings on getting ligatures working correctly with tex4ebook, I've managed to get ligatures to not be replaces ...
9
votes
1answer
758 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 ...
2
votes
0answers
121 views

Should one use fourier with erewhon?

Consider the following MWE. \documentclass[a4paper]{scrartcl} \usepackage{fourier} \usepackage{erewhon} \begin{document} This is my offer. \end{document} The output looks as follows: If ...
1
vote
1answer
155 views

Problems with ligatures

I have some problems to make ligatures (not) work in epub. my MWE : \documentclass[10pt,a5paper]{book} \usepackage[french]{babel} \usepackage{libertine} \usepackage[T1]{fontenc} \usepackage[utf8]{...
7
votes
1answer
274 views

Ligatures with Libertine: issue with pdflatex (and Windows)

If you compile the piece of code given below using pdflatex, then open the resulting PDF file with your preferred viewer, copy the word "efficient" and paste it in a text editor, you will read "...
5
votes
1answer
93 views

Replace ligature in bookmarks

I am trying to replace the s: ligature in the bookmarks by just an s. This is needed as my document is written using a fraktur font, but the colon appears inside the bookmarks as they are not in ...
53
votes
3answers
21k 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: \...
51
votes
4answers
22k 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 ...
49
votes
3answers
2k views

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

This question led to a new package: selnolig 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 ...
1
vote
0answers
57 views

Ligatures gets printed with the wrong thickness

I am writing my masters thesis project in LaTeX and is enjoying it so far. However, when printing some of the pages for review, I noticed that ligatures seems to be printed with the wrong weight and ...
3
votes
1answer
96 views

Ligature containing hyphen breaks previous ligature (LuaLaTeX)

I made a font for functional harmonic analysis in music which contains ligatures and other OpenType “magic”. TobiW at this thread on a german-speaking typography forum showed me how to use the font ...
7
votes
2answers
2k 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} \...
14
votes
4answers
4k views

How do I disable ligatures?

I am writing my dissertation in LaTeX I am faced with this odd situation that if 'f' character has another character (f, i or l) next to it, it sticks the two together as can be noted below. This ...
3
votes
0answers
494 views

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

EDIT 7/6/2018: The problem described below apparently was a bug in Apple's PDFKit and it seems that as of macOS High Sierra 10.13.5 they finally fixed it! Ligatures in the MWE below are not encoded ...
4
votes
1answer
112 views

Why I do not have ſ in XeTeX/fontspec?

I am trying to get the ligatures with long s, the ſ with Cormorant Garamond but this does not appear... My code: \documentclass[12pt]{book} \usepackage{fontspec} \setmainfont[Extension={.ttf}, ...
3
votes
1answer
60 views

How can I redefine germanb.ldf-shorthand "| for italics only?

germanb.ldf defines the very useful shorthand "| as \declare@shorthand{german}{"|}{% \textormath{\penalty\@M\discretionary{-}{}{\kern.03em}% \allowhyphens}{}} to be used by \usepackage[...
16
votes
1answer
303 views

Properly breaking up ligatures using selnolig / LuaLaTeX

Currently I use the selnolig package together with LuaLaTeX to automatically break up ligatures. This works quite well regarding the fact that ligatures get broken up at the right places. Note however,...
2
votes
1answer
95 views

Khmer: ligatures break if XeTeXlinebreaklocale is turned on

When generating documents in Khmer, we noticed that some ligatures do not work. We found that turning off XeTeXlinebreaklocale fixes all ligatures, however this causes problems with linebreaks, and ...
14
votes
2answers
1k views

Discretionary hyphen destroys kerning and ligature

Consider the following example (plain TeX format): VA fi\par V\-A f\-i \bye I tried TeX, pdfTeX, XeTeX, and LuaTeX, but the second line looks the same as the first line only when using LuaTeX. My ...
5
votes
2answers
374 views

ffi ligature in Libertinus italic

\documentclass{article} \usepackage{fontspec} \setmainfont{Libertinus Serif} \begin{document} Affine finance \itshape Affine finance \end{document} Why is no ffi ligature applied in the ...
1
vote
0answers
201 views

Failing search for words with ligatures after update [closed]

After updating my MikTeX distribution couple of days ago I discovered that search for words with ligatures (such as "fi" in prefix), which has worked before, fails. Here the MWE illustrating the ...
1
vote
3answers
141 views

“native” math ligature with OpenType feature

With package semantic, one can easily produce special math symbols via ligature (e.g. -> becomes \rightarrow). In OpenType, however, there are similar things. For example, the Fira Code font ...
3
votes
0answers
201 views

Missing “tt” Ligature

I'm getting bitten by the unfortunate fact that most TeX fonts have an "ff" ligature, but no "tt" ligature. In my field of research, we often denote logical truth by \textbf{tt} and falsehood by \...
8
votes
2answers
442 views

Searchable and copyable small caps, ligatures and umlaut in PDF created by XeLaTex

I have several issues with searching and/or copy-pasting text from my PDF created with XeLaTex. Consider the following MWE, the PDF search gives me no results for certain words. \documentclass[% ...
49
votes
3answers
2k 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 ...
5
votes
1answer
780 views

Constructing general ligatures

I know that LaTeX has macros \ae, \oe etc. for the standard ligatures (i.e. æ, œ). Is there a more general way to construct ligatures in the equation environment? I'm working in the language of ...