Skip to main content

Questions tagged [fontspec]

{fontspec} is a package for loading {opentype} fonts in XeLaTeX and LuaLaTeX.

1 vote
0 answers
91 views

Why does LuaLaTeX find fonts but XeLaTeX does not?

I am back to using LaTeX after a while, and I have a very basic question. I am on MacOS, so I installed MacTeX and TeXstudio and everything works perfectly fine! But this puzzles me. I am compiling an ...
DaniCee's user avatar
  • 2,267
0 votes
0 answers
49 views

How can I print an uppercase modern xi?

Yeah, basically what the title says. I want to stack two letters Z on top of each other in order to get something like this, and then replace the \Xi command with that (of course, without using ...
Cadena Spoke's user avatar
0 votes
0 answers
27 views

Enabling smallcaps with a custom font [closed]

I wish to use \textsc{small caps} with the Minion Pro font. To use Minion Pro, I use the fontspec package: \usepackage{fontspec} \setmainfont[ BoldFont = {MinionPro-Bold}, ItalicFont = {MinionPro-It}...
trivial math is difficult's user avatar
2 votes
0 answers
35 views

Size Features for variable fonts have non consistent output

Edit: Thinking about it, I opened a bug report: https://github.com/latex3/luaotfload/issues/291 TeXlive 2024, up-to-date, on Linux machine I'm experimenting with size features according to the ...
Keks Dose's user avatar
  • 31.6k
0 votes
2 answers
60 views

How to set sans and mono fonts with \newfontfamily?

Consider the following example. It works exactly like expected: \documentclass{article} \usepackage{fontspec} \setmainfont{KpRoman-Regular.otf} \setsansfont{NewCMSans10-Book.otf} \setmonofont{FreeMono....
Niranjan's user avatar
  • 3,571
1 vote
4 answers
68 views

The italic version of the "Raleway-Medium" font

While I am trying the raleway font, I am looking for the italic version of Raleway-Medium font. This command (a MWE) give me the Raleway-Medium font, how do I make it italic? {\fontspec[Path = ...
user1935724's user avatar
  • 1,369
6 votes
1 answer
128 views

Why filenames defined through expl3 strings don't work with \setmainfont?

With the following MCE, we see that filenames can be defined through either (expl3) token lists (..._tl) or strings (..._str) for \input: both work. By contrast, for \fontspec's \setmainfont, only ...
Denis Bitouzé's user avatar
4 votes
1 answer
42 views

Unexpected Interaction between fontspec, NFSSFamily and LetterSpace

For a project, we need to letter space some phrases in capital letters. Since we want it to work in xelatex as well, we cannot use microtype. But we should be able to use a local font spec setting to ...
daleif's user avatar
  • 56.1k
0 votes
2 answers
52 views

How can I write Bengali words without affecting any other font of my article?

I want to write Bengali words and phrases within my English article in LaTeX. However, the problem is that whenever I try to use any package for Bengali, it immediately changes the English font of my ...
Nahid Hossain Shihab's user avatar
1 vote
0 answers
53 views

Why Won't the GNU FreeSerif Font Display Bold in Windows?

I've conducted an extensive search of free substitutes for Times New Roman, and after detailed comparisons, I've decided the FreeSerif font from the GNU FreeFonts is the best substitute. Of course, ...
CodeLurker's user avatar
0 votes
1 answer
62 views

How to switch from fontenc to fontspec to use special characters without changing the document's overall formatting?

I'm trying to write an article using this Overleaf template: Instructions for COLING 2025 Proceedings The template suggests using pdfLaTeX by default, but suggests that XeLaTeX is also acceptable as ...
AdeDoyle's user avatar
  • 117
5 votes
4 answers
325 views

How to check if a font exists with pdflatex?

When using XeTeX or LuaTex and fontspec, one can use \IfFontExistsTF{font name}{yes code}{no code}. What would be the best way to test if a font exists/can be loaded when fontspec is not available (...
Vincent's user avatar
  • 5,801
0 votes
2 answers
45 views

How to eneable these characters in fontspec (knockout arrows) [duplicate]

How can I eneable the following characters with fontspec? I want to use the arrow with the rounded circle. Thanks in advance,
Rafael Benítez Mozos's user avatar
1 vote
2 answers
37 views

Does fontspec.sty [Scale=<n.m>] require grouping?

I needed the "fluid ounce" glyph from the Apple Symbols typeface. I thought it a bit too large, so scaled it using fontspec [Scale=0.9] The scaling seems to apply to all fonts when the use ...
sgmoye's user avatar
  • 9,041
0 votes
0 answers
82 views

How to update fontawesome 5 to 6?. Renaming FontAwesome6 or using fontspec (with XeLaTeX)

For updating Font Awesome icons 5 to 6, I think may be two ways 1.- As the documentation of Font Awesome 5 package shows, downloiad the new FontAwesome6 files and renaming Renaming files and putting ...
Mika Ike's user avatar
  • 3,801

15 30 50 per page
1
2 3 4 5
157