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

learn more… | top users | synonyms

6
votes
2answers
108 views

Is it possible to make TIPA's fonts available to fontspec?

I've finally accepted that it's not worth trying to use TIPA with fontspec, however, I do like its font. Specifically, I wish to continue using Latin Modern/Computer Modern as much as possible and, ...
5
votes
1answer
132 views

How to create non-outlined SVG files from LaTeX formulae

Are there any ways of generating SVG files from LaTeX math formulae, that are not built from outlined glyphs? I.e., I want the SVG file to contain the math glyphs within <text> tags, not ...
15
votes
1answer
120 views

Conflict between fontspec and geometry

Using the option lines=x of geometry does not give the expected result when the fontspec package is used in the same document. For example, declaring lines=40 does not result in 40 lines per page but ...
0
votes
0answers
92 views

Using MinionMath fonts with unicode-math in Xelatex

I am trying to compile the TeX document using Xelatex but getting the following error: Font \l_fontspec_font has only 8 fontdimen parameters. TeX: \documentclass[a4paper]{article} ...
4
votes
2answers
74 views

Combination of newtx and fontspec breaks siunitx

I am trying to use newtx and fontspec on XeLaTeX, and it looked OK until I used siunitx. The problem is negative signs are not printed by \num etc. How can I fix this? Here is MWE: ...
1
vote
0answers
31 views

How can I choose math font suitable for UTM Androgyne? [closed]

I use \setmainfont{UTM Androgyne} http://fontchudeputm.blogspot.com/2009/08/utm-androgyne.html in my document. Now I am looking for math font suitable for this font. How can I choose math font ...
1
vote
0answers
20 views

How to type this two letters in latex [duplicate]

and The first one look like $\xi$ but not completely the same.
3
votes
2answers
89 views

How to unset default Ligatures=TeX for main font? (TexLive2015)

As of TexLive2015 (as opposed to TexLive2013) fontspec predefines Ligatures=TeX. This results in double quotes being replaced by curly quotes. How can I disable this behavior? \documentclass{article} ...
3
votes
1answer
151 views

Using Pandoc and Xetex with Tufte-Handout class gives fontspec error

I'm using Pandoc with xetex to attempt to create a pdf from a markdown document. In the metadata of my document I have the following: --- documentclass: tufte-handout classoption: nohyper --- The ...
1
vote
0answers
40 views

Headings with classicthesis are small letters [closed]

I am using LyX and classicthesis, compiling with XeTeX. Now as I did an update, I had to use fontspec instead of fontenc. Now all headings and some other text like the author name on the tite page and ...
1
vote
0answers
65 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
59 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 ...
4
votes
1answer
89 views

Can fontspec use fonts from SkyFonts?

On my Windows 7 system I installed via SkyFonts from Fonts.com: Sabon Next Display The font does not appear in C:\Windows\Fonts. However, it shows up in certain desktop applications, for example Xara ...
7
votes
1answer
130 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
57 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
260 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
124 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
105 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
56 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
187 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
74 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
86 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
114 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
137 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
46 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
101 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
205 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
123 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
128 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
74 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
102 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
120 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
177 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
69 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
956 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
123 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
75 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
105 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
196 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
86 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
313 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
74 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
40 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
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
69 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 ...