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

learn more… | top users | synonyms

2
votes
0answers
37 views

How can I get fontspec to use non-system font variants intelligently?

I want to include fonts in a /include/fonts/ directory alongside my foo.tex doc, so I don't have to install the fonts to the system. I can successfully use this to get that working: \setmainfont[ ...
2
votes
2answers
155 views

Lining numbers in bibitem label

I'm using luatex with fontspec and "Minion Pro" font. I want to typeset the labels in thebibliography environment in lining numerals instead of text numbers (as it is when you simply invoke Minion ...
4
votes
0answers
93 views

LuaLaTeX, fontspec, .ttc fonts and kerning (Optima on Mac OS)

I'm probably missing something obvious. I'm using MacTeX 2014. I want to use the font Optima that ships with the Mac OS (10.8.5) -- it is a .ttc font. If I typeset the following TeX file I get no ...
4
votes
2answers
91 views

How to debug LuaLaTeX no longer finding ttf font

I just updated texlive and now LuaLateX no longer finds two ttf fonts situated in the same folder as the .tex file. Before I updated it all worked fine. Clumsy as I am I was having a latexmk session ...
7
votes
1answer
60 views

Is using \addfontfeatures (much?) less efficient than defining a \newfontface?

Consider the following file: \documentclass{article} \usepackage{fontspec} \setmainfont[Numbers={Lining,Proportional},Ligatures=Common]{EB Garamond} ...
3
votes
1answer
78 views

utopia mathdesign and biber incompatibility

I have a problem using utopia fonts with xltxtra and biber when using non-ascii characters. The problem disappears if using computer-modern (off-shelf LaTeX) or bibtex instead of biber. Here's an ...
1
vote
1answer
63 views

\LaTeX macro: “Font shape `OT1/LatinModernSans(0)/m/n' undefined”

I tried compiling the following example using LuaLaTeX (LuaTeX v0.76/TeX Live 2013): \documentclass{beamer} \usepackage{fontspec} \usepackage[ngerman]{babel} \defaultfontfeatures{Ligatures=TeX} ...
0
votes
0answers
36 views

Problem with XeLaTeX and Devanagari font

I am writing a document in Devanagari. I am using Google's newly released font: http://www.google.com/get/noto/pkgs/NotoSansDevanagari-hinted.zip I used the following code sample to incorporate that ...
7
votes
2answers
127 views

Is it possible to use the punctuation of one font within another font?

I'm in the process of trying to turn an English document into Hindi based on a translation in Word. However, I'm struggling to find a font that does what I want. As I'm working with an existing ...
14
votes
3answers
356 views

Best practice - how can I get my whole document (including math) to only use font X with LuaLaTeX and fontspec?

Considering one uses math symbols in a document, it is desirable to have them all displayed in the serif font one is using for text, or in basically any font x one would like to use for this sort of ...
9
votes
1answer
78 views

fontspec changes the size of the letter boxes

fontspec changes the size of the letter boxes. Compare \documentclass{article} %\usepackage{fontspec} \begin{document} \Huge\fbox{S}\fbox{F} \end{document} with the same code but ...
5
votes
0answers
55 views

Eadui font and luatex

Eadui, based on the hand of an eleventh-century scribe, is freely available at the Open Font Library. I can use Eadui easily with xelatex, but lualatex produces a puzzling error. For example: ...
3
votes
1answer
51 views

Font Management Problem

I'm trying to re-create a title in Peter Wilsom's examples, ftp://ftp.dante.de/tex-archive/info/latex-samples/TitlePages/titlepages.pdf I downloaded the free font Bergamo and also bought the font Mona ...
2
votes
1answer
38 views

Problem with arabxetex transliteration

I have a problem with Arabic transliteration in arabxetex. When I run the code below I get the transliteration as shown in the attached image. The transliteration is just the italicized version of ...
10
votes
2answers
8k views

Problem while compiling friggeri CV template with: ' fontspec error: “font-not-found”'

I have somme problem while I'm trying to compile template CV from: http://www.latextemplates.com/template/friggeri-resume-cv . I have install texlive-full package on Ubuntu and tryied to compiled this ...
3
votes
0answers
34 views

A compatibility problem between the fontspec package and asymptote

Has anyone run across a compatibility issue between the fontspec package and asymptote? In the MWE below, commenting out the \usepackage{fontspec} allows for proper compilation and embedding of the ...
2
votes
0answers
56 views

An Error with XeLaTeX and fontspec

So I get the following error with some of my fonts and not the others: xdvipdfmx:fatal: Type2 Charstring Parser: Parsing charstring failed: (status=-1, stack=5) Output file removed. Is there a way ...
4
votes
1answer
119 views

How to simulate a bold font if I only have a Regular Height TTF file?

How can I simulate a bold font if I only have a Regular Height TTF file? I'm trying to use Ibarra Real font, but I have only Italic and Regular font files. Using xelatex and a preamble like: ...
3
votes
1answer
71 views

How to install fontspec on linux?

I tried installing the fontspec package with the help of the instructions provided here: http://www.tug.org/fonts/fontinstall.html where as the font map file as specified in the 4th step didnt seem to ...
1
vote
1answer
72 views

Italic greek letters, upright operators and working partial sign with unicode-math and TeX Gyre Pagella

I need upright math operators such as \sin, \tan etc., italic uppercase greek letters and a working \partial operator. With the code below I was able to get two out of three, but I was told that it's ...
7
votes
1answer
143 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, ...
5
votes
1answer
106 views

What is happening to the quotes?

Here is my MWE: %!TEX TS-program = xelatex \documentclass[a4paper]{report} \usepackage{xltxtra} \defaultfontfeatures{Mapping=tex-text} \setromanfont{Times New Roman} \begin{document} ``abcde'' ...
3
votes
1answer
64 views

Arch Linux: fontspec does not find system fonts

I am running an Arch Linux / Windows 7 dual boot laptop. The windows partition is mounted under arch and i made the windows fonts usable with ln -s /windows/Windows/fonts/ ...
4
votes
1answer
79 views

compiled pdf doesn't show utf-8 character

If i compile a document with lualatex that contains specific utf-8 characters most pdf-viewers (okular, evince, xpdf) don't show them. For example if i compile the following example i just see a bank ...
4
votes
0answers
80 views

How to typeset a letter or grapheme specimen with alternates?

I want to print a font specimen for certain letters, each of which should cover a complete A4 page. The Open Type font contains many letters with several glyphs, which are accessible as character ...
6
votes
3answers
144 views

Why fontspec breaks extarrows package

Why \documentclass{book} \usepackage{extarrows} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} $$Q\xLongrightarrow{\text{Maximum}} P$$ \end{document} produces this output: ...
5
votes
1answer
354 views

Best way to use Linux Biolinum Keyboard with fontspec?

I am trying to typeset keyboard shortcuts in my document, e.g. CTRL+SHIFT+S. The Linux Libertine font family includes a nice keyboard font that I would like to use. What's the best way to use it with ...
2
votes
0answers
114 views

Small caps font is not enabled with fontspec and MinionPro

I can't make lualatex generate small caps font when I use MinionPro as my main font: \documentclass[a4paper,justified,nobib,notoc]{tufte-book} \usepackage{fontspec} \title{ABC} \author{Arthur ...
4
votes
2answers
177 views

Fontspec warning : “rename-feature-not-exist”

I want to use Xepersian package. But I get this error while compiling with Xelatex. fontspec warning : "rename-feature-not-exist" Can some one help me with this? \documentclass{article} ...
5
votes
1answer
97 views

Is there a simple way to manually change font with font size in XeTeX?

Many typfaces come with different fonts for different font sizes. For example Surveyor Pro has a Book style for main text and a Display style for headings (or in general, large text). Another example ...
3
votes
2answers
78 views

\textlf{} for light font weight – how common?

In the allrunes.sty documentation (which uses Metafont), I’ve recently seen the \textlf macro for the first time. It selects a light font and therefore accompanies the frequent command \textbf and its ...
6
votes
2answers
108 views

Problem with babel and fontspec

I've just had a problem on using babel with lualatex (or xelatex as well) and fontspec in the context of latin and cyrillic alphabets. Here is a minimal example: \documentclass[11pt]{article} ...
4
votes
1answer
104 views

ucharclasses package does not work with TeX Live 2014's fontspec

With full TeX Live 2014 ucharclasses package no longer works with fontspec. It works with BasicTeX 2014 because BasicTeX 2014 uses old version of font spec from 2013. Here is an example document ...
2
votes
0answers
54 views

fontspec related font setting compiles on Linux, but not on Windows

I have this portion of code: \documentclass{scrartcl} \usepackage{amsmath, fontspec} \usepackage[math-style=TeX, bold-style=TeX]{unicode-math} \setmathfont[StylisticSet=0]{xits-math.otf} ...
3
votes
0answers
106 views

Error using fontspec v2.4a and unicode-math [closed]

Compiling the following example with XeLaTeX or LuaLaTeX \documentclass[11pt]{article} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \small \begin{tabular}{c} Foo ...
1
vote
1answer
72 views

Problem working fontspec, babel and datetime with cyrillic

I have discovered that fontspec with russian babel settings doesn't work with datetime package. I tried to compile such code: \documentclass[a4paper,11pt]{article} \usepackage[T2A]{fontenc} ...
0
votes
0answers
24 views

Error: Font \l_tmpa_font has only 8 fontdimen parameters [duplicate]

I get the above error when I try to use my main font for the math letters. If I leave out the \sqrt[3]{2} bit, it works but gives a load of complaints about not having the OpenType feature ...
4
votes
2answers
69 views

Disabling ligatures in xelatex like rmligs

Ligatures set by Latex are often wrong in German (i.e. between combined words like "Auflaufform"). To set these words correct I often use rmligs which is a great tool to disable ligatures when the use ...
2
votes
0answers
64 views

Error when using luaotfload-tool

i am trying to install Myriad Pro at my Ubuntu PC to use it with Lualatex and fontspec. The font is correctly installed and can be used in LibreOffice. fc-list | grep -i myriad -> Myriad ...
1
vote
1answer
31 views

Compilation error with fontspec and BoldFeatures [closed]

Using fontspec 2.4, why won't the following example compile? \documentclass{article} \usepackage{fontspec} % version 2.4 \setmainfont[BoldFeatures={Color=AA0000}]{Arial} \begin{document} This is ...
2
votes
0answers
53 views

Incompatibility of scrbook and fontspec in TeX-Live 2013

Since updating to TeX-Live 2013 I am facing the following error: Compiling the following file by XeLaTeX ... \documentclass{scrbook} \usepackage{fontspec} \begin{document} bla \end{document} ... ...
7
votes
1answer
176 views

Fontspec 2.4 and Scale=MatchLowercase causes error

I just updated to TeXLive 2014 and when compiling the following code using either XeLaTeX or LuaLaTeX I get an error: \documentclass{article} \usepackage{fontspec} \setsansfont{Latin Modern ...
3
votes
2answers
165 views

small-caps figures, anyone?

Is there a good (possibly free) opentype font out there with small-caps figures and small question and exclamation marks; and could I use them with xelatex + fontspec? Or, better still, is there a ...
5
votes
2answers
213 views

letterspacing italic small caps automatically

The MinionPro-It.otf file I am using contains italic small caps, confirmed with otfinfo -f MinionPro-It.otf and cfftot1 MinionPro-It.otf | t1testpage | epstopdf --filter > MinionPro-It.pdf. The ...
1
vote
2answers
57 views

Curly Quote usage in XeTeX via LyX

I have this preamble in my LyX document: \widowpenalty=10000 \clubpenalty=10000 \raggedbottom \usepackage{dtklogos} \usepackage{fontspec} ...
5
votes
1answer
145 views

Problems using Expert Fonts

I recently purchased an expert font, Calluna (exljbris). There is only one problem when using the font: The font is encoded with Old Style numbers by default. I don't know how to access the Lining ...
3
votes
0answers
61 views

Combining diacritical mark is misaligned with luatex, but not with xetex

Consider the following code: \documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont = {* Semibold Italic}]{Linux Libertine O} \begin{document} \textit{\textbf{V\char"0306}} ...
7
votes
3answers
195 views

XeLaTeX: How to specify a different font family for Latin text within non-Latin text?

In a XeLaTeX document whose main language is non-Latin (in the sense of using non-Latin alphabet), I'd like the Latin text to be typeset with a different font family from that of the main text. How do ...
1
vote
0answers
61 views

Ansi Encoding for Embedded Fonts in PDF Output

Rendering PDFs with identical fonts using InDesign versus using LuaLaTeX with fontspec in TeXworks, I have found differences in Acrobat Reader's descriptions of the embedded font types and encoding. ...
3
votes
1answer
52 views

Setting figure caption font face

I'd like to change font face of all figure captions. I'm currently using the fontspec package to set main font of the document. I'm also using DeclareCaptionFormat to set font size. I fail to see any ...