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

learn more… | top users | synonyms

2
votes
1answer
126 views

LuaTeX error (font expansion): font has been expanded with different expansion step

I am suddenly getting the following error when trying to compile my document with LuaLaTeX and my simple question is: what does it mean? LuaTeX error (font expansion): font has been expanded with ...
8
votes
2answers
119 views

Turn off fontspec's option Ligatures=TeX inside document

This question is in some ways similar to Display real apostrophe in parts of a document, but I am now asking about the possibility of performing a specific operation. I can turn on the typical TeX ...
6
votes
0answers
213 views

Is LuaLaTeX producing faulty pdfs?

If I compile the following minimal code with LuaLaTeX I seem to get a faulty pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \begin{document} text \end{document} ...
3
votes
1answer
215 views

Reproducing Foreign Affairs Magazine's Style

I wanted to reproduce (or get something close to) the style the Foreign Affairs magazine uses (link to a sample article below) using fontspec and XeLaTeX. Right off the bat I don't know what their ...
2
votes
0answers
122 views

including font in .otf [closed]

I'm writing my thesis at a company and have to write it in their default font. How can I set a .otf font in Latex (using Texmaker on Windows)? \documentclass[a4paper,12pt,twoside,ngerman]{article} ...
2
votes
1answer
336 views

“Undefined control sequence” error with fontspec

As a result of the most recent TeXLive update, an XeTeX document I'm working on no longer compiles. I've narrowed down the problem to the "Color" declaration of a font I define. Here is a minimal ...
9
votes
1answer
221 views

Fake bold in LuaLaTeX

I am sometimes using a font that has no boldface, so I am wondering whether or not there is a way to use some fakebold-feature in LuaLaTeX. The fontspec documentation explains a feature for XeLaTeX, ...
1
vote
1answer
138 views

Use Type 1 fonts with XeLaTeX

I read many things about XeLaTeX and I wanted to give it a try, but I wasn't able to figure out how to make use of Type 1 fonts, in my case especially the font Lucida, which I bought from pcTeX (which ...
0
votes
0answers
111 views

Glyph missing in footnote or header, but not body text in XeLaTeX [closed]

I am trying to typeset a thesis using XeLaTeX, in Polish language. I already managed to typeset it using PDFLaTeX, but I want a more elegant typeface (I chose EB Garamond). I am new to XeLaTeX though. ...
4
votes
1answer
153 views

Adobe Caslon Pro, XeLaTeX, fontspec - how to change the “dollar” symbol that's used with oldstyle numbers

I am using XeLaTeX with Adobe Caslon Pro, and I would like to have oldstyle numbers. But when I use the option Numbers=OldStyle in fontspec, my dollar sign changes from a full-height S with two lines ...
2
votes
2answers
149 views

Font cannot be found

I tried to generate a pdf file from the following document using pdfLaTeX and XeLaTeX on Windows 7 (MiKTex 2.9). pdfLaTeX responded that I need to use XeLaTeX. When I used XeLaTeX, it said the the ...
1
vote
0answers
68 views

TIPA: suppress tonestembar no longer works in fontspec

Most of the features in tipa from TeXLive2009 seem to be part of fontspec in TeXLive2012 -- if you activate both, you get an error message: "Command sups already defined". The following code to ...
6
votes
1answer
178 views

Deciding Which Glyphs to Use in Font Encoding

I wanted to use one of my favorite fonts, Crimson, while still maintaining full support from the microtype package. Since XeTeX and LuaTeX are not fully supported by the microtype package (as of ...
0
votes
1answer
237 views

Is it allowed to use Cambria and Cambria Math fonts in a book? [closed]

What about commercial use of Cambria and Cambria Math OTF fonts? I mean whether a publishing house could take these fonts to print my book? As far as I know, the Cambria fonts are included with ...
1
vote
0answers
177 views

Latex - Segoe font - font spec package

I am trying to create a presentation using latex (texmaker) - Beamer I was wondering how to use segoe font in latex. I searched the forums like crazy to install the fontspec package but I had no ...
12
votes
1answer
248 views

Towards a \ucshape and \textuc command for uppercase text (XeTeX, LuaTeX)

While we have \textit and \textsc, \itshape and \scshape etc., there's no \textuc and \ucshape to typeset its argument in uppercase. There is \MakeUppercase, but -- as uppercase is not a font style -- ...
3
votes
0answers
46 views

tipa with fontspec redux: tilde above characters

I'm trying to use the tipa package with fontspec, but they don't play nice together. I've read previous questions trying to solve the issues that come up (like this one), and that's the solution I've ...
1
vote
1answer
100 views

XeTeX/mathspec, more than one math digits font

When using the mathspec package, is it possible to have more than one math digits font in different places in the same document. Mostly, I want the font for my math digits to be the same as my main ...
5
votes
2answers
134 views

tabular numbers in tables, proportional in text

I'm using LuaTeX with a font that has proportional, lining and tabular numbers available. Is it possible to set things up so tables automatically use tabular numbers - but proportional numbers are ...
6
votes
1answer
316 views

Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex

I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...
0
votes
0answers
55 views

Where can I indicate a new font directory? [closed]

It's been quite few days I started to use XeLaTeX to make my scholar reports. And I still wonder what is the good way to indicate a new font to use in my document. I've included the package fontspec ...
6
votes
1answer
124 views

Activating fi and fl ligatures with fontspec for Berling font

I have a font named Berling containing fi and fl ligatures on glyph 109 and 110. How can I activate these with lualatex? For the moment I am trying: \documentclass[a4paper]{memoir} ...
12
votes
3answers
266 views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
3
votes
1answer
180 views

How to set lining numbers in math in Beamer (with EB Garamond) under XeLaTeX

I'm using EB Garamond with XeLaTeX and Beamer as follows. (I'm not actually sure whether it's all necessary--advice accepted.): \usepackage[T1]{fontenc} % not sure why ...
0
votes
0answers
122 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 ...
1
vote
0answers
95 views

Test for old style numerals font feature (using fontspec)

Using XeLaTeX and fontspec, I want to test if the currently selected font has old style numerals (which I use in the main font, but not in the sans font). According to the fontspec documentation, it ...
0
votes
1answer
125 views

XeLaTeX - Invalid Font: -1

I try to compile the following document using XeLaTeX: \documentclass[twoside,openright,draft]{scrreprt} \usepackage{fontspec} \setsansfont{Univers 65 Bold} \begin{document} \section{Lorem ...
5
votes
1answer
300 views

Can TexText in Inkscape only load certain packages? - Or, how to recreate a page from a thread-bound Chinese book?

I've finally managed to install Inkscape 0.48 on my Mac OS X Mountain Lion. My TeX distribution is TeX Live. I've installed TexText 0.4.4. and I can use the extension to write simple LaTeX text (I ...
0
votes
1answer
34 views

Why did the fontsize of normal text change after dividing into included sub-files? [closed]

FIXED, SOLVED. OLD SHORTEND QUESTION: As a last step of my template creation I divided my scrbook-file into several sub-files. Nearly everything worked: Font size of main font changed to appear ...
2
votes
1answer
116 views

Is there a way to use external font files with unicode-math?

I use fontspec with LuaLaTeX to load fonts from external file even if they are not installed on the system. Such as \usepackage{fontspec} \setmainfont[Path=fonts/, Extension=.otf, ...
2
votes
1answer
146 views

fontspec usage with XeLaTeX under MiKTeX 2.9 and Win7Pro

I've a few questions about XeLaTeX and fontspec. Given: EBGaramond12-SC.otf:Family: EB Garamond 12 SC EBGaramond12-SC.otf:Subfamily: SC EBGaramond12-SC.otf:Full name: ...
1
vote
1answer
215 views

XeTeX and Fedora: can't use OTF fonts

When trying to compile a document with XeLaTeX, I'm getting the following error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: "font-not-found" ! ! The font "Linux Libertine ...
1
vote
0answers
246 views

How to assign distinct font, color and style to each sectioning environment of a document?

I am trying to compose with *TeX a document that looks like a GDR manual. Basically I need to set a different font, style and color for chapter, section, subsection and subsubsection labels. It is ...
8
votes
1answer
102 views

Alternates for specific characters & kerning

I am trying to change the stylistic set used for italic y in my document. I used Alan Munn's method, explained here: Use stylistic set variations only for certain glyphs. It works properly, except ...
22
votes
1answer
275 views

How to automatically adjust the emdash length according to current language?

In Russian typography the emdash, which is typed as the ligature --- in LaTeX, is 20% shorter than the standard emdash. The babel package cares this difference so that --- prints a shorter emdash if ...
2
votes
1answer
127 views

Changing the Ruby Font (for Pīnyīn)

Using ruby package to generate both furigana for Japanese and Pīnyīn for Chinese. I use individual \sf calls to individually switch each Pīnyīn from the Japanese font back to the default sans font. ...
33
votes
1answer
508 views

How to suppress a “Rare” ligature that pre-empts a “Common” ligature for the same character pair?

In several documents I'm creating with LuaLaTeX (using MacTeX2012 on a Mac that's running MacOS X 10.7.5), I primarily use the Adobe-issued font Garamond Premier Pro as the main text font. I use this ...
5
votes
2answers
141 views

Accessing IPA characters when using Charis SIL

When using Charis SIL, how do I access IPA characters? Are there handy macros, as with tipa.sty? If I have to set up my own encoding using unicode numbers, how is this best done? (Code from those ...
3
votes
1answer
114 views

Lao, Vowels, XeLaTeX, fontspec

Can anyone see an error here? I'm using \newfontfamily{\L}[Script=Lao]{Lao Sangam MN} to switch to Lao, then using \L{ວຽງຈັນ}, but getting ວຽງຈ ັນ in the PDF. No luck in other fonts (all ...
3
votes
1answer
168 views

Graphite features (Chinese Pinyin and low diacritics) on Gentium Plus

I'm trying to activate the Graphite features on Gentium Plus (Chinese Pinyin tone marks + low diacritics). This is my minimal example: \documentclass[utf8,12pt,letterpaper]{article} ...
7
votes
2answers
239 views

sansmath functionality with fontspec

I always typeset bar plots (using the pgfplots package that uses math-mode for pgfplots labeling) with a sans serif font. Since I'm using LuaTeX I'm running into problems (see also Bar plots in sans ...
5
votes
1answer
149 views

'r' rendered improperly in Devanagari ligature [closed]

Have bumped into a LaTeX-specific problem (on my current system at least) in typesetting Devanagari: 'r' in conjunct consonants such as 'ntrya' does not render properly (e.g., as न्त्र्य, see image ...
5
votes
1answer
712 views

How to install fonts from the LaTeX font catalogue?

How can I install both fonts in the page http://www.tug.dk/FontCatalogue/garamondx/ to work together? My attempt so far was installing both as OpenType system fonts and using XeLaTeX with no success. ...
4
votes
1answer
297 views

How to use otf fonts correctly?

I'm using Linux. I'd discovered that is possible to run lualatex and use my system fonts. Well, I'm trying to see how they look like. Here is my sample: \documentclass[11pt,a4paper]{amsart} ...
9
votes
2answers
250 views

Half of a document in pdfLaTeX, half in XeLaTeX

As far as I know, I cannot use microtype in XeLaTeX, and cannot use fontspec in pdfLaTeX. I am rendering Chinese symbols only on one page, and I need this line: \newfontfamily{\J}[Scale=0.85]{Osaka} ...
9
votes
2answers
116 views

Fontspec warning about lining numbers not being available in font

Using the sans serif font Linux Biolinum, I set the Numbers option to Lining, in order to use normal numbers. This gives the following warning message (twice): ...
11
votes
1answer
182 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 ...
6
votes
1answer
174 views

xelatex hangs when using fontspec

I'm using TexStudio 2.5.1 on Windows 7 with MiKTeX. The following brief .tex file will cause xelatex to hang: \documentclass[12pt]{article} \usepackage{fontspec} \begin{document} Test \end{document} ...
3
votes
1answer
246 views

How can I use fontspec to set a sans heading font with mathdesign

I like the mathdesign package, but would like to use Myriad Pro section headings in LuaLaTeX. Is this possible, or do I have to convert an OTF font to T1? (My ignorance of font issues in *TeX is ...
1
vote
1answer
119 views

Hyphenate typewriter / avoid overfull \hboxes in code, using fontspec and XeTeX

I would like to avoid overfull \hboxes as a result of inline code, inserted with \textt{foo} or \ttfamily, e.g. in this MWE: % compile with xelatex \documentclass{article} \usepackage[textwidth=4cm, ...

1 2 3 4 5 8