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

learn more… | top users | synonyms

3
votes
1answer
59 views

How to catch missing font error and use another font?

I write a TeX-document on two PCs, the files are transferred via USB-Stick. The document should be printed with a specific font. For legal reaons the font is only available on one PC. When I ...
1
vote
0answers
479 views

fontspec does not work correctly. MiKTeX portable, no admin rights

I am trying to set up a TeX System at work, where I have no admin rights. So I went for MiKTeX portable. It is "installed" on my Desktop. I want to use fontspec with XeLaTeX to be able to choose the ...
5
votes
2answers
190 views

How to add LineFinal (falt) or WordFinal (fina) features to Garamond Premier Pro on XeLaTeX?

I'm still familiarizing myself with XeLaTeX and the fontspec package. I would like to access the OpenType feature LineFinal or WordFinal with the Garamond Premier Pro font from Adobe. For example, I ...
3
votes
1answer
160 views

xetex - myriad pro - want “bold” but not “bold condensed” font

Situation: I've got Myriad Pro included in xetex via: \setmainfont[Mapping=tex-text]{Myriad Pro} But when I use \textbf{this is a test} and see the result in Acrobat, I can see that I've gotten ...
14
votes
4answers
770 views

Bembo, Bembo Book or Garamond Premier Pro? And how to exploit all their features with LuaLaTex?

I am allowed to use one of these fonts (or the three of them if I want) to edit a document. Here is the list of the Bembo fonts I have : Bembo-Bold.otf Bembo-ExtraBoldOsF.otf ...
3
votes
1answer
108 views

Font Size Conversion

I am writing a document that is supposed to be typeset in Time New Roman or equivalent. The problem I have is that 12pt in font A is not the same as 12pt in font B. So is there a conversion table of ...
2
votes
0answers
140 views

fontspec: \setmainfont problem, bold/italic/bolditalic font error [closed]

A long time ago i posted about an error I occur when trying to set the mainfont using xelatex and the fontspec package, specifically the bold/italic/bolditalic fonts. My previous post from 2011 is ...
4
votes
1answer
92 views

fontspec-color not working correctly with microtype package [closed]

If I use the fontspec package together with the microtype package, the color-feature of fontspec does only colarize the last line of the paragraph instead of the whole paragraph, as the grouped ...
3
votes
1answer
460 views

Automatic switching of math font based on current text font

I'm writing a document using xelatex and have set up my document fonts using fontspec as follows: \usepackage{fontspec} \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O} ...
2
votes
1answer
70 views

Overriding `\bfseries` and `\itshape` to do special things for certain families

My problem arises from trying to work around the issue described in question 26276: I want to use SizeFeatures to explicitly select another family for small sizes, but this causes bold / italic / etc. ...
4
votes
2answers
134 views

Removing ligatures when using fontspec

This is a follow-up question to Currency symbol: French franc. Consider the following code: \documentclass{article} \usepackage{fontspec} \usepackage{siunitx} \DeclareRobustCommand*{\myfranc}{% ...
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 ...
2
votes
0answers
123 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} ...
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
214 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
1answer
338 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 ...
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 ...
2
votes
2answers
150 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 ...
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 ...
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 ...
6
votes
1answer
318 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 ...
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 ...
33
votes
1answer
509 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 ...
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 ...
15
votes
1answer
834 views

fontspec, lua, microtype: Renderer=Basic no longer working for specific font styles

You may have noticed that, as of now,* letterspacing small capitals is not as easy as it was in pdfTeX, where we could simply combine \textsc with microtype's \textls. Consider this example, which ...
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 ...
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} ...
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 ...
12
votes
2answers
1k views

What math fonts are available that work in xelatex?

For LaTeX, we have the Font Catalogue which is a good resource for fonts available through LaTeX. There doesn't appear to be a similar resource for Xe(La)TeX. So let's say I'm bored of computer ...
5
votes
1answer
162 views

Ornamental hyphenation character with Xe(La)TeX

Using Xe(La)TeX, how could the hyphenation character be set to any particular glyph in a given font? I'd also like to have the possibility to set a color for the glyph when used for that task and to ...
14
votes
1answer
186 views

Prevent LuaLaTeX from splitting umlauts

Here's a minimal example: \documentclass{minimal} \usepackage{fontspec}\setmainfont{Cambria} \begin{document}aöz\end{document} Compiling this into a PDF using lualatex and extracting the text using ...
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
126 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 ...
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 ...
5
votes
2answers
377 views

Weird spacing with DejaVu Sans Mono with MiKTeX's XeLaTeX

\documentclass{article} \usepackage{fontspec} \setmainfont{DejaVu Serif} \setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono} \begin{document} Hello World! \textsf{Hello World!} ...
3
votes
1answer
169 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} ...
5
votes
2answers
142 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 ...

1 2 3 4 5 8