36
votes
Accepted
Questions regarding the distinction between XeTeX and XeLaTeX and how they relate to TeX and LaTeX?
tex
tex is an executable file--a runnable program. By default it has the Plain TeX format preloaded, so when you run tex file.tex it is prepared to read macros defined in plain.tex. It produces DVI ...
34
votes
Accepted
Use Fira Code font with ligatures in code listings
Firstly, you'll need to make sure that Fira Code is installed on your computer (which I'm sure you already do).
The font features that Fira Code uses aren't actually listed as ligatures within the ...
32
votes
Should we give up pstricks?
In my opinion everyone who can should switch to LuaLaTeX. It is much more extensible and therefore much more likely to stay relevant in the future.
To make the transition easier especially for ...
31
votes
Accepted
Why is Latin Modern the default font with xelatex and lualatex?
Latin Modern is closely related to Computer Modern (the other main contender being Computer Modern Unicode) This family of fonts is strongly tied to TeX's history.
Until very recently (2016 release) ...
30
votes
FontAwesome font not found?
On Ubuntu, you can install fontawesome using the following command:
sudo apt-get install texlive-fonts-extra
29
votes
Accepted
XeLaTeX runs slow on Windows machine
I've been wrestling with the same issue too after upgrading TeXLive from 2013 to 2016. Each compilation started to take over a minute and the process monitor showed a lot of font files being read.
...
28
votes
Accepted
How to keep a "rare" ligature from interfering with a "common" ligature?
In my view, the following ligature suppression rules are needed.
In order to enable the fi ligature, suppress the is, iv, and ix ligatures if is/iv/ix is preceded by f;
In order to enable the sp and ...
28
votes
Package fontspec Error: The font cannot be found on win10
Same problem and solved, win10
DONOT double click to install, it will install this font for current user.
right click the font file, choose install for all users
There are two path,C:\Windows\Fonts ...
27
votes
Accepted
XeLaTeX font rendering tend to be slightly bolder compared to PDFlatex
Short answer:
This is an issue specific to PDF viewers on Linux (X11) using FreeType versions ≥ 2.5 (released 2013-06) and < 2.6.2 (released 2015-11). For example, I can reproduce this with evince ...
27
votes
XeTeX logo with reversed E
The package to use is metalogo (which xltxtra loads and uses for the logo).
Don't load xltxtra which does also other things, mostly unwanted.
Besides, metalogo can be used with any engine.
You can ...
25
votes
Accepted
Defining subfamilies for a font
The manual of fontspec mentions the key FontFace. So let's assume your font are
BestFont-ExtraLight.otf
BestFont-ExtraLightItalic.otf
BestFont-Light.otf
BestFont-LightItalic.otf
BestFont-Regular.otf
...
25
votes
Why does inputenc abandon so quickly under "utf8 based engines"?
inputenc is abandoned because it does absolutely nothing with XeTeX or LuaLaTeX. Better said, it would do bad!
See fontenc vs inputenc
Essentially, the task performed by inputenc is translating ...
25
votes
Accepted
Italic went rogue in my document: what happened?
With the recent introduction of MacOSX 10.13 "High Sierra", a number of font families whose "family members" used to be distributed as individual font files are now grouped together in .ttc files.
...
24
votes
Saint abbreviation
Just for fun:
\documentclass{article}
\usepackage{xparse}
\usepackage{fontspec}
\setmainfont{Libre Bodoni}
\NewDocumentCommand{\frabbr}{sm}{%
\IfBooleanTF{#1}{\dofrabbr{}{#2}}{\dofrabbr{\hfil}{#2}...
23
votes
Why choose LuaLaTeX over XeLaTeX?
Since I am a heavy user of tikz/pgf, here are some key points why I always prefer lualatex.
pgfplots works best with lualatex. On a moderate size csv file, both pdflatex and xelatex run out of memory....
23
votes
Accepted
Saint abbreviation
The following should produce what you want. You can use an optional argument to specify another letter than T (e.g. t):
\documentclass[]{article}
\newsavebox\myboxA
\newsavebox\myboxB
\newcommand\...
23
votes
Why is there no XeLaTeX support for arXiv?
I had the same questions a few years ago. However, instead of writing a ranty post and calling the arXiv maintainers names on some site that they will never read, I decided to reach out and offer my ...
22
votes
Accepted
How to make all i's and j's dotless, glyph substitution
Using XeTeX it's quite easy to substitute all text i and j with ı and ȷ. You can use the powerful Teckit mapping engine.
Create the following file dotless.map (make sure it's UTF-8). This is the ...
22
votes
What are the downsides of using XeTeX?
Let me give a biased answer to the question in the title with some reference to the other questions in the body of your post.
XeTeX is currently unmaintained or has an inactive maintainer which is ...
21
votes
FontAwesome font not found?
You just need to install (by double clicking) the FontAwesome.otf that comes with MacTeX on the macOs system fonts. (The new fonts downloaded from github didn't work for me.)
My FontAwesome.otf is in:...
20
votes
Normal text is invisible when using beamer with notes and XeLaTeX
The
\def\pgfsysdriver{pgfsys-dvipdfm.def}
trick kinda worked for me, but it totally messed up the position of my images in my presentation. So I decided to dig a little further and here is what I'...
20
votes
Hiding searchable content in a PDF
With the accsupp package, "Nothing to see here" shows in your document, but "Hidden message" is searchable.
\documentclass{article}
\usepackage{accsupp,lipsum}
\begin{document}
\lipsum[1]
\...
19
votes
Accepted
Create a mapping for transliteration from cyrillic to latin in LuaLaTeX
Edit 10/2017
Here is a new version of the Lua script. It generates the code for Luaotfload, instead of the font feature file, which is not supported anymore. It has also new option --back, which ...
19
votes
Accepted
How to enter 🅱 in latex
The Apple Color Emoji font that contains this particular character doesn't encode its glyphs as regular characters and can't be used. See Emoji Characters. There seem to be very few fonts which ...
18
votes
Accepted
TeX (LuaTeX, XeTeX, fontspec) support for OpenType variable fonts
It is supported in luatex now(version 1.13.0):
\documentclass[a4paper,12pt]{article}
\usepackage{fontspec}
\defaultfontfeatures{RawFeature={+axis={wght=100}}}
\setmainfont[
ItalicFont=...
18
votes
Accepted
Why does microtype claim that it cannot disable ligatures?
If you have a look at the microtype manual you will find:
The box with the information "pdfTeX 1.30.0|LuaTeX 0.30" tells you, that disabling ligatures with microtype does only work for pdfTeX from ...
17
votes
Accepted
Why can't XeTeX handle this dank meme?
The reason is that dank.jpg does not have JFIF, or Exif header.
So jpeg driver of XeTeX cannot read density and assumes
that it is 1DPI. Thus it becomes very large.
The jpeg driver of pdftex also ...
17
votes
Accepted
Proper pronunciation of XeTeX, XeLaTeX
From a TUG interview with Jonathan Kew, the original author of XeTeX:
DW: Of course, other readers and I could look at your XeTeX web
site, but perhaps you can also tell us something about ...
17
votes
Accepted
Why Does Word Spacing Change Drastically When Using Libertine/Libertinus with the Various LaTeX Engines?
If you add
\typeout{\the\font}
\typeout{\the\fontdimen2\font} %space
\typeout{\the\fontdimen3\font} %stretch
\typeout{\the\fontdimen4\font} % shrink
\typeout{\the\fontdimen7\font} % punct
after \...
17
votes
Accepted
Are there cases where fontenc + luatex (or xetex) cause problems?
fontenc is loaded by fontspec (you can check this in the log). So in itself the package is not a problem.
But fontenc is a special package: You can load it more than once with different options ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xetex × 5524fonts × 1001
fontspec × 827
luatex × 439
polyglossia × 304
pdftex × 302
unicode × 240
unicode-math × 236
tikz-pgf × 199
math-mode × 174
beamer × 154
graphics × 149
pdf × 146
hyperref × 129
miktex × 120
biblatex × 115
errors × 112
texlive × 110
pstricks × 106
arabic × 105
symbols × 99
cjk × 97
spacing × 88
languages × 87
tables × 86