Questions tagged [fontspec]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
51 views

Is It Possible to Match This Handwritten Brooklyn Font with LaTeX?

I would like to match, if possible, the following handwritten font: I was hoping that Latex offers it, but I could not locate it. QUESTION: Is this particular font available with Latex; perhaps via a ...
  • 5,723
1 vote
1 answer
60 views

Looking for fonts to show handwriting forgery in fiction

I write novels using Latex (luatex). I would like to show a hand written letter written by one of the characters. There is a short sentence at the end of the letter, which has been added by another ...
4 votes
2 answers
254 views

Why UM Typewriter font not working properly?

I compiled this code \documentclass{article} \usepackage{minted, fontspec} \setmonofont{UM Typewriter} %% <--- some problems here (see the next comment). To solve comment it out. \begin{document}...
2 votes
1 answer
68 views

Lualatex: cannot use bold cambria

I use ArchLinux and TeXLive 2022, LuaHBTeX 1.15.0, with cambriab.ttf cambriai.ttf cambria.ttc cambriaz.ttf located in /usr/local/share/fonts/c \documentclass{article} \usepackage{fontspec} \...
0 votes
0 answers
25 views

LetterSpace in font spec does not work

I would like to squeeze the characters within specific words a little bit. (I know it's bad typography , but in this case it is necessary.) I have tried using the LetterSpace feature with \...
  • 233
1 vote
0 answers
52 views

Install IBM Plex fonts in Overleaf

To write my latex projects I use Overleaf (XeLatex). The font family I use is IBM-Plex. A few days ago, the IBM team made an update. On CTAN I found that this font family has had the last update in ...
  • 141
2 votes
2 answers
93 views

Keep Latin Modern as the font used inside math equations

In a Hebrew document, I changed the fonts as in the MWE below. The thing is that when I have some text typed inside \text{…}, the font used to print it is not the font used for math. How do I fix it? ...
  • 384
0 votes
1 answer
38 views

How to bold face Devanagiri font when using LuaLaTeX? [closed]

When using LuaLaTeX with the following config for the Polyglossia package, the bold face of fonts doesn't render when using \textbf{}. \usepackage{polyglossia} \setdefaultlanguage{hindi} \...
  • 111
0 votes
1 answer
47 views

LuaLaTeX and italic words in chapter title (sf)

I am using LuaLaTeX to load Futura as sans serif font for my document’s titles. Though, when I try to put my titles in italic, it doesn’t work, neither in the toc nor on the pages. It’s certainly a ...
1 vote
2 answers
129 views

Bradley Hand Font in Math

Compiling with LuaLaTeX, use of Bradley Hand Font works for body and math using beamer; but I would like to know how to render Bradley Hand font for math using standard Article style. -Thanks. %\...
  • 151
1 vote
1 answer
68 views

How to make opentype font in luatex latex work with unicode combining diacritical marks

We use s with caron COMBINING CARON U+030C but also s with curved breve (curving up) COMBINING BREVE U+0306 from https://en.wikipedia.org/wiki/Diacritic in a book we are typesetting with luatex using ...
  • 323
1 vote
1 answer
42 views

On Overcoming the Conflict Between Lmodern and Bold Smallcaps When Compiling with Pdflatex

I am working on a document which invokes both fontenc and lmodern, and ran into a problem with producing bold smallcaps. I came across this post: How te get bold + small caps with latin modern or ...
  • 5,723
0 votes
0 answers
41 views

Missing curved apostrophes and quotation marks

I use TexPad to write my LaTeX document which has several packages, including fontspec, to load the Myriad Pro font. Problem: apostrophes and quotation marks are not displayed as I would like: when I ...
  • 1
0 votes
0 answers
25 views

Where to download new font?

I have downloaded XB niloofar to my Macbook. I know that I need to use Xelatex in texshop. But where I should save Niloofar in my mac and how to give the correct path? Thanks
0 votes
0 answers
43 views

bad kerning in date using fontspec with beamer

I'm trying to use fontspec withbeamer. The kerning in the date on the title slide is extremely bad (the "r" and the "d" in "Stanford" are completely overlapping): Here ...
0 votes
0 answers
35 views

Minion Pro and fontspec - how to get math fonts

I have the minion otf fonts installed in the windows font folder. This enables me to load the fonts using fontspec. But I have no math fonts. How can I enable math fonts with fontspec loading ...
4 votes
2 answers
53 views

Math font in theorem header is not my custom font

I use XeLaTeX, fontspec and unicode-math. When I put some math in the header of a theorem, it is typeset in the default Latin Modern font, instead of the custom font set up with \setmathfont. See the ...
0 votes
1 answer
20 views

How can I make font of first slide as 8pt and other slides as10pt in beamer?

I am trying to make presentation in beamer. I want my first slide in 8pt font and other slides in 10 pt fonts. But I can't make change in other slides as all slides becomes of 8 pt.
0 votes
0 answers
35 views

LaTeX IfFontExistsTF returns True but 'font not found' error on compiling

I've downloaded and (definitely) installed a .ttf called Goudy Old Style Small Caps. When I run this: \documentclass{book} \usepackage{fontspec} \begin{document} \IfFontExistsTF{Goudy Old Style Small ...
1 vote
1 answer
73 views

How to change font from old pdflatex packages to new lualatex definitions

Lualatex allows to load fonts directly and without packages and other dependencies. The problem I see is that the usage is well documented for pdflatex and the old style and not documented for ...
0 votes
0 answers
17 views

What is the most appropriate way to sandwich latin words between some unicode paragraph (Arabic, Khmer, Burmese for instance)?

I'd like to use english words inside paragraphs in Burmese. I really have to use XeLaTex instead of LuaLaTex for my language and fontspec package. I currently do something like below code. But I ...
  • 151
2 votes
1 answer
47 views

Why setting `\XeTeXinterwordspaceshaping = 2` causes problem to two `\fontspec` in sequence?

I encountered one strange problem with \fontspec and \XeTeXinterwordspaceshaping = 2 setting. If I use more than one \fontspec in sequence in a line, I got an error. All those commented line with % ...
  • 151
0 votes
1 answer
36 views

Main font of the fontspec package interfering with the escapechar in the listings environment

Output Before Setting Main Font Before setting the main font using the fontspec package, the escapechar was working properly. Below is the output picture: and below is my MWE: \documentclass{memoir} ...
  • 492
1 vote
1 answer
30 views

Different scaling for two different fonts with fontspec

I am using FONT A for normal face, but use FONT B when I need to print something in bold face. The problem is that the scaling of FONT A and FONT B is not the same. So, what I want to do is change the ...
  • 384
1 vote
1 answer
47 views

Using Libertine math fonts with Vollkorn text font

I'm making a Beamer presentation and would like to use the very elegant Vollkorn fonts. Vollkorn doesn't have good math support, so I'd like to find a not-incongruous replacement. The Libertine font ...
  • 607
1 vote
1 answer
66 views

mathbf font does not show in LuaLaTeX

I have resolved my earlier problem with LuaLaTeX not loading fonts, but now the \mathbf command does not produce bold math font. As an example, the following code: \[ x + y = 10 \, \mathbf{bold ...
  • 175
2 votes
1 answer
55 views

Beginner Question: Idiomatic way to quote non-latin text?

I am a hobbyist and very much a beginner at LaTeX. I am typesetting a book and would like to include a quote written in Devanagari script. Here is what I came up with: \newfontfamily\devanagari{Noto ...
0 votes
0 answers
28 views

LuaTeX compilation completed and no errors, yet font doesn't show up

I decided to try using some new fonts and LuaLaTeX, and so I downloaded some fonts and installed them using the instructions from the first answer in this post. I put the setup into my preamble and ...
  • 175
0 votes
0 answers
26 views

Problems with "Berling" font for a new Linux user

I have a template for the creation of posters that I need for the upcoming weeks. While compiling the template, the following error occurs: ! Package fontspec Error: The font "Berling" ...
0 votes
0 answers
28 views

Word space missing after the word end with ligature character

word space missing few places in the output pdf, when using ArnoPro-Regular.otf font, especially the word end with f and next word start with single quotes ' I compiled the file through LuaLaTeX. How ...
0 votes
1 answer
65 views

Helvetica font using fontspec package

How do I set the Helvetica font when using the fontspec package? I have tried using \setmainfont{Helvetica} by its not working. How do I set this font?
  • 492
0 votes
0 answers
26 views

Reducing font size of footnote text under fontspec package

I want my main font to be size 12pt while every other font is in 11pt. At the same time, I want my footnote text to be in footnotesize under 12pt (that is size 10pt). I need a solution that maintains ...
  • 492
0 votes
0 answers
35 views

Some issues with fontspec using R Markdown

I use an R Markdown file to write articles and to be able to output both Latex and Word documents. I use a csl file for my references and my mainfont is set with fontspec. When I compile my file, I ...
  • 1,393
1 vote
1 answer
47 views

xelatex printing two small ff in smallcaps font

I have used a font's capital letters to create a fake smallcap letters. The lowercase letters are just uppercase letters scaled at 70% and moved lower to match the base. Everything works great except ...
  • 869
0 votes
0 answers
55 views

Numbers in small caps with Palatino Linotype

I'm using Palatino Linotype as my main font, with LuaLaTeX. As you can see from the image below, the numbers in small caps appear to be too small: The result using the font TeXGyrePagellaX (used by ...
  • 6,811
0 votes
0 answers
41 views

SmallCaps with Babel's font loading mechanism in texlive versions prior to TL2022

Please consider the following minimal example: \documentclass{article} %% Does not work with tl version < 2022 \usepackage{babel} \babelfont{rm}[% BoldFont = MinionPro-Bold.otf,% ItalicFont = ...
  • 2,450
5 votes
1 answer
174 views

How to set the "correct" tracking with fontspec and microtype (LuaLaTeX)

I'm using LuaTeX with Garamond Premier font. For some reason, enabling tracking from microtype package changes the tracking of small caps quite considerably. Maybe too much? See the pictures: With ...
  • 613
0 votes
0 answers
31 views

Does the interword space need to be manually reset in TikZ nodes?

In this question, I learnt that the font feature WordSpace does not work inside a TikZ node. A solution is proposed to use the ragged2e package. Having seen its documentation, it seems that what ...
  • 6,811
2 votes
1 answer
75 views

Font size (via \selectfont) and feature (WordSpace) in TikZ node / group

I'm trying to set the WordSpace feature and some appropriate \fontsize for text inside a TikZ node. Below is the expected result (given by the fourth set of code below, outside tikzpicture). I've ...
  • 6,811
0 votes
0 answers
64 views

Specifying different font (features) for section headings in LuaLaTeX

I love old style figures. But I think old style figures don't look too good in section heading numbers (1, 1.1, 2 etc.). I'd like to see lining figures in section headings and proportional figures in ...
  • 613
5 votes
2 answers
232 views

The letter 'i' in small capital, boldface and italic with "newpxtext"

Using newpxtext under an Unicode engine. With \scshape\bfseries\itshape, the lowercased i becomes while with \scshape\itshape it is simply as expected. Is this by design or is this a bug? Is there ...
  • 6,811
0 votes
0 answers
46 views

Symbol radical in mathfont

questions to help me root symbol problem not showing I use a Mathilde font \documentclass[10pt,a4paper]{standalone} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage[bidi=...
  • 1
0 votes
0 answers
38 views

Cannot use system font in XeLaTeX (macOS)

I'm under macOS 12.4, the following code worked fine for me before % !TEX TS-program = xelatex % !TEX encoding = UTF-8 % !Mode:: "TeX:UTF-8" % contents... \setmonofont[Mapping={}]{Monaco} ...
0 votes
0 answers
42 views

How can I define different font face when using babel?

This command can be used to specify different font faces using fontspec package: \setmainfont{texgyretermes-regular}[ Extension = .otf , BoldFont = texgyretermes-bold, ItalicFont =...
  • 13
1 vote
1 answer
58 views

How can I get babel to use a fallback font when a special character is missing from the main font?

Sometimes there is a character in my text that is not in the main font, such as Chinese characters or emojis, etc. and I do not want to constantly modify this in the text with various commands to ...
  • 13
0 votes
0 answers
28 views

fontspec not finding any fonts

I'm trying to use fontspec to load a font like this: \usepackage{fontspec} \setmainfont{SetoFont} Compiling it with LuaLaTex gives the following compiler log: Rc files read: NONE Latexmk: This is ...
0 votes
0 answers
25 views

How many paths do the default search paths introduced in the fontspec package contain?

This is an extract from the fontspec package. I want to know for mac the default search paths contain what?
  • 411
0 votes
0 answers
57 views

On a TeXlive 2022 installation for Linux, where do I put user-defined files?

I am running TeXLive 2022 on Manjaro Linux. I intend to standardize the fonts invoked as Noto Serif and have set up a file called NotoSerif.fontspec in $HOME/texmf with the following contents: \...
  • 2,882
0 votes
1 answer
81 views

Xelatex: ttf font loaded, yet not available?

I'm trying to add a font with Xelatex, yet, somehow while fontspec does find the font, it immediately claims that it doesn't exist. Here is the font definition output: Package fontspec Info: Font ...
6 votes
1 answer
84 views

Spacing around "ê" is too compact with Palatino Linotype

With the font Palatino Linotype, when typing the character ê, the spacing around it is quite compact (see the picture below). Does this mean that I have to change my font? (This font was distributed ...
  • 6,811

1
2 3 4 5
42