GNU Info

Info Node: (latex.info)Styles

(latex.info)Styles


Next: Sizes Prev: Typefaces Up: Typefaces
Enter node , (file) or (file)node

\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)'
     Roman.

`\textit (\itshape)'

`\emph'
     Emphasis (toggles between \textit and \textrm).

`\textmd (\mdseries)'
     Medium weight (default). The opposite of boldface.

`\textbf (\bfseries)'
     Boldface.

`\textup (\upshape)'
     Upright (default). The opposite of slanted.

`\textsl (\slshape)'
     Slanted.

`\textsf (\sffamily)'
     Sans serif.

`\textsc (\scshape)'
     Small caps.

`\texttt (\ttfamily)'
     Typewriter.

`\textnormal (\normalfont)'
     Main document font.

`\mathrm'
     Roman, for use in math mode.

`\mathbf'
     Boldface, for use in math mode.

`\mathsf'
     Sans serif, for use in math mode.

`\mathtt'
     Typewriter, for use in math mode.

`\mathit'
     Italics, for use in math mode, e.g. variable names with several
     letters.

`\mathnormal'
     For use in math mode, e.g. inside another type style declaration.

`\mathcal'
     `Calligraphic' letters, for use in math mode.

   In addition, the command `\mathversion{bold}' can be used for
switching to bold letters and symbols in formulas.
`\mathversion{normal}' restores the default.


automatically generated by info2www version 1.2.2.9