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

learn more… | top users | synonyms

1
vote
0answers
52 views

Ligatures Stopped Working in XeLateX

I was recently writing a beamer presentation using Xelatex to load Arial Narrow as the font (work insists on Arial Narrow!), and using Ligatures=TeX to ensure double hyphens and quotations marks are ...
0
votes
0answers
21 views

MiKTeX - broken package combination fontspec / expl3 [duplicate]

I have some problems after installing the latest 64bit-MiKTeX as well as the latest packages through the package manager. It seems that there is a problem with the combination of fontspec and expl3 ...
2
votes
1answer
54 views

Warning when font lacks symbol

I have a document with \usepackage{amsmath, amsfonts, amsthm} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre Pagella Math} With ...
7
votes
1answer
109 views

Problem with interword spacing in LuaLaTeX

I have a problem with LuaLaTeX and interword spacing using fontspec. This is my MWE: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Ligatures=TeX, Scale=MatchLowercase} ...
4
votes
1answer
43 views

Issue with TOC alignment when using fontspec and titletoc with font size >10pt

I am in the process of switching a large document to lualatex for various reasons, and I noticed an issue with the table of contents when the packages fontspec and titletoc are loaded together, AND ...
1
vote
0answers
218 views

XeLaTeX in El Capitan failing to compile

I have upgraded to El Capitan (OS 10.11.1) on a mid-2010 iMac. I run TeXshop (latest version: 3.57) with MacTex (July 2015 version). I find I can't typeset in XeLaTeX. I have tried replacing the ...
3
votes
1answer
114 views

What is \f@size and how can I convert the value between units?

What is \f@size? Why doesn't \convertto{\f@size bp}{pt} work? Microsoft Word uses big points to measure fonts according to a comment to this answer: http://tex.stackexchange.com/a/274609/13552 I ...
2
votes
1answer
82 views

Problem with fontspec and LuaLaTeX [closed]

I want to write in french, using Lualatex using TexStudio. Therefore, I need to use characters like é, è or à. As Lualatex uses UTF-8 there should not be any problem, but those characters are not ...
3
votes
1answer
51 views

Undefined control sequence pdftex_strcmp fontspec

I am trying to use latex on a CentOs machine. I have it working on my windows machine. I installed texlive-*. I am using fontspec and ultimately copied it from my windows machine into ...
6
votes
2answers
166 views

Obtaining features from EBGaramond font in ConTeXt

I want to use EBGaramond font "historic" features in ConTeXt the same way as I could use them from LaTeX but without success. I think I am missing something in my ConTeXt but I am not able to see what ...
4
votes
1answer
60 views

WordSpace factor does not increase again

I am trying to understand how the WordSpace factor of fontspecs's \addfontfeatures works. The word space is decreasing when I lower it, but not increasing when I increase the factor again: ...
0
votes
1answer
78 views

Getting bold text in ntheorem environment containing tikz picture and minipage environment

I'm getting bold text in ntheorem environment where I put tikz picture beside arabic text in minipage environement. Deleting AutoFakeBold=1.05 option from the \setmaincommand let me get regular text, ...
5
votes
1answer
98 views

Revisiting TIPA and Fontspec

fontspec does not generally play nicely with TIPA these days. My intention in this question is to find out what exactly is causing the problem. In attempting to diagnose the problem, I began with the ...
3
votes
1answer
103 views

LaTeX Font Warning: Font shape undefined

First question. I am quite new to LaTeX (using XeTeX from TeXLive 2015 recently installed and up to date) and I get the following warning: LaTeX Font Warning: Font shape ...
1
vote
1answer
45 views

Is there a way out of my small-cap conniptions?

I'm having difficulty getting small-caps to render properly in my (XeLaTeX compiled) document. I want to render a certain level of heading with a different font th at the default document font and in ...
4
votes
2answers
87 views

TeX accents on XeLaTeX without fontspec

I'm trying to use XeLaTeX with BibTeX8 without fontspec, but I'm getting my bibliography wrongly accented as with the files. \begin{filecontents}{\jobname.bib} @Book{Aristoteles2000mf, Title ...
6
votes
3answers
148 views

LuaLaTeX and TeX Gyre Pagella in pdflatex for arXiv

Since arXiv still doesn't seem to support LuaLaTeX, I need to make my document work with pdfLaTeX instead. The only LuaLaTeX-specific stuff is \usepackage{fontspec} \usepackage{unicode-math} ...
0
votes
0answers
101 views

Trying to run Plasmati Graduate CV template

I am trying to install this CV template. I have installed the Fontin fonts manually and the fontspec package included in Tex Live. However, I am getting the following messages: Could you please ...
3
votes
1answer
95 views

luatexja with microtype generates lots of warnings

\documentclass{article} \usepackage{microtype} \usepackage{luatexja-fontspec} \begin{document} Lot's of Warnings. \end{document} The above sample throws a boatload of errors of the type Package ...
4
votes
1answer
41 views

Incorrect glyph from \textgamma with fontspec enabled

I've been having trouble typesetting the character gamma using the textgreek package. Using textgreek, the command for the character is \textgamma. However, when using fontspec in XeLaTeX (on Mac OS X ...
1
vote
1answer
66 views

How to add Batang font to ShareLaTeX

The Batang font supports CJK languages. The following example (from https://yoo2080.wordpress.com/2014/03/09/how-to-use-unicode-in-latex-by-luatex-or-xetex/) works fine with TeXShop, but produces an ...
2
votes
1answer
82 views

Embedding Only TrueType Fonts Using XeLaTeX

Background: I'm writing my thesis and per the department guidelines, I have to use TrueType fonts and they need to be embedded in the PDF. Now, I have managed to change everything into Computer ...
3
votes
2answers
135 views

Italic math font (via \mathit) not working for greek symbols with fontspec/lualatex/TeX Live 2015

(Updated to reflect newest findings.) I recently switched to TeX Live 2015 and am struggling with a few problems in code that worked perfectly fine in TeX Live 2014. For instance: \mathit does not ...
1
vote
1answer
53 views

XeTeX \section{} doesn't show Thai fonts

I'm learning XeTeX mainly because it enables typesetting in my native language (Thai). With normal pdfLaTeX, arranging the document into sections was easy and intuitive, and I hope to be able to do ...
0
votes
0answers
15 views

Error after updating fontspec [duplicate]

Last night I updated my TeXLive 2015 distribution. Among the packages updated was fontspec. Now I am facing problems with documents that worked perfectly before the update. I am using Texpad (but ...
0
votes
0answers
32 views

Broken updates in fontspec? [duplicate]

Has there been a recent update to the fontspec package which changed the usage of \setmainfont in LaTeX or XeLaTeX? This seems to be the same error as in this post today: unicode-math broken I ...
10
votes
2answers
900 views

unicode-math broken

I updated texlive this morning and discovered that unicode-math is broken: <argument> \xetex_suppressfontnotfounderror:D Here is a MWE: \documentclass[12pt]{article} ...
2
votes
1answer
101 views

How to validate a font to be used with XeLaTeX, fontspec

I have the following minimal document: \documentclass{article} \usepackage{fontspec} \setmainfont{jizura3b} \begin{document}  \end{document} The single character in the document should be ...
1
vote
0answers
31 views

How can I find which font unicode-math is using for a particular symbol?

The following MWE produces a blank document, as the default font does not contain ⟿. \documentclass{article} \usepackage{polyglossia} \usepackage{fontspec} \begin{document} \(⟿\) \end{document} ...
1
vote
0answers
55 views

Why does kerning work with LuaLaTex but not XeLaTex for the same font?

Consider the following MWE: \documentclass[varwidth]{standalone} \usepackage{ifluatex} \usepackage{ifxetex} \usepackage{metalogo} \usepackage{fontspec} \setmainfont{Bembo}[BoldFont = Bembo Bold] ...
1
vote
1answer
79 views

Why no sans-serif italic numerals in unicode-math? How do I get them?

I'm trying to use unicode-math's \mathsfit to set sans-serif italicised numerals in math mode. I don't want sans-serif math in general; only numerals and latin/Latin (but that works already). I use ...
3
votes
2answers
132 views

Initial 'single quote' is backwards - csquotes

Should I be using fontspec per Single quotes in csquotes ? My initial single quote faces the wrong way, latex thinks it's an apostrophe. MWE: filename: mwe-singlequotes.tex ...
3
votes
1answer
66 views

Footnote marker in text should be superscript lining figure, but footnote marker in the footnote should be full size old style figure

My general footnote layout is like this: \documentclass{article} \usepackage{lipsum} \usepackage[hang]{footmisc} % the whole footnote text is indented \setlength{\footnotemargin}{.5em} % push the ...
7
votes
2answers
305 views

Whose responsibility is it to load fonts in LaTeX (or XeLaTeX)? (and how do I know which ones, if mine?)

I ran into a headache-inducing problem with LaTeX (actually I used XeLaTeX to compile, but I think this issue is independent) recently due to unwittingly attempting to modify the dimensions of a math ...
5
votes
2answers
66 views

Use own FontForge font in XeLaTeX

I created a font for 12 letters, since this is all I need. Having created the font as .ttf I double click on it and press install. With \fontspec I want to see how the font looks like, but I get only ...
1
vote
0answers
36 views

XeLaTeX FakeBold produces point at origin of tikzpicture

This is a XeLaTeX question. FontSpec's FakeBold produces an unwanted dot in any tikzpicture. Here is a minimal example: \documentclass{minimal} \usepackage{tikz} \usepackage{fontspec} ...
1
vote
0answers
33 views

Underfull \hboxes when reducing inter word and inter letter spaces

Related to this question about shrinking a line of verse I still don't understand why I'm getting an Underfull \hbox warning for the following example. As far as I understand this warning normally ...
1
vote
1answer
53 views

How to use an alternate font in acm-small

I am writing a paper in English and I am using standards of acm-small latex version to generate files. I have used the acmsmall-sample.tex which has been provided by default and edited it to generate ...
1
vote
0answers
23 views

Use optical sizes of fonts with fontspec for local files [duplicate]

Now, this is the exact same question as Is there a way to use different local font files for different font size in fontspec?, but is is left without a solution. @WillRobertson answered in a comment ...
5
votes
1answer
73 views

Combine “traditional” font packages (e.g. Type 1) with fontspec

I was having problems trying to combine a "traditional" font package (berasans) with fontspec (using TeX Gyre Pagella). Just using both correctly changed the text font to TeX Gyre Pagella, but text ...
2
votes
1answer
206 views

fontspec and/or xdvipdfmx can't find certain fonts [duplicate]

This morning, I updated my MacTeX installation to the 2015 install. Unfortunately, something is now having some trouble with the font (Century/Century Schoolbook) that I use most [edit: everything ...
0
votes
0answers
35 views

Special character with latex [duplicate]

I'am trying to write an equation where thee is this special caracter: \^{e} \begin{equation} \^{e} = 1 \end{equation} But the probleme is \^{e} is invisible, I see only “= 1”
6
votes
1answer
139 views

Mathsf Greek Symbols Lualatex

I am using Lualatex with Latin Modern as math font. I want to produce mathsf greek symbols. However, it seems that it doesn't work for greek symbols (Using \setmathfont[\range=mathsf]{Latin Modern ...
1
vote
2answers
120 views

latexmk says fontspec/Path is unknown

I have the following document, which uses fonts stored in a fonts/ directory (specifically several subdirectories of fonts/), as well as defined font subfamilies. I'm trying to compile it into a PDF ...
3
votes
1answer
682 views

fontspec error: “font-not-found”

I installed some .otf fonts in /usr/local/texlive/texmf-local/fonts, changed /usr/local/texlive/2015/texmf-var/fonts/conf/texlive-fontconfig.conf adding the string ...
3
votes
1answer
53 views

Make a font function that does not leak with fontspec/xelatex

I am trying to make a function \noteunic with fontspec and xelatex that allows me to write with a unicode font for a limited section of the text only. But when I write this, the font leaks outsite the ...
1
vote
2answers
125 views

How to set the maths font in Beamer when using XeLaTeX?

I am using XeLaTeX with fontspec and mathdesign to set the maths font separately. This works fine in memoir, for example, but Beamer overrides my maths font settings and uses the main font as a maths ...
4
votes
0answers
60 views

How to enable contextual swashes for Arabic

I recently read about Contextual Swashes for Arabic fonts from here. They have shown an example of how it would look. I've already read this question and it helped me set up my MWE. Here is a quick ...
1
vote
0answers
24 views

Overfull \hbox in subsection heading when using fontspec

In the following example I get an Overfull \hbox in the subsection heading when loading fontspec: \documentclass[11pt,a4paper]{memoir} \usepackage{fontspec} \makeatletter ...
2
votes
1answer
38 views

Arabic script not displaying in chapter headings, even though body text is fine.

In the MWE below {thanks to @maïeul}, the Arabic chapter heading and chapter number does not display the Arabic font, but the body text displays fine. It seems to be a problem with Arabic, because ...