These commands are primarily intended for writers of macros and packages. The commands listed here are only a subset of the available ones.
\fontencoding{enc}
OT1
and T1
.
\fontfamily{family}
cmr
for Computer Modern Roman
cmss
for Computer Modern Sans Serif
cmtt
for Computer Modern Typewriter
and numerous others.
\fontseries{series}
m
Medium (normal)
b
Bold
c
Condensed
bc
Bold condensed
bx
Bold extended
and various other combinations.
\fontshape{shape}
n
Upright (normal)
it
Italic
sl
Slanted (oblique)
sc
Small caps
ui
Upright italics
ol
Outline
The two last shapes are not available for most font families.
\fontsize{size}{skip}
\baselineskip
. The unit of both parameters defaults to
pt. The default \baselineskip
for the Computer Modern typeface
is 1.2 times the \fontsize
.
The line spacing is also multiplied by the value of the
\baselinestretch
parameter when the type size changes; the
default is 1. However, the best way to “double space” a document,
if you should be unlucky enough to have to produce such, is to use the
setspace
package; see
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=linespace.
\selectfont
\selectfont
is called.
\usefont{enc}{family}{series}{shape}
\fontencoding
, \fontfamily
,
\fontseries
and \fontshape
with the given parameters,
followed by \selectfont
.