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

learn more… | top users | synonyms

4
votes
1answer
65 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 ...
10
votes
1answer
7k 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 ...
4
votes
0answers
71 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
137 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
345 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
100 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
172 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
82 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
58 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
102 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
82 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
42 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} ...
4
votes
1answer
91 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, ...
3
votes
0answers
91 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
61 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
65 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
51 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
30 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
47 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
158 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
153 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
198 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
51 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
136 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
46 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
177 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
44 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
46 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
833 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
956 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
119 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
59 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
313 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 ...
4
votes
3answers
120 views

combine \usepackage{times} and \fontspec \setmainfont

I'm having difficulty finding a Times-like font which has support for Americanist phonetic symbols, bold, italic, bold italic and small caps. Currently, I've got a setup using xelatex which gets me ...
1
vote
1answer
250 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 ...
3
votes
2answers
113 views

How can I make fontspec avoid black italics with Charter in OS X Mavericks?

OS X Mavericks includes a copy of the font Charter in /Library/fonts/Charter.ttc. This file provides six variants: roman, italic, black, bold, black italic, and bold italic. As the following example ...
3
votes
2answers
116 views

Fontspec/xeCJK AutoFakeBold and copyable Chinese characters in PDF

I'm writing a document in mixed English and Chinese (with the xeCJK package. I want to add some fake bold headlines using the font Kaiti SC. When I do this using the AutoFakeBold option, this makes it ...
13
votes
1answer
1k views

How to flip / produce the mirror image of a special character in xelatex

I'm producing a menu with xelatex using the font Bickham Script Pro. It has a swirly pattern I'd like to use at the beginning and end of a line. The swirly character would need to be flipped to have ...
5
votes
0answers
75 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 ...
0
votes
0answers
47 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 ...
1
vote
1answer
70 views

Tracking with XeTeX via LetterSpace

When I use PDFLaTeX I have a setup using microtype and a font available in small caps (eg \usepackage{lmodern}), \usepackage[ protrusion=true, expansion=true, kerning=true, spacing=true, ...
5
votes
2answers
161 views

How to select a font for the main Chinese character and another font for its Furigana?

The objective is to make a list of Japanese vocabularies with Kanji stroke order for the main characters, its furigana (small kana characters placed above the main characters), and its meaning (in ...
8
votes
1answer
104 views

Ensuring embedded Fonts are hinted for on-screen PDF viewing

I'm trying to recreate a pleasing page layout from an existing pdf as a way to get more familiar with book design in latex. The geometry part was fairly simple to get right, but I've come across a ...
11
votes
3answers
143 views

Capital ẞ in LaTeX/XeTeX/lualatex/whatever

I am trying to get a ẞ in my LaTeX document. How can I do this? I already tried: Using other fonts: dejavu and libertine Using \MakeUppercase{ß}, which sometimes produces nothing, sometimes produces ...
2
votes
0answers
91 views

Font found with XeLaTeX not found with LuaLaTeX on Linux [closed]

The following MWE will build correctly with XeLaTeX but not with LuaLaTeX. \documentclass{article} \usepackage{unicode-math} \setmainfont{TimesNewRomanPSMT} \setmathfont{CambriaMath} ...
9
votes
1answer
184 views

Generating a table of all glyphs – including meta data like name, Unicode etc

The answers to Generating a table of glyphs with XeTeX cycle through character positions in the font and output a glyph (and its ordinal number) if one is assigned to that position, which is only ...
9
votes
2answers
108 views

Define a new \XXseries macro for light fonts

Is ist possible to define a new series with fontspec? I tried the following but … it throws an error if the font doesn’t have a light version instead of replacing the font, like \bfseries does. In ...
3
votes
2answers
120 views

Accessing special glyphs in a font with xeLaTeX

The Palatino Sans Family contains a special font for arrows that I'd like to use from xeLaTeX. The Windows font preview shows examples using the German sentence "Franz jagt im komplett verwahrlosten ...
10
votes
0answers
155 views

Old ligatures in Siṇhala

I am trying to reproduce a term from an old Siṇhala-English dictionary. I have checked several fonts and the best candidates for the job seemed coming from the Bhashitha font family. The font contains ...