# A B C D E F H I K L M N O P Q R S T U V W
Counters Internal counters used by LaTeX.
Cross References Automatic referencing.
Definitions Define your own commands etc.
Document Classes Some of the various classes available.
Environments Such as enumerate & itemize.
Footnotes How to produce footnotes.
Layout Controlling the page layout.
Lengths The length commands.
Letters The letter class.
Line & Page Breaking How to insert pagebreaks etc.
Making Paragraphs Paragraph commands.
\typeout{msg}
Prints msg on the terminal and in the
log file. Commands in msg that are
defined with \newcommand or \renewcommand
are replaced by their definitions before being printed.
LaTeX's usual rules for treating multiple spaces as a single
space and ignoring spaces after a command name apply to
msg. A \space command in msg
causes a single space to be printed. A ^^J in
msg prints a newline.
| Typefaces |
The typeface is specified by giving the "size" and
"style". A typeface is also called a "font".
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)\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\mathcalIn addition, the command \mathversion{bold} can be used for switching to
bold letters and symbols in formulas.
\mathversion{normal} restores the default.
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\scriptsize\footnotesize\small\normalsize\large\Large\LARGE\huge\HugeThese 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}OT1
and T1.\fontfamily{family}cmr for Computer Modern Romancmss for Computer Modern Sans Serifcmtt for Computer Modern Typewriter\fontseries{series}m Medium (normal)b Boldc Condensedbc Bold condensedbx Bold extended\fontshape{shape}n Upright (normal)it Italicsl Slanted (oblique)sc Small capsui Upright italicsol Outline\fontsize{size}{skip}\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 is
called.\usefont{enc}{family}{series}{shape}\fontencoding,
\fontfamily, \fontseries and
\fontshape with the given parameters, followed by
\selectfont.| LaTeX Reference |
Texmaker
|