6 Changing the Type Style

The type style can be changed by using one of the following commands.

Upright shape                \textup{Upright    shape}
                             {\upshape   Upright  shape}
Italic shape                   \textit{Italic   shape}

                             {\itshape   Italic  shape}
Slanted shape                \textsl{Slanted    shape}
                             {\slshape   Slanted  shape}

SMALL  CAPS  SHAPE           \textsc{Small   caps  shape}
                             {\scshape   Small  caps  shape}


Medium  series               \textmd{Medium   series}
                             {\mdseries   Medium  series}
Boldface  series             \textbf{Boldface    series}

                             {\bfseries   Boldface  series}

Roman  family                \textrm{Roman   family}

                             {\rmfamily   Roman  family}
Sans serif family             \textsf{Sans   serif  family}
                             {\sffamily   Sans  serif  family}

Typewriter   family          \texttt{Typewriter    family}
                             {\ttfamily   Typewriter   family}

The above commands can be combined in the logical way.

Input:


  A mathematician is a
  machine for converting
  \textsl{\textsf{coffee}}
  into
  \texttt{\textsc{Theorems}}.

Output:

A  mathematician  is a machine for converting coffee into THEOREMS.

_______________________________________________________
Last updated: October 27, 2002
Site maintained by: Clyde Clements clyde@mathstat.dal.ca
Return to my home page.