Skip to main content

New answers tagged

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 ...
egreg's user avatar
  • 1.1m
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, ...
user187802's user avatar
  • 17.4k
1 vote

fontspec crashes with undefined control sequence from \strongfontdeclare

All it took was an update from the MikTeX console [he reported sheepishly].
PaulTanenbaum's user avatar
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 ...
egreg's user avatar
  • 1.1m
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{...
taocp's user avatar
  • 365
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 ...
Blair's user avatar
  • 407
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} \...
David Carlisle's user avatar
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 ...
cfr's user avatar
  • 208k
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} \...
David Carlisle's user avatar
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 ...
Marijn's user avatar
  • 38.9k
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 ...
Mohammad Mahdi Hejazi's user avatar
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*...
Javier Bezos's user avatar
  • 10.5k

Top 50 recent answers are included