Overview of the fontspec package
developThe fontspec package provides a unified interface for loading fonts in LaTeX using XeTeX or LuaTeX. It allows you to load fonts directly by their name or filename without requiring manual font installation (LuaTeX requires the luaotfload package).
Beyond simple loading, fontspec provides access to OpenType font features, such as:
- Upper and lower case numbers
- Proportional and monospaced numbers
- Swash letters
- Ligature control