Contents
How do I use an OpenType font with my latex?
If you don’t want to install the font as a system font, you can drop the font into the same folder as your tex document and xelatex should be able to find it. To use OpenType and TrueType fonts with tex, latex (for dvi, dvi-ps, dvi-ps-pdf workflow) special font metrics will need to be generated and font map installed.
Which is the most popular LaTeX font family?
The popular LaTeX font typefaces are originated from four families: 1 Computer Modern (default in st 2 Latin Modern: LM Roman, LM San 3 Post Script Fonts: Times, Utop 4 TeX Gyre
Where do I find the font in Tex?
After that you can use fontspec & Xe (La)TeX to select that font by name (note that font name can be different from the file name). If you don’t want to install the font as a system font, you can drop the font into the same folder as your tex document and xelatex should be able to find it.
Which is the default font for Computer Modern?
Computer Modern (default in standard LaTeX classes): CM Roman, CM Sans Serif, CM Typewriter See also The LaTeX Font Catalogue, though not that not all fonts listed in the catalogue is distributed with a license that allows it to be distributed as part of TeX Live, and therefore not all those fonts are available on Overleaf.
How to test font family and typefaces in overleaf?
\\documentclass{ article } \sepackage[T1]{ fontenc } \sepackage{ tgbonum } \\begin{ document } This document is a sample document to test font families and font typefaces. This text uses a different font typeface \\end{ document }
Which is the best font to use for pdfTeX?
There are two replacements for pdfTeX that natively use Unicode input and modern fonts: XeTeX and LuaTeX. For LaTeX, these are typically invoked in your editor using the engines xelatex and lualatex respectively.
Are there any fonts that work with XeTeX?
XeTeX includes a package called fontspec that gives full access to all system fonts, as well as advanced features for OpenType fonts, such as ligatures and small caps.
How to select font by name in XeTeX?
On Mac OS X and Linux (Gnome at least) it is simple as double clicking the downloaded font. After that you can use fontspec & Xe (La)TeX to select that font by name (note that font name can be different from the file name).