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

learn more… | top users | synonyms

4
votes
2answers
49 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
28 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 ...
13
votes
3answers
7k views

Change default font size while using fontspec

I'd like to set the main font size (i.e. all text which isn't a heading or something else with an explicit font size) to a particular font size, in this case, 9.5pt. I can't use the default package ...
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.
5
votes
1answer
284 views

Adobe Typekit Fonts

Adobe Typekit fonts install themselves in application fontlists (Word, InDesign etc.) but do not install in the Mac Fontbook. They are rented so this is their way of enforcing licence terms. Since ...
2
votes
1answer
234 views

Fontspec en- and em-dash ligatures

When producing en- or em-dashes with fontspec enabled i XeLaTeX, the ligatures are not produced, it simply prints -- and ---. MWE: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
3
votes
1answer
96 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
35 views

Headings with classicthesis are small letters

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
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 ...
5
votes
2answers
2k views

Small caps in fontspec on XeLaTeX

I'm trying to typeset my document with Times with XeLaTeX. Because Times does not include small caps, I want to use TeX Gyre Termes only for small caps. I tried this method, but it didn't work. A ...
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 ...
6
votes
2answers
164 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 ...
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 ...
1
vote
0answers
216 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 ...
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} ...
2
votes
1answer
81 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 ...
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 ...
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 ...
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 ...
2
votes
1answer
116 views

Tex compiling problem

I am using Kile Editor and when I run any .tex file, I thought that the .dvi file would be auto-generated. Do I have to install anything more in my Linux pc to run the editor successfully? Here is ...
1
vote
0answers
142 views

Copy and paste on iPad selects whole sentences after loading libertine

I have the following minimal document: \documentclass{scrbook} \usepackage{fontspec} %\setmainfont{Code2000} % works on texlive 2014 \setmainfont{Linux Libertine O} % does not work ...
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 ...
2
votes
1answer
2k views

How to use the fontspec package in a LaTeX document?

I'm trying to make a simple document which uses the fontspec package in Tex Maker 4.4.1 with LuaLaTeX engine. Code I'm using \documentclass{article} \usepackage{fontspec} ...
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
77 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, ...
1
vote
1answer
713 views

which texlive package has times new roman for xelatex

I have following in my latex header: \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Times New Roman} This results in "font not found" error when compiled with xetex. I installed all packages ...
5
votes
1answer
97 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 ...
1
vote
2answers
91 views

Normal numbers are superscripted when using \fontspec{<font name>}[Fractions=On]

This MWE produces superscripted numbers on my Windows machine. \documentclass{article} \usepackage{fontspec} \begin{document} \noindent \fontspec{Times New Roman}[Fractions=On] Should not be ...
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 ...
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 ...
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 ...
15
votes
2answers
1k views

Scope of \addfontfeature

I have encountered something while using fontspec that I do not quite understand. What is the scope of a font feature added using the \addfontfeatures command? For instance, consider the example below ...
1
vote
1answer
170 views

Problem in Printing Friggeri Resume/CV

I am using Friggeri Resume/CV template, which can be found here. This template is absolutely beautiful and easy to read on a computer. Its look is astounding and I just like it very much. However, ...
0
votes
0answers
100 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
94 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 ...
8
votes
2answers
614 views

How can I use OpenType Collection font with fontspec package and LuaTeX?

I have trouble setting monospaced font to Source Han Code JP font using \setmonofont. I tried the following code just the same as when I usually use fontspec package. % file name: example01.tex ...
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 ...
2
votes
1answer
356 views

Computer Modern with fontspec in XeLateX (package mod)

I'd like to type my CV/resume form Friggeri's template (http://www.latextemplates.com/template/friggeri-resume-cv) that is based on Helvetica Neue fonts which I do not have on my computer and the ...
1
vote
1answer
65 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 ...
10
votes
2answers
338 views

Loading a font via package or fontspec

In Xe(La)TeX, what is the difference between loading a font via its package, i. e. \usepackage{tgpagella}, and loading it through fontspec (\fontspec{TeX Gyre Pagella}). When loaded with the package, ...
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 ...
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
134 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 ...
2
votes
2answers
366 views

Beramono in XeTeX?

I like the beramono font, and I want to use it for code listings (using the listings package). I want the standard CMR tt font for typewriter font in the body of the text. I could do this using ...
11
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} ...
1
vote
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 ...
1
vote
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 ...
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] ...