head 1.1; access; symbols; locks mys:1.1; strict; comment @# @; 1.1 date 99.11.22.23.41.12; author mys; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @############################################################ Typefaces ############################################################ The typeface is specified by giving the "size" and "style". A typeface is also called a "font". Styles: Select roman, italics etc. Sizes: Select point size. Low-level font commands: Commands for wizards. ############################################################ Styles ############################################################ The following type style commands are supported by LaTeX. 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 declaration forms are cumulative; i.e., you can say \sffamily\bfseries to get sans serif boldface. You can also use the environment form of the declaration forms; e.g. \begin{ttfamily}...\end{ttfamily}. \textrm (\rmfamily) ::textrm::rmfamily:: Roman. \textit (\itshape) ::textit::itshape:: \emph ::emph:: Emphasis (toggles between \textit and \textrm). \textmd (\mdseries) ::textmd::mdseries:: Medium weight (default). The opposite of boldface. \textbf (\bfseries) ::textbf::bfseries:: Boldface. \textup (\upshape) ::textup::upshape:: Upright (default). The opposite of slanted. \textsl (\slshape) ::textsl::slshape:: Slanted. \textsf (\sffamily) ::textsf::sffamily:: Sans serif. \textsc (\scshape) ::textsc::scshape:: Small caps. \texttt (\ttfamily) ::texttt::ttfamily:: Typewriter. \textnormal (\normalfont) ::textnormal::normalfont:: Main document font. \mathrm ::mathrm:: Roman, for use in math mode. \mathbf ::mathbf:: Boldface, for use in math mode. \mathsf ::mathsf:: Sans serif, for use in math mode. \mathtt ::mathtt:: Typewriter, for use in math mode. \mathit ::mathit:: Italics, for use in math mode, e.g. variable names with several letters. \mathnormal ::mathnormal:: For use in math mode, e.g. inside another type style declaration. \mathcal ::mathcal:: `Calligraphic' letters, for use in math mode. ::mathversion:: In addition, the command \mathversion{bold} can be used for switching to bold letters and symbols in formulas. \mathversion{normal} restores the default. ############################################################ Sizes ############################################################ The following standard type size commands are supported by LaTeX. The commands as listed here are "declaration forms". The scope of the declaration form lasts until the next type style command or the end of the current group. You can also use the environment form of these commands; e.g. \begin{tiny}...\end{tiny}. \tiny ::tiny:: \scriptsize ::scriptsize:: \footnotesize ::footnotesize:: \small ::small:: \normalsize (default) ::normalsize:: \large ::large:: \Large ::Large:: \LARGE ::LARGE:: \huge ::huge:: \Huge ::Huge:: ############################################################ Low-level font commands ############################################################ These commands are primarily intended for writers of macros and packages. The commands listed here are only a subset of the available ones. For full details, you should consult Chapter 7 of The LaTeX Companion. \fontencoding{enc} ::fontencoding:: Select font encoding. Valid encodings include OT1 and T1. \fontfamily{family} ::fontfamily:: Select font family. Valid families include: cmr for Computer Modern Roman cmss for Computer Modern Sans Serif cmtt for Computer Modern Typewriter and numerous others. \fontseries{series} ::fontseries:: Select font series. Valid series include: m Medium (normal) b Bold c Condensed bc Bold condensed bx Bold extended and various other combinations. \fontshape{shape} ::fontshape:: Select font shape. Valid shapes are: 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} ::fontsize:: Set font size. The first parameter is the font size to switch to; the second is the \baselineskip to use. The unit of both parameters defaults to pt. A rule of thumb is that the baselineskip should be 1.2 times the font size. \selectfont ::selectfont:: The changes made by calling the four font commands described above do not come into effect until \selectfont is called. \usefont{enc}{family}{series}{shape} ::usefont:: Equivalent to calling \fontencoding, \fontfamily, \fontseries and \fontshape with the given parameters, followed by \selectfont. @