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

learn more… | top users | synonyms

1
vote
1answer
54 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
32 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
352 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
74 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
50 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
37 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 ...
4
votes
2answers
77 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 ...
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
32 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
54 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
116 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
68 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
141 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
105 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
59 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
76 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
77 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
142 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
352 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
112 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
176 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
95 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
76 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
107 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
86 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
52 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
104 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
70 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
23 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
62 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
50 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
172 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
162 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
212 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
59 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
192 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
55 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 ...
5
votes
2answers
841 views

Math italics with unicode-math.

I'm using Tex Live 2010. Here's the example I want to discuss. \documentclass{article} \RequirePackage{amsmath} \RequirePackage{unicode-math} \setmainfont{Linux Libertine O} ...
5
votes
2answers
965 views

Font name in LuaTeX's fontspec

I have a document using fontspec which works fine with XeTeX, but a the Linux Libertine Initialis O font is not found when compiling with LuaTeX: Here is a MWE reproducing the problem: ...
4
votes
1answer
131 views

Parentheses and square brackets contextually in small caps

In a book publication I use references in parentheses with an open type font. The references are set in small caps (both letters and numbers): % xelatex xetex 0.9999 texlive 2013 windows ...
3
votes
0answers
60 views

Can I turn a variable width font into a fixed-width font?

I found a free ancient-typewriter font I'd like to use in a project, but the person who made it apparently traced some scanned outlines and poured them into a variable width truetype font. That is not ...
4
votes
1answer
326 views

Spacing issue when using tocloft and fontspec together

I'm using tocloft for creating a List of Equations and I think there's no other way to avoid using this package. However, everytime when tocloft and fontspec from XeLaTeX are used together the ...