The FONTSPEC package ==================== The `fontspec` package provides an automatic and unified interface for loading fonts in LaTeX. XeTeX and LuaTeX (the latter through the `luaotfload` package) allows a direct interface to fonts which may be loaded by their name or filename, so no manual font installation is required. This package also provides access to the large number of font features available with OpenType (and other) fonts, including upper and lower case numbers, proportional and monospaced numbers, swash letters, ligature control, and many many others. See the documentation `fontspec.pdf` for full information. Summary of user commands ------------------------ To define commands for selecting fonts efficiently through a document: \newfontfamily\{}[] \newfontface \{}[] To select the default document fonts: \setmainfont{}[] \setsansfont{}[] \setmonofont{}[] To define an ad hoc font family individually: \fontspec{}[] To specify features to be used for every subsequently defined font: \defaultfontfeatures{} \defaultfontfeatures+{} To specify features to be used for specific fonts: \defaultfontfeatures[]{} \defaultfontfeatures+[]{} To add features to the font family currently in use: \addfontfeatures{} Package details --------------- Release versions of fontspec are available from CTAN: Development and historical versions are available from Github: Please offer suggestions and file bug reports in the issue tracker: If you are running TeX Live, you can update to the latest version of this package by running tlmgr install fontspec If you wish to manually download the latest release version from CTAN, get the pre-built TDS package and extract it into your local texmf tree: http://mirror.ctan.org/install/macros/latex/contrib/fontspec.tds.zip If you wish to use the latest development version from Github, use git to obtain the latest repository code with git clone git://github.com/latex3/fontspec.git See the `working` branch for changes that have not been released to CTAN yet (no guarantees the code in that branch will always be fully functional). Having obtained the package from Github, install the package code by running l3build install This will compile the documentation and install all necessary files in your local texmf tree. Depending how your TeX distribution is configured you may then need to update the filename database with `texhash`.