____________
The typeface is specified by giving the "size" and "style". A typeface is also called a "font".
\rm
, \em
, etc). The other
is the use of new commands for changing a specific attribute
of a given font.
\rmfamily
(\rm
) - Roman font
\sffamily
(\sf
) - sans serif font
\ttfamily
(\tt
) - typewriter font
\bfseries
(\bf
) - boldface
\mdseries
- medium
\upshape
- normal
\itshape
(\it
) - italics
\slshape
(\sl
) - slanted
\scshape
(\sc
) - small caps
\sffamily\bfseries
to get sans serif boldface.
You can also use the environment form of the declaration forms; e.g.
\begin{ttfamily}...\end{ttfamily}
.
These commands are used like \textit{italics text}
. The corresponding
command in parenthesis is the "declaration form", which takes no
arguments. The scope of the declaration form lasts until the next type
style command or the end of the current group.
The following is a list of the typeface styles available in LaTeX:
\textrm (\rmfamily)
\textit (\itshape)
\emph
\textmd (\mdseries)
\textbf (\bfseries)
\textup (\upshape)
\textsl (\slshape)
\textsf (\sffamily)
\textsc (\scshape)
\texttt (\ttfamily)
\textnormal (\normalfont)
\mathrm
\mathbf
\mathsf
\mathtt
\mathit
\mathnormal
\mathcal
The following type size commands are supported by LaTeX.
\tiny
\scriptsize
\footnotesize
\small
\normalsize
(default)
\large
\Large
\LARGE
\huge
\Huge
\Huge