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

learn more… | top users | synonyms

1
vote
1answer
55 views

Why 'xelatex' fails to find the font?

I'm using xelatex the create a PDF from a tex file. Normally I use the command: \setmainfont{DejaVu Sans} \newfontfamily{\hebrewfont}{DejaVu Sans} Which successfully loads the font. Though when I ...
6
votes
2answers
501 views

Which font extension is better to work with XeLaTeX

I am curious to know which font extensions works better when using XeLaTeX to compile a TeX document. I have just downloaded the font Alegreya from CPAN, and it comes with a fonts folder that includes ...
1
vote
1answer
49 views

fontspec doesn't find Stylistic Variants in Gentium Basic

According to SIL, the font Gentium Basic --- which is a subset of Gentium Plus --- supports "literacy alternates". Consulting the font documentation (for Gentium plus, anyway), the literacy ...
2
votes
1answer
31 views

Grouping and undefined control sequence error

I was trying to figure out an answer to another question, which required a change of font and size in the middle of a sentence. So I tried to use a \begingroup and \endgroup to isolate the change of ...
1
vote
1answer
44 views

Change font size with fontspec package

What is the recommended approach to change font size with the fontspec package? I have found several ways that appear to work, but some unexpected behavior along the way. What am I doing wrong? I ...
4
votes
1answer
41 views

Math alphabet ignores fontspec options on LuaLaTeX

I am trying to create a new math alphabet on LuaLaTeX, based on the code of mathspec. I set up a font family with some options via fontspec and declare it as an alphabet. Although it seems to work, ...
3
votes
1answer
33 views

IPA characters not showing up in XeLaTeX

I'm new to XeLaTeX and trying to figure out how to use IPA characters. Everything I've read says that I just need to use the fontspec package and the characters will show up as intended. ...
0
votes
2answers
43 views

fontspec breaks loading of fonts via renewcommand

I have a custom Latex class from my employer that (besides some other stuff) loads the Fonts Charter and Frontpage (Fonts supplied with the class). It works fine with pdflatex and basically loads the ...
6
votes
2answers
134 views

XeLaTeX can't turn off small caps

I found a weird issue when using the free typeface Fontin. \documentclass{article} % Default font size and paper size \usepackage{fontspec} % For loading fonts \setmainfont{Fontin} ...
2
votes
2answers
2k views

Changing ToC subsection entry font in scrartcl

I have changed the default serif font of my document to use old-style numerals (I think they look quite nice). However, in the serif entries of the subsections (section entries are in a sans-serif ...
4
votes
0answers
51 views

Problem with lualatex and feature files

I want to use a feature file to change the positioning of a single letter, but it does not seem to work. Here is an example: \documentclass{article} \usepackage{fontspec} ...
1
vote
1answer
76 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
1answer
54 views

Still want to use “ptm” in XeLaTeX

I'm using XeLaTeX typesetting Chinese fonts in my document. (So XeLaTeX is the only suitable way for me to do my stuff.) I want to use the LaTex original ptm font to typeset all English text. I know ...
1
vote
1answer
60 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
2
votes
1answer
70 views

\chaptermark undefined error in classicthesis.sty when I (attempt to) redefine \spacedlowsmallcaps

My MWE does not compile and the error is: ! LaTeX Error: \chaptermark undefined. I have debugged to the extent that I know the error is the interaction between classicthesis and my \SC command ...
0
votes
1answer
34 views

How to configure TexStudio to compile using XeLatex for Calibri Font? [closed]

I am trying to make the Calibri font work in TexStudio. Following several posts on here I included the command in the preamble: \usepackage{fontspec} \setmainfont[Mapping=text-tex]{Calibri} And ...
18
votes
2answers
690 views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) ...
0
votes
0answers
75 views

Fix encoding for ligatures of fonts in XeTeX / LuaLaTeX (specifically for Minion Pro)

Ligatures in the MWE below are not encoded properly when compiling with LuaLaTeX or XeLaTeX using TeXShop on the Mac. Copying "The difference" from the pdf to a text editor renders "e di erence". I ...
3
votes
2answers
83 views

XeLaTeX French guillemets non-breaking space best practice

What is the best approach to get a non-breaking space just before the closing French guillemet » ? I wish to be able to type in the natural style, which in French is « bonjour » with non-breaking ...
1
vote
1answer
27 views

XeLaTeX ligatures clash with package xesearch

I am using XeLaTeX to compile a document in French, using the fontspec package (with the Ligatures=TeX} option) and babel package (with the french option on). The problem: the endash and emdash ...
16
votes
4answers
19k 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
1answer
38 views

how to set Latin Modern Mono Proportional in Xelatex

I am using xelatex and fontspec: I tried something like: \setmonofont[Mapping=tex-text, CharacterWidth=Proportional]{Latin Modern Mono} but this does not exist (?). How can I set the mono font to ...
1
vote
0answers
23 views

XeLaTex / fontspec error : “script-not-exist” e

I'm attempting to typeset Devanagari in XeLaTeX. I'm using the font chandas.ttf and the RomDev mapping (for roman --> devanagari script; found here: RomDev from somadeva). This worked for me once upon ...
0
votes
1answer
56 views

Palatino package and fontspec

I want to use the palatino package in XeLaTeX but I often use accented letters so I also load the package fontspec. However, after loading the fontspec package I get the error: LaTeX Font Warning: ...
0
votes
0answers
118 views

XeLaTeX with fontspec gives “Undefined control sequence” error after MiKTeX update - volume 2

I have the very same problem as in XeLaTeX with fontspec gives "Undefined control sequence" error after MiKTeX update. But in my case, repeatedly running the two MiKTeX updaters does not ...
1
vote
0answers
20 views

“Debugging” installed fonts. Which font is mapped to which serie/shape?

I installed some new fonts using autoinst. Now I have a problem finding back the font family/shape/serie which belongs to my bold font which I believe I installed it. After I did: ...
0
votes
0answers
92 views

MinionPro & MinionMath setup for XeLateX

I'm trying to setup these two fonts, but I'm running into problems. I have placed the complete set of font files into /usr/share/fonts/opentype, /usr/share/texmf/fonts/opentype and ...
0
votes
0answers
31 views

Use Fandol fonts to create PDF with Chinese

I am using xeLaTeX to create PDF with Chinese characters. This is my code: \documentclass[openany,a4paper,11pt]{book} \usepackage{ctex} \setCJKfamilyfont{song}{FandolSong-Regular.otf} ...
2
votes
0answers
45 views

LuaLatex removes ligatures with LetterSpace

If I compile the following (M)WE with LuaLatex, all the possible ligatures are removed. This does not happen with the standard font or if I remove the \defaultfontfeatures{LetterSpace=1} or if I set ...
2
votes
0answers
58 views

Adding default font features to \sffamily

It seems I can't add any extra default font features with fontspec after the font is set e.g. with \setsansfont. Code: \documentclass[10pt,a4paper]{article} \usepackage{lipsum,fontspec,xcolor} %% ...
2
votes
1answer
41 views

How to use 'BoldFeatures' to colorize bold texts, but override that color for individual text strings?

In my document preamble I use the following code to set my desired font and at the same time to set as default text colors different gray values for italic, bold and bold-italic text: ...
2
votes
0answers
81 views

Tex document not building in new computer (fontspec)

I have a resume written in Tex that was working just fine. I had to change my HD drive due to a problem. I installed Miktex 2.9 and TexMaker again and configured the packages to download and install ...
7
votes
1answer
101 views

XeLaTeX, fontspec and printing the name of the current font

Is it possible, using XeLaTeX and fontspec.sty, to write a macro, say, \printcurrentfont, such that it would print the name of the font currently in use? I have looked through the fontspec ...
4
votes
1answer
94 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 ...
0
votes
1answer
55 views

including own fonts in xelatex with fontspec doesn't work for “bold” “italic” font faces

can't solve this problem. For my thesis I am forced to use ugly "times new roman", using the free "times" won't do it. That's why I tried {font spec} (only under XelatTex) to include my own font ...
3
votes
1answer
95 views

Does XeLaTeX in TeX Live 2015 force unicode quotation marks? [closed]

Using XeLaTeX in TeX Live 2015 seems to break classic LaTeX quotations (or force unicode entry, depending on how one looks at it). Results TeX Live 2014 fontspec.sty 2015/03/14 v2.4c Font ...
6
votes
2answers
128 views

How to tell fontspec to load a font using a specific glyph variant not available as a CharacterVariant

I would like to use OpenType Vollkorn with xetex but its "1" causes me problems. It has an alternate glyph (whose glyph name is "one.ss01"), which I can trigger via StylisticSet={1}. But this also ...
3
votes
1answer
152 views

Substitute a character by another one (Lualatex)

The lowercase figures of Adobe Garamond Pro are very nice, but the 1 can be confusing: Is this 11 (as it should be) or 2 in Roman? I would like to replace automatically this lowercase 1 with ...
2
votes
0answers
86 views

ucharclasses misbehaves with Spacing Modifier Letters and Combining Diacritical Marks

The ucharclasses package makes it possible to automatically switch fonts (or do other useful things) based on the Unicode block of characters. However, it seems to be having trouble resetting the ...
1
vote
1answer
164 views

TexPad and fontspec package

I am compiling a .tex file with XeTeX from the cloud on an Ipad with TexPad. Whenever I try to load the fontspec package, it fails. Does anyone have any experience with this problem? Can TexPad simply ...
0
votes
0answers
19 views

ltxdockit and non-latin characters

I know that ltxdockit is not really a properly supported package. Still, I would welcome if someone could help me. ltxdockit seems to have problems with non-latin alphabets. The following example in ...
1
vote
1answer
26 views

Replacing only the text font in beamer with XeTeX

I'm trying to make a beamer presentation in which only the text font is changed, but the math remains the same. I would have thought that this would do it, \documentclass[english]{beamer} ...
0
votes
0answers
31 views

polyglossia undoes font changes from ClassicThesis

I'm trying to use the classicthesis.sty style class together with polyglossia with the result that polyglossia reverts all the changes to the fonts made by (I assume) classicthesis.sty (palatino for ...
2
votes
1answer
42 views

Sgaw Karen and IPA text (TIPA and fontspec)

I am writing a paper about the phonetics of the Sgaw Karen language. Because of this, I need to include both Sgaw Karen text and IPA characters. To display IPA characters, it seems that I need to use ...
3
votes
0answers
39 views

Cochin and common ligatures with font spec

I'm using Cochin as main font in a XeLaTeX project, and having Cochin glyphs for common ligatures such a fi and fl, I would expect those ligatures to be used by the fontspec package—but that's not ...
5
votes
1answer
91 views

Dot bellow letter in bibliography.bib file?

Using the first solution in this answer, we get a dot bellow the letter with \d{s} command, but how does this work in bibliography.bib file? MWE: \documentclass{scrbook} \usepackage{fontspec} ...
1
vote
2answers
52 views

Force Font Choice in Beamer Document

I'm trying to set the font for a single part of my presentation (actually a single wordmark throughout), but as far as I can tell I'm not able to override the beamer defaults easily. Here's an MWE: ...
5
votes
1answer
113 views

What is the correct way to make \setmainfont take effect?

\documentclass{article} \usepackage{fontspec} \setmainfont[BoldItalicFont={Times New Roman}]{DejaVu Sans} \begin{document} 1. This is normal as expected. \textit{2. This is in italic as ...
2
votes
1answer
77 views

Using the Google Noto fonts with fontspec

I've been typing a multilingual document that uses Latin, Cyrillic and Georgian characters, and I'm utterly stumped as to how to get fontspec to select the right fonts. If I use the MWE below, it ...
1
vote
0answers
73 views

What is the font used by Nature magazine? How can we get the same or similar text font and math font in LaTex? [duplicate]

For example, in this paper: http://www.nature.com/nature/journal/v529/n7587/pdf/nature16961.pdf How can we get the same or similar text font and math font in LaTex?