16
votes
Accepted
Garamond Italic font: First capital letter looks strange
EB Garamond
I always like to support Open Source/Open License, so consider using OFL Licensed EB Garamond.
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Numbers=Lining]{EB Garamond}
\...
4
votes
Accepted
LuaLaTeX fails to render Nepali properly, how can I fix it?
As Ulrike Fischer answered in the comments, you need the Harfbuzz renderer in LuaLaTeX with Noto Sans Devanagari. Add it as an option when loading Noto Sans Devanagari.
\documentclass{report}
\...
2
votes
Accepted
Package unicode-math Error: Command `\epsilon ` in math range is not(unicode-math) commands
The \epsilon command is a bit too complicated for range=, since it checks what math alphabet you are currently using.
The range= option actually wants names from “Symbols Defined by unicode-math”, or ...
2
votes
Accepted
Lucida font installation
If you want to use fonts with LuaLaTeX, it's sufficient to follow INSTALL-TeX.txt which will also make the LaTeX support package available. If you also want to use the fonts with non-TeX programs it's ...
2
votes
Fatal Package fontspec Error: The fontspec package requires either XeTeX or (fontspec) LuaTeX
Instead of calling pdflatex file call xelatex file or lualatex file as suggested by the fontspec package error message.
1
vote
Accepted
Combine arevmath (or similar) with unicode-math
If you want to use arevmath you can try to use the text font with it as operator font:
\documentclass{article}
\usepackage{fontspec}
\setmainfont{arial}[NFSSFamily=arial]
\usepackage{arevmath}
\...
1
vote
Middle dot/interpunct in text mode with LuaLaTeX
Here is an expl3 version of @AlexG's answer.
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\ExplSyntaxOn
\char_set_catcode_active:n { `\· }
\...
1
vote
Package unicode-math Error: Command `\epsilon ` in math range is not(unicode-math) commands
This code works (with my TeX Live 2022 distribution) for both XeLaTeX and LuaLaTeX:
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{OldStandard-Regular.otf}
\begin{document}
Does ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fontspec × 2043fonts × 822
xetex × 802
luatex × 535
unicode-math × 114
polyglossia × 99
opentype × 73
ligatures × 71
unicode × 66
math-mode × 63
small-caps × 62
fontsize × 58
font-encodings × 45
luaotfload × 44
microtype × 43
miktex × 42
libertine × 38
errors × 35
babel × 35
beamer × 34
symbols × 33
spacing × 29
bold × 28
mathspec × 27
texlive × 26