How can I use a font in latex?
The catalog describes clearly which package to include in order to use a font. Where necessary, you have to install the concerned font package by using the package manager of your LaTeX distribution. If you want to use OpenType (OTF) or TrueType (TTF) fonts installed on your system, you better go with XeTeX.
What do serifs mean in a LaTeX font?
Different styles and therefore fonts with similar design features are summarized in a font family. See Typeface on Wikipedia for more details on fonts and font families. Serifs are small features at the end of letter strokes. The default LaTeX font Computer Modern has serifs.
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
How to change the font style in Tex?
In TeX/LaTeX, the font series distinguishes between normal and bold font styles. These are the commands to switch between bold and normal fonts: extbf{…} extmd{…} Shape design features include normal, italic, slant, and small capitals. Slant is a skewed version of the normal/up font whereas italic has a different letter shape.
What is the default font for \\ bfseries in latex?
However, the default for \\bfseries in LaTeX is not b but bx. This font doesn’t provide bx, so LaTeX will have to substitute something. By default, it will substitute medium and issue a warning. That isn’t great. We’d probably prefer it to substitute bold b rather than medium m and we probably don’t want a warning every time we use bold either.
How does a font metric file work in latex?
Then LaTeX will look for a TeX Font Metric file ec-qplr-sc.tfm. This file provides LaTeX with a variety of information. In particular, it tells TeX the size of the box needed for each character and how to shift boxes left or right depending on which box comes immediately before or immediately after.
How to use special purpose fonts in latex?
LaTeX defines \sefont {} {} {} {} as follows: Now consider a special-purpose font, such as that supported by GoudyIn.sty. This defines two macros as follows You could use these commands directly in your document or you use use every time you wanted to use the font.
What is the name of the TeX font?
For simplicity, we’ll use the rule that if TrueType font file has a name foo.ttf, than virtual tex font in T1 encoding will be named ecfooand raw tex font will be named recfoo.
How to use TrueType fonts with Tex and pdfTeX?
TrueType File Name (.ttf) TeX Name (virtual font; .vf, .tfm) Raw TeX Name (.tfm, .afm, .pk) Regular times ectimes rectimes Italic timesi ectimesi rectimesi Bold timesbd ectimesbd rectimesbd BoldItalic timesbi ectimesbi rectimesbi Oblique ectimeso rectimeso BoldOblique ectimesbdo rectimesbdo