New answers tagged fontspec
1
vote
Accepted
luaotfload fails during compilation but luaotfload-tool doesn't
The class loads newtxtext which does some disputable settings.
One is that it sets \defaultfontfeatures in some way that disallows loading other fonts; the other is that it does \setmainfont at begin ...
1
vote
luaotfload fails during compilation but luaotfload-tool doesn't
Seems a problem with mla class and the loading of package newtxtext: it looks for the OpenType version and not TrueType.
This works for me:
\setmainfont{ScheherazadeNew-Regular}[
Script=Arabic,
...
1
vote
fontspec crashes with undefined control sequence from \strongfontdeclare
All it took was an update from the MikTeX console [he reported sheepishly].
3
votes
Accepted
Fontspec and \readline produce trailing blank symbol
It's not fontspec. If you remove it, together with \newfontfamily and \myfont, you get, with pdflatex,
The reason is that the endlines are converted to the character having code 13, which in the ...
1
vote
Accepted
LuaLaTeX font fallback configuration
Thanks to @cfr I was able to figure it out for my current TEXLive 2024 installation on Mac OS X and finally came up with this solution:
\documentclass[margin=1cm,varwidth]{standalone}
\usepackage{...
0
votes
Font shape warnings in LuaLaTeX but not XeLaTeX
After taking in the comments and answers I think the following is what I needed to know.
Although I did not say so initially, I want to be able to access various members of the Arial system font on ...
2
votes
Font shape warnings in LuaLaTeX but not XeLaTeX
There's a difference in whether the system defaults to faking bold or slanted fonts when a designed bold is not available.
Produced with luatex with
\documentclass{article}
\usepackage{fontspec}
\...
6
votes
Accepted
Font shape warnings in LuaLaTeX but not XeLaTeX
In general, fontspec will try to guess the appropriate fonts to switch to for common changes such as regular/bold weight, upright/italic shape etc. However, it is not unusual for its guesses to be ...
2
votes
How can I fix the rendering of these glyphs in stix2?
\documentclass[12pt,twoside]{report}
\usepackage[a4paper,width=150mm,top=30mm,bottom=30mm,bindingoffset=6mm]{geometry}
\usepackage{siunitx} % needed for units
\usepackage{unicode-math}
\...
2
votes
Accepted
How can I fix the rendering of these glyphs in stix2?
The siunitx package defines \micro as \siunitx_declare_prefix:Nnx \micro { -6 } { \__siunitx_unit_non_latin:n { "03BC } } which is an upright mu. The stix2 font doesn't have that character.
You ...
0
votes
fontspec not recognizing custom bold font
I recently had the same problem on my Linux machine. I resolved the problem by installing a version of the B Nazanin.tff file containing all the Regular, Bold, and Italic font faces.
I used the ...
1
vote
how can I use any Ethiopic/Ge'ez writing in Latex?
Here is an alternative approach with babel (both xelatex and lualatex):
\documentclass{article}
\usepackage[english]{babel}
\babelfont[geez]{rm}{AbyssinicaSIL-Regular.ttf}
\begin{document}
\section*...
Top 50 recent answers are included
Related Tags
fontspec × 2310fonts × 942
xetex × 847
luatex × 616
unicode-math × 127
polyglossia × 108
opentype × 80
unicode × 77
ligatures × 74
math-mode × 69
small-caps × 69
fontsize × 64
luaotfload × 57
font-encodings × 56
microtype × 45
babel × 43
miktex × 42
beamer × 39
libertine × 39
spacing × 36
errors × 36
symbols × 35
overleaf × 35
bold × 35
math-fonts × 31