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

learn more… | top users | synonyms

15
votes
0answers
552 views

Letterspacing/font expansion in LuaLaTeX

I am a few months into learning LaTeX. I would like to use microtype with LuaLaTeX and I would like to obtain letter spacing for my smallcaps. I've tried to follow some of the threads on the subject ...
6
votes
2answers
305 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
284 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 ...
4
votes
1answer
287 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 ...
14
votes
4answers
1k 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 ...
12
votes
2answers
2k views

How to properly install and use a new font with LuaLaTeX?

I have problems trying to get new fonts to work when compiling with LuaLaTeX. I'm working on Mac and use TexShop (with the MacTeX package). It goes like this: I downloaded for example the Cardo ...
4
votes
0answers
800 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
154 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 ...
2
votes
1answer
154 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
563 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}{% ...
3
votes
1answer
316 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
824 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 ...
7
votes
0answers
338 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
499 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
165 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
2k 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
461 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, ...
3
votes
1answer
454 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 ...
5
votes
1answer
331 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
541 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 ...
3
votes
1answer
163 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
2answers
276 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
352 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
536 views

Latex - Segoe font - font spec package [closed]

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
351 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 -- ...
6
votes
1answer
117 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 ...
2
votes
1answer
206 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 ...
6
votes
2answers
337 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 ...
7
votes
1answer
702 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 ...
7
votes
1answer
234 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} ...
16
votes
5answers
713 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
394 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 ...
2
votes
1answer
270 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 ...
3
votes
1answer
183 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
306 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
641 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 ...
2
votes
1answer
199 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
254 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
446 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
314 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 ...
9
votes
1answer
159 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
455 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
279 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. ...
36
votes
1answer
811 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
287 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 ...
4
votes
1answer
203 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 ...
4
votes
1answer
330 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
474 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
195 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 ...
6
votes
1answer
1k 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. ...