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

learn more… | top users | synonyms

3
votes
1answer
134 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
120 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
61 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 /usr/share/...
6
votes
2answers
212 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
82 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
93 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
124 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 ...
4
votes
1answer
184 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 `EU1/EBGaramond12-Regular.otf(...
1
vote
1answer
49 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
109 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
247 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
140 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
141 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
95 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
117 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
138 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
215 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
76 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
16 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
975 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} \usepackage{unicode-...
2
votes
1answer
138 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
33 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
90 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
114 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
250 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 \documentclass[a4paper,...
3
votes
1answer
108 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
323 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
75 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
41 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} \setmainfont[...
1
vote
0answers
36 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
82 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
26 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
111 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 ...
3
votes
1answer
341 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
241 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
253 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
2k 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 <dir>/usr/local/texlive/texmf-...
3
votes
1answer
62 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 ...
2
votes
2answers
356 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
78 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
32 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 \renewcommand*{\thesection}...
2
votes
1answer
50 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 ...
3
votes
1answer
184 views

Ligatures with Alegreya Font in XeLaTeX

The following code does not create the expected ligatures (note that Alegreya is OTF): %XeLaTeX \documentclass{report} \usepackage{fontspec} \setmainfont[ SmallCapsFont={Alegreya SC}, ...
0
votes
1answer
147 views

Using setmonofont with Bera Sans Mono in Beamer produces garbled output

I am using Bera Sans Mono as the monospaced font for typesetting code listings using the listings package. This is done for slides which are produced using beamer and XeLaTeX. My preamble includes the ...
3
votes
3answers
183 views

Shrink a line of verse

I have some lines of Sanskrit verse (left indented via a quoting environment) which are slightly too long, similar to the following example: \documentclass{memoir} \usepackage{quoting} \usepackage{...
7
votes
1answer
97 views

Defining subfamilies for a font

I wish to import from files a font family, which comes in extra light, light, regular, medium, bold and black. Instead of defining several different font names and choosing them as I need, it would be ...
4
votes
0answers
20 views

Unicode-math no bold math or greek letters [duplicate]

What could be causing this? I'm on Ubuntu 14.04 I've uninstalled the Ubuntu TexLive packages and installed TexLive 2015 directly, and just updated today with tlmgr I've tried a few different unicode-...
9
votes
3answers
336 views

Increase word space between words in small caps

With tracking activated for small caps, it can be a little bit hard to detect interword spaces. Cf. below. \documentclass{article} \usepackage{fontspec} \setmainfont{Libertine Serif}[ ...