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

learn more… | top users | synonyms

3
votes
1answer
560 views

fontspec and \color

Compiling the following example (with xelatex or lualatex), I would expect to get violet letters abc: \documentclass{article} \usepackage{xcolor} \usepackage{fontspec} \setmainfont{Verdana} ...
27
votes
2answers
2k views

An example of changing kerning of a font in LuaLaTeX

LuaLaTeX, through the luaotfload package, is able to dynamically add and modify features and properties of a font. This is performed by using the FeatureFile option in fontspec when loading a font; ...
6
votes
2answers
1k views

Accessing Private Use Area Character by fontspec in XeTeX

I am using XeTeX to encode Opentype fonts. One of the feature of opentype font is availability of Private Use Area. Generally, Private Use Area in most cases contains different variants of same ...
16
votes
3answers
5k views

Fontspec: Palatino with small caps and old-style figures

For various reasons, I’m using the fontspec package. However, I’d also like to use Palatino as the document’s main font, and I want to use it with small caps and old-style figures. So I’ve got four ...
6
votes
2answers
629 views

How to make sense of font metrics?

If I have a Tex font, and I want to really understand how it will be laid out by Tex, and what features of the font to bear in mind when tuning my output to be beautiful, what tools are useful for ...
8
votes
1answer
359 views

Whatever happened to \newfontinstance?

I just installed a pretest version of TeXLive 2010 and tried compiling some files as a test. None of my XeLaTeX files compile because apparently the command \newfontinstance (which was defined in ...
5
votes
2answers
4k views

XeTeX not working on Ubuntu 10.04?

When trying to compile a LaTeX document in Ubuntu 10.04 with xelatex I get the following error message: This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) restricted \write18 ...
9
votes
2answers
2k views

Math in Trebuchet MS

How can I write equations in Trebuchet MS? Ideally, I'd like to have the following results: All symbols that are available in Trebuchet MS are written in Trebuchet MS. That includes, e.g., Latin and ...