You are on page 1of 15

LATEX Command Summary \> in tabbing environment is a forward tab.

Otherwise, medium space = 29 quad (math


mode).
Lloyd Botway and Chris Biemesderfer
Space Telescope Science Institute \@ declares that the period that follows to be a
Baltimore, MD 21218 sentence-ending period.
February 15, 2019 \[ — same as \begin{displaymath} or $$.
\\ terminates a line.
This listing contains short descriptions of the \\* terminates a line, but disallows a pagebreak.
control sequences that are likely to be handy for \] — same as \end{displaymath} or $$.
users of LATEX v2.09 layered on TEX v2.0. Some \^ makes a circumflex, as ô.
of these commands are LATEX macros, while oth-
ers belong to plain TEX; no attempt to differenti- \_ is an underscore, as in hours worked.
ate them is made. We would appreciate hearing \‘ in tabbing environment moves all text which
about errors in the list. follows (up to \\) to the right margin.
Elsewhere, grave accent , as ò.
\ — ordinary space after period. \{ prints a curly left brace: {.
\! — negative thin space = − 16 quad; \| is k (math mode).
xx\!x yields xxx (math mode). \} prints a curly right brace: }.
\" makes an umlaut, as ö. \~ makes a tilde, as ñ.
\# prints a pound sign: #. \a’ makes an acute accent in tabbing
environment, as ó.
\$ prints a dollar sign: $.
\a‘ makes a grave accent in tabbing
\% prints a percent sign: %.
environment, as ò.
\& prints an ampersand: &. \a= makes a macron accent in tabbing
\’ in tabbing environment moves current column environment, as ō.
to the right of the previous column. Elsewhere, \aa is å. \AA is Å.
acute accent, as ó.
\acute makes an acute accent: á (math mode).
\( — start math mode. Same as \begin{math}
\addcontentsline{toc}{section}{name} adds
or $.
the command \contentsline{section}{name}
\) — end math mode. Same as \end{math} or $. to the .toc file.
\* is a discretionary multiplication sign, at which \address{text} declares the return address in
a line break is allowed. the letter document style.
\+ moves left margin to the right by one tab stop. \addtocontents{toc}{text} writes text to the
Begin tabbed line. .toc file.
\, — thin space = 16 quad; xx\,x yields xx x. It \addtocounter{name}{amount} adds amount to
is not restricted to math mode. counter name.
\- in tabbing environment, moves left margin to \addtolength{\nl}{length} adds length to
the left by one tab stop. Elsewhere, optional length command \nl. See also \setlength,
hyphenation. \newlength, \settowidth.
\. puts a dot accent over a letter, as ȯ. \ae is æ. \AE is Æ.
\/ inserts italics adjustment space. \aleph is ℵ (math mode).
2 \alph{counter} prints counter as lower-case
\: — medium space = 9 quad; xx\:x yields xx x
(math mode). letters. \Alph{counter} prints upper-case
5 letters.
\; — thick space = 18 quad; xx\;x yields xx x
(math mode). \alpha is α (math mode).
\< in tabbing environment, puts text to left of \amalg is q (math mode).
local left margin. \and separates multiple authors for the
\= in tabbing environment, sets a tab stop. \maketitle command.
Elsewhere, makes a macron accent, as ō. \angle is 6 (math mode).
2 LATEX Command Summary

\appendix starts appendices. \begin{eqnarray} starts a displaymath


\approx is ≈ (math mode). environment in which more than one equation
can be accommodated. Separate equations with
\arabic{counter} prints counter as arabic
\\ or \\*; use \nonumber to suppress
numerals 1, 2, etc.
numbering a particular equation.
\arccos is arccos (math mode).
\begin{eqnarray*} begins an environment like
\arcsin is arcsin (math mode). the eqnarray environment except that the
\arctan is arctan (math mode). equations aren’t numbered.
\arg is arg (math mode). \begin{equation} starts a displaymath
environment and adds an equation number.
\arraycolsep — width of the space between
columns in an array environment. \begin{figure}[pos] begins a floating
\arrayrulewidth — width of the rule created in environment, which may be optionally placed
tabular or array environment by |, \hline, at pos (see positions on page 8). Document
or \vline. styles report and article use the default tbp.

\arraystretch — scale factor for interrow \begin{figure*}[pos] begins a


spacing in array and tabular environments. two-column-wide figure. See \begin{figure}.

\ast is ∗ (math mode). \begin{flushleft} starts environment with


ragged right-hand margin. Separate lines with
\asymp is  (math mode). \\. See \raggedright.
\author{names} declares author(s) for the \begin{flushright} starts environment with
\maketitle command. ragged left-hand margin. Separate lines with
\b is a “bar-under” accent, as o. \\. See \raggedleft.
¯
\backslash is \ (math mode). \begin{itemize} starts a “bulleted” (•) list.
\bar puts a macron over a letter: ā (math mode). Start each item with \item.
\baselineskip — distance from bottom of one \begin{list}{labeling}{spacing} starts a
line of a paragraph to bottom of the next line. general list environment. labeling specifies
how items are labeled when \item has no
\baselinestretch — factor by which
argument. spacing is an optional list of
\baselineskip is multiplied each time a type
spacing parameters.
size changing command is executed.
\begin{math} starts a math display like this:
\Bbb produces blackboard-style letters, as B
x2 + y 2 , within text. Same as $.
(math mode and amsmath substyle).
\begin{minipage}[pos]{vsize} starts a box of
\begin{environment} — always paired with
height vsize. Text will be positioned according
\end{environment}. Following are the assorted
to pos (see positions on page 8).
environments.
\begin{picture}(x, y)(xl , yl ) starts a picture
\begin{abstract} starts an environment for
environment whose width is x units, height is y
producing an abstract.
units, and lower-left corner is the point (xl , yl ).
\begin{array}{lrc} starts array environment Set units with \unitlength.
with 3 columns, left-justified, right-justified,
\begin{quotation} starts an environment with
and centered. Separate columns with &, and
wider margins, normal paragraph indenting,
end lines with \\. @{text} between l, r or c
and offset from the text at top and bottom.
arguments puts text between columns.
\begin{quote} starts an environment with wider
\begin{center} starts an environment in which
margins, no paragraph indenting, and offset
every line is centered. End lines with \\.
from the text at top and bottom.
\begin{description} starts a labeled list. Items
\begin{tabbing} starts a columnar environment.
are indicated by \item[label].
Use commands \= (set tab), \> (tab), \<
\begin{displaymath} sets mathematics on lines (backtab), \+ (indent one tab stop), \-
of its own. Same as \[ or $$. (outdent one tab stop), \‘ (flush right), \’
\begin{document} starts the actual text of a (flush left), \pushtabs, \poptabs, \kill, \\.
document. Required. \begin{table}[pos] begins a floating
\begin{enumerate} starts a numbered list. environment, which may be optionally placed
February 15, 2019 3

at pos (see positions on page 8). Document \bot is ⊥ (math mode).


styles report and article use the default tbp. \bottomfraction — maximum fraction of page
\begin{table*}[pos] begins a two-column-wide occupied by floats at the bottom.
table. See \begin{table}. \bowtie is ./ (math mode).
\begin{tabular}{arg} starts an array \Box is 2 (math mode).
environment which can be used in or out of \breve makes a breve accent: ă (math mode).
math mode. arg contains column text
positioning commands r, l, c, @{...}, \bullet is • (math mode).
p{length} (see positions on page 8). \c is a cedilla, as ç.
| produces vertical line between columns. \cal produces calligraphic letters, as B (math
*{7}{r|l|} repeats that entry 7 times. mode).
\begin{theorem} — see \newtheorem. \cap is ∩ (math mode).
\begin{titlepage} is an environment with no \caption[loftitle]{text} creates a numbered
page number, and causes following page to be caption in a figure or table environment.
numbered “1”. Optional loftitle contains entry for the list of
\begin{verbatim} starts an environment which figures if different from text.
will be typeset exactly as you type it, carriage \cc{text} declares list of copy recipients for
returns and all, usually in typewriter font. letter document style.
\begin{verse} starts an environment for poetry \cdot is · (math mode).
with wider margins, no paragraph indenting, \cdots makes three dots centered on the line: · · ·
and ragged right margin. (cf. \ldots) (math mode).
\beta is β (math mode). \centering declares that all text following is to
\bf switches to bold face type. be centered (cf. \begin{center}).
\bibitem{ref} text creates a bibliography entry \chapter[toctitle]{text} begins a new
text, numbers it, and labels it with reference section, automatically headed and numbered.
label ref. Optional toctitle contains entry for the table
\bibliography{file} — insert bibliography of contents if different from text.
from file name.bib at this point in text. \chapter*{title} is like \chapter{title}, but
\bibliographystyle{style} — a format adds no chapter number or table of contents
specifier, like \documentstyle. entry.
\bigcap is
T
(math mode). \check makes a háček, as ǎ (math mode).
\bigcirc is (math mode). \chi is χ (math mode).
\bigcup is
S
(math mode). \circ is ◦ (math mode).
\bigodot is
J
(math mode). \circle{diameter} as a valid argument for \put
L in a picture environment, draws a circle.
\bigoplus is (math mode).
N \circle*{diameter} is like \circle, but draws
\bigotimes is (math mode). a solid circle.
\bigtriangledown is 5 (math mode). \cite[subcit]{ref} produces a reference, in
\bigtriangleup is 4 (math mode). square brackets, to a bibliographic item created
\bigskip — standard “big” vertical skip. with \bibitem{ref}. optional sub-citation
subcit can be inserted in the entry.
\bigskipamount — default length for \bigskip.
F \cleardoublepage forces next page to be a
\bigsqcup is (math mode).
U right-hand, odd-numbered page.
\biguplus is (math mode).
W \clearpage ends a page where it is, and puts
\bigvee is (math mode). pending figures or tables on separate float
V
\bigwedge is (math mode). pages with no text.
\bmod is binary modulo expression u mod m \cline{i-j} draws a horizontal line across
(math mode). columns i through j inclusive in array or
\boldmath changes math italics and math tabular environments.
symbols to boldface. Should be used outside of \closing{text} declares the closing in letter
math mode. document style.
4 LATEX Command Summary

\clubsuit is ♣ (math mode). \delta is δ. \Delta is ∆ (math mode).


\columnsep — distance between columns in \det is det (math mode).
two-column text. \diamond is . \Diamond is 3 (both math mode).
\columnseprule — width of the rule between \diamondsuit is ♦ (math mode).
columns on two-column pages.
\dim is dim (math mode).
\columnwidth — width of the current column.
\displaystyle switches to displaymath or
Equals \textwidth in single-column text.
equation environment typesetting (math
\cong is ∼
= (math mode). mode).
`
\coprod is (math mode). \div is ÷ (math mode).
\copyright is c . \documentstyle[substy]{sty} determines
\cos is cos (math mode). default font, headings, etc. for document of
style sty (and optional substyle substy) Styles:
\cosh is cosh (math mode).
article, book, letter, report, slides.
\cot is cot (math mode). Substyles: 11pt, 12pt, acm, draft, fleqn,
\coth is coth (math mode). leqno, twocolumn, twoside.
\csc is csc (math mode). \dot makes a dot over a letter: ȧ (math mode).
.
\cup is ∪ (math mode). \doteq is = (math mode).
\d is a “dot under” accent, as o.. \dotfill expands to fill horizontal space with
\dag is †. row of dots.
\dagger is † (math mode). \doublerulesep — horizontal distance between
vertical rules created by || in tabular or
\dashbox{dwid}(width,height)[pos]{text} array environment.
creates a dashed rectangle around text in a
picture environment. Dashes are dwid units \downarrow is ↓. \Downarrow is ⇓ (math mode).
wide; dimensions of rectangle are width and \ell is ` (math mode).
height; text is positioned at optional pos (see \em toggles between roman and italic fonts for
positions on page 8). emphasis.
\dashv is a (math mode). \emptyset is ∅ (math mode).
\date{adate} declares the date for the \encl{text} declares a list of enclosures for
\maketitle command. The default is \today. letter document style.
\day — current day of the month. \end{environment} ends an environment begun
\dblfloatpagefraction — minimum fraction of by \begin{environment} (q.v.).
a float page that must be occupied by floats, for \epsilon is  (math mode).
two-column float pages. \equiv is ≡ (math mode).
\dblfloatsep — distance between floats at the \eta is η (math mode).
top or bottom of a two-column float page.
\evensidemargin — distance between left side of
\dbltextfloatsep — distance between page and text’s normal left margin, for
double-width floats at the top or bottom of a even-numbered pages in two-sided printing.
two-column page and the text on that page.
\exists is ∃ (math mode).
\dbltopfraction — maximum fraction at the
\exp is exp (math mode).
top of a two-column page that may be occupied
by floats. \fbox{text} makes a framed box around text.
\ddag is ‡. \fboxrule — thickness of ruled frame for \fbox
\ddagger is ‡ (math mode). and \framebox.

\ddot makes a dieresis over a letter: ä (math \fboxsep — space between frame and text for
mode). \fbox and \framebox.
. \fill — rubber length (glue) that can stretch to
\ddots produces a diagonal ellipsis . . (math arbitrary length. Usually used to justify text a
mode). particular way.
\deg is deg (math mode). \flat is [ (math mode).
February 15, 2019 5

\floatpagefraction — minimum fraction of a \glossaryentry{text}{ref} is written to the


float page occupied by floats. .glo file for \glossary{text} occuring at
\floatsep — distance between floats that appear reference ref.
at the top or bottom of a text page. \grave makes a grave accent: à (math mode).
\flushbottom causes pages to be stretched to \H prints a long Hungarian umlaut, as ő.
\textheight. \hat makes a circumflex: â (math mode).
\fnsymbol{counter} prints counter as one of \hbar is ~ (math mode).
the set of “footnote symbols”. counter must
\headheight — height of box at top of page that
be less than 10.
holds running head.
\footheight — height of box at bottom of page
\headsep — vertical distance between bottom of
that holds page number.
head and top of text.
\footnote{text} creates a footnote of text.
\heartsuit is ♥ (math mode).
\footnotemark puts a footnote number into the
\hfill is \hspace{\fill} (cf. \fill).
text.
\hline draws a horizontal line across all columns
\footnotesep — height of strut placed at of a tabular or array environment.
beginning of footnote.
\hom is hom (math mode).
\footnotesize switches to footnote-sized type.
\hookleftarrow is ←- (math mode).
\footskip — vertical distance between bottom of
last line of text and bottom of page footing. \hookrightarrow is ,→ (math mode).

\footnotetext{text} specifies the text for a \hrulefill expands to fill horizontal space with
footnote which was indicated by a horizontal rule.
\footnotemark. \hspace{len} leaves a horizontal space of
dimension len.
\forall is ∀ (math mode).
\hspace*{len} is like \hspace{len} but space is
\frac{numerator}{denominator} produces a
not removed at the beginning or end of a line.
fraction in math environments.
\huge switches to a very large typeface. \Huge is
\frame{text} makes a framed (outlined) box
even bigger.
around text, with no margin between the text
and the frame. \hyphenation{wordlist} declares hyphenation
as indicated; wordlist contains words
\framebox[size][pos]{text} produces a
separated by spaces, with hyphens indicated
framed box of dimension size containing (e.g. “aard-vark cal-i-bra-tion”).
text, optionally positioned l or r.
In picture environment, \i is ı.
\framebox(width,height)[pos]{text} \iff is ⇐⇒ (math mode).
creates a rectangle around text; dimensions of \Im is = (math mode).
rectangle are width and height; text is
\imath is ı (math mode).
positioned at optional pos (see positions on
page 8). \in is ∈ (math mode).
\frown is _ (math mode). \include{filename} brings in filename text at
that point.
\fussy is the default declaration for the
line-breaking algorithm (cf. \sloppy). \includeonly{file1,file2,...} limits
recognition of \include files.
\gamma is γ. \Gamma is Γ (math mode).
\index{text} appends text to the .idx file by
\gcd is gcd (math mode).
writing an \indexentry command.
\ge is ≥ (math mode). \indexentry{text}{ref} is written to the .idx
\geq is ≥ (math mode). file for \index{text} occuring at reference ref.
\gets is ← (math mode). \indexspace puts blank space before first index
\gg is  (math mode). entry starting with a new letter.
\glossary{text} appends text to the .glo file \inf is inf (math mode).
by writing a \glossaryentry command. \infty is ∞ (math mode).
6 LATEX Command Summary

\input{file} brings in text from file.tex at \lefteqn{formula} is used in the eqnarray


that point. environment to break a long formula across
lines.
R
\int is (math mode).
\intextsep — vertical space placed above and \leftharpoondown is ) (math mode).
below float in middle of text. \leftharpoonup is ( (math mode).
\iota is ι (math mode). \leftmargin, in list environment, horizontal
\it switches to Italic type. distance between left margin of enclosing
environment and left margin of list. Settable
\item[text] indicates a list entry. text is
for nesting levels 1 through 6, as \leftmargini
optional, used in description environment.
through \leftmarginvi.
\itemindent — extra indentation before label in
\leftrightarrow is ↔. \Leftrightarrow is ⇔
list item. Default is 0mm.
(math mode).
\itemsep — vertical space between successive list
\leq is ≤ (math mode).
items.
\lfloor is b (math mode).
\j is .
\lg is lg (math mode).
\jmath is  (math mode).
\lhd is  (math mode).
\Join is 1 (math mode).
\lim is lim (math mode).
\kappa is κ (math mode).
\liminf is lim inf (math mode).
\ker is ker (math mode).
\limsup is lim sup (math mode).
\kill — in a \tabbing environment, deletes
previous line so tabs can be set without \line(x,y){len} in picture environment, in
outputting text. \put command, draws line from \put argument
with length len and slope (x,y).
\l is l. \L is L.
\linebreak[n] forces a line to break exactly at
\label{text} provides a reference point that is
this point, and adjusts line just terminated (cf.
accessed with \ref{text} or \pageref{text}.
newline). n is optional: 0 is an optional break,
\labelwidth — width of box containing list item 4 is a mandatory break, 1, 2 and 3 are
label. intermediate levels of insistency.
\labelsep — space between box containing list \linethickness{dimen} sets the thickness for all
item label and text of the item. lines in a picture.
\lambda is λ. \Lambda is Λ (math mode). \linewidth is the width of the current line in a
\land is ∧ (math mode). paragraph.
\langle is h (math mode). \listoffigures begins a list of figures with
\large, \Large, and \LARGE switch to heading.
successively larger than \normalsize type \listoftables begins a list of tables with
sizes. heading.
\LaTeX produces the LATEX logo. \listparindent — extra indentation added to
\lbrace is { (math mode). first line of every paragraph of an item after the
first, in list environment.
\lbrack is [ (math mode).
\ll is  (math mode).
\lceil is d (math mode).
\ln is ln (math mode).
\ldots makes three dots at the base of the line:
. . . (cf. \cdots). \lnot is ¬ (math mode).
\le is ≤ (math mode). \log is log (math mode).
\leadsto is ; (math mode). \longleftarrow is ←−. \Longleftarrow is ⇐=
(math mode).
\left* (where * is a delimiter) must be paired
with \right* (not necessarily using the same \longleftrightarrow is ←→.
delimiter). ‘.’ acts as a null delimiter (math \Longleftrightarrow is ⇐⇒ (math mode).
mode). \longmapsto is 7−→ (math mode).
\leftarrow is ←. \Leftarrow is ⇐ (math \longrightarrow is −→. \Longrightarrow is
mode). =⇒ (math mode).
February 15, 2019 7

\lor is ∨ (math mode). \natural is \ (math mode).


\lq is a left-quote: ‘. \ne is 6= (math mode).
\makebox[size][pos]{text} creates a box of \nearrow is % (math mode).
dimension size containing text at optional \neg is ¬ (math mode).
pos. \makebox(width,height)[pos]{text}
\neq is 6= (math mode).
puts text in a box; dimensions of box are
width and height; text is positioned at \newcommand{\cs}[narg]{def} defines a new
optional pos (see positions on page 8). control sequence \cs with definition def.
\makeglossary enables writing of Optionally, narg is the number of arguments,
\glossaryentry commands to a .glo file. indicated in def as #1, #2, etc.
\makeindex enables writing of \indexentry \newcounter{counter}[name] defines a counter
commands to a .idx file. optionally to be zeroed whenever the name
counter is incremented.
\maketitle produces a title with \title,
\author, and, optionally, \date. \newenvironment{envname}[narg]{def1}{def2}
defines a new environment, optionally with
\mapsto is 7→ (math mode). some number of arguments narg. def1 is
\marginpar{text} puts text in the margin as a executed when the environment in entered and
note. def2 is executed when it is exited.
\marginparpush — minimum amount of vertical \newfont{cs}{name} defines a control sequence
space between two marginal notes. \cs that chooses the font name.
\marginparsep — horizontal space between \newlength{\nl} sets up \nl as a length of 0in.
margin and marginal note. See also \setlength, \addtolength,
\marginparwidth — width of a marginal note. \settowidth.
\markboth{lhd}{rhd} defines the left-hand \newline breaks a line right where it is, with no
heading lhd and the right-hand heading rhd for stretching of terminated line (cf. \linebreak).
the headings and myheadings page styles. \newpage ends a page where it appears. (cf.
\markright{rhd} defines the right-hand heading \clearpage).
rhd for the headings and myheadings page \newsavebox{\binname} declares a new bin to
styles. hold a \savebox.
\max is max (math mode). \newtheorem{env}[env2]{label}[sectyp]
\mbox{text} places text into a horizontal box. defines a new theorem environment env
\medskip — standard “medium” vertical skip. (optionally with the same numbering scheme as
environment env2) with labels label.
\medskipamount — default length for \medskip.
Optionally, theorem numbers can be related to
\mho is 0 (math mode). document section sectyp.
\mid is | (math mode). \ni is 3 (math mode).
\min is min (math mode). \nofiles suppresses writing of auxiliary files
\mit is “math italic” as in Π (math mode). .idx, .toc, etc.
\models is |= (math mode). \noindent suppresses indentation of first line of
\month — current month of the year. paragraph.
\mp is ∓ (math mode). \nolinebreak[n] prevents a line break at that
\mu is µ (math mode). point (cf. \linebreak on page 6).
\multicolumn{noc}{fmt}{text} in tabular \nonumber is used in an eqnarray environment to
environment puts text across noc columns suppress equation numbering.
using positioning format fmt (c, r, l, and/or |). \nopagebreak[n] prevents a page break at that
\multiput(x, y)(∆x, ∆y){n}{obj} is point (cf. \linebreak on page 6).
\put(x, y){obj} \normalmarginpar is default declaration for
\put(x + ∆x, y + ∆y){obj} placement of marginal notes (cf.
··· \reversemarginpar).
\put(x + (n − 1)∆x, y + (n − 1)∆y){obj}. \normalsize is the default type size for the
\nabla is ∇ (math mode). document.
8 LATEX Command Summary

\not puts a slash through a relational operator: \parbox[pos]{size}{text} is a box created in


\not= is 6= (math mode). paragraph mode. Text is positioned optionally
\notin is ∈
/ (math mode). at pos (see positions on page 8). Width is
size.
\nu is ν (math mode).
\parindent — horizontal indentation added at
\nwarrow is - (math mode).
beginning of paragraph.
\o is ø. \O is Ø.
\parsep — extra vertical space between
\obeycr makes embedded carriage returns act paragraphs within a list item.
like line terminators.
\parskip — extra vertical space between
\oddsidemargin — distance between left side of paragraphs, normally.
page and text’s normal left margin.
\part[toctitle]{text} begins a new part,
\odot is (math mode). automatically headed and numbered. Optional
\oe is œ. \OE is Œ. toctitle contains entry for the table of
H
\oint is (math mode). contents if different from text.
\omega is ω. \Omega is Ω (math mode). \part*{text} begins a part and prints a title,
\ominus is (math mode). but doesn’t include a number or make a table
of contents entry.
\onecolumn sets text in single column (default)
(cf. \twocolumn. \partial is ∂ (math mode).
\opening{text} declares an opening for letter \partopsep — extra vertical space added before
document style. first list item if environment starts a new
paragraph.
\oplus is ⊕ (math mode).
\perp is ⊥ (math mode).
\oslash is (math mode).
\otimes is ⊗ (math mode). \phi is φ. \Phi is Φ (math mode).
\oval(x,y) as an argument to \put draws an \pi is π. \Pi is Π (math mode).
oval x units wide and y units high. \pm is ± (math mode).
z}|{
\overbrace{text} gives text (math mode). \pmod{modulus} is “parenthesized” modulo
expression u (mod 2ej − 1) (math mode).
\overline{text} gives text (math mode).
\poptabs undoes the previous \pushtabs
\owns is 3 (math mode).
command (restore prior tab settings).
\P is ¶.
positions, for boxing commands: t=top,
\pagebreak[n] forces a page break at that point b=bottom, h=here, l=left, c=center, r=right,
(cf. \linebreak on page 6). p=new page (figure environment), p=parbox
\pagenumbering{style} determines page (tabular environment), .
number style; style may be arabic (3), roman \pounds is £.
(iii), Roman (III), alph (c), Alph (C).
\Pr is Pr (math mode).
\pageref{text} is the page number on which
\label{text} occurs. \prec is ≺ (math mode).
\pagestyle{sty} determines characteristics of a \preceq is  (math mode).
page’s head and foot. sty may be plain (page \prime is 0 (math mode).
number only), empty (no page number), \prod is
Q
(math mode).
headings (running headings on each page),
\propto is ∝ (math mode).
myheadings (user headings).
\paragraph[toctitle]{text} begins a new \protect permits the use of “dangerous”
paragraph, automatically headed and commands in @-expressions, or in sectioning
numbered. Optional toctitle contains entry command and \caption arguments.
for the table of contents if different from text. \ps in letter document style permits additional
\paragraph*{text} begins a paragraph and text after \closing.
prints a title, but doesn’t include a number or \psi is ψ. \Psi is Ψ (math mode).
make a table of contents entry. \pushtabs in tabbing environment lets you stack
\parallel is k (math mode). tab stop definitions. Undo with \poptabs.
February 15, 2019 9

\put(x,y){stuff} is the basic picture-drawing environment and right margin of list. Default
command. (x,y) is the reference point, whose 0in.
meaning varies for different stuff. stuff may \rm switches to Roman type.
be anything that goes in an \mbox.
\roman{counter} prints counter in lower-case
\raggedbottom causes pages to assume natural roman numerals. \Roman{counter} prints
height. upper-case roman numerals.
\raggedleft declares all text that follows is to be \rq is a right-quote: ’.
flush against the right margin (cf.
\rule[height]{length}{width} makes a
\begin{flushright}).
rectangular blob of ink length long, width
\raggedright declares all text that follows is to wide, with optional height above baseline.
be flush against the left margin (cf.
\S is §.
\begin{flushleft}).
\savebox{\binname}[width][pos]{text} is
\raisebox{dim}[d2][d3]{text} moves text up
exactly like \makebox (q.v.), but saves box
by dim (which may be negative). Optional d2
definition in bin \binname. Access with
makes system think that text extends d2 above
\usebox{\binname}.
the baseline (and optionally d3 below it).
\sbox{\binname}{text} saves text in box
\rangle is i (math mode).
\binname (see \savebox, above.).
\rbrace is } (math mode).
\sc switches to caps and small caps font.
\rbrack is ] (math mode).
\scriptsize switches subscript size type.
\rceil is e (math mode).
\scriptstyle switches to sub- or
\Re is < (math mode). superscript-sized typesetting.
\ref{text} is the section number in which \scriptscriptstyle switches to second-level
\label{text} occurs. (very small) sub- or superscript-sized
\renewcommand{\cs}[narg]{def} redefines an typesetting (math mode).
old control sequence \cs with definition def. \searrow is & (math mode).
Optionally, narg is the number of arguments, \sec is sec (math mode).
indicated in def as #1, #2, etc.
\section[toctitle]{text} begins a new
\renewenvironment{envname}[narg]{def1}{def2} section, automatically headed and numbered.
redefines an old new environment. See Optional toctitle contains entry for the table
\newenvironment. of contents if different from text.
\restorecr undoes the \obeycr command \section*{text} begins a section, prints a title,
(makes carriage return a space-producing but doesn’t include a number or make a table
character). of contents entry.
\reversemarginpar causes opposite margin to be \setcounter{counter}{value} resets the value
used for marginal notes (e.g., left margin on of counter.
odd-numbered pages).
\setlength{\nl}{length} sets value of length
\rfloor is c (math mode). command \nl to length. See also
\rhd is  (math mode). \addtolength, \newlength, \settowidth.
\rho is ρ (math mode). \setminus is \ (math mode).
\right* (where * is a delimiter) must be paired \settowidth{\nl}{text} sets value of length
with \left* (not necessarily using the same command \nl to the width of text. See also
delimiter). ‘.’ acts as a null delimiter (math \setlength, \newlength, \addtolength.
mode).
\sf switches to sans serif font.
\rightarrow is →. \Rightarrow is ⇒ (math
\sharp is ] (math mode).
mode). x
\rightharpoondown is + (math mode). yy
\shortstack[pos]{x\\yy\\zzz} yields zzz, a
\rightharpoonup is * (math mode). one-column tabular arrangement of its
\rightleftharpoons is * ) (math mode). arguments. Optional pos can be l or r for text
\rightmargin — in list environment, horizontal position.
distance between right margin of enclosing \sigma is σ. \Sigma is Σ (math mode).
10 LATEX Command Summary

\signature{text} declares a signature for \subseteq is ⊆ (math mode).


letter document style. \succ is  (math mode).
\sim is ∼ (math mode). \succeq is  (math mode).
\simeq is ' (math mode).
P
\sum is (math mode).
\sin is sin (math mode). \sup is sup (math mode).
\sinh is sinh (math mode). \supset is ⊃ (math mode).
\sl switches to slanted typeface. \supseteq is ⊇ (math mode).

\sloppy relaxes the line-breaking algorithm to \surd is (math mode).
allow more or less distance between words. \swarrow is . (math mode).
Default is \fussy.
\symbol{cc} produces the symbol (glyph)
\small switches to smaller than normalsize character code cc in the current font.
typeface.
\t prints a “tie-after” accent, as o o.
\smallint is ∫ (math mode).
\tabbingsep — distance to left of a tab stop
\smallskip — standard “small” vertical skip. moved by \’.
\smallskipamount — default length for \tabcolsep — half the width of the space
\smallskip. between columns in tabular environment.
\smile is ^ (math mode). \tableofcontents produces a table of contents.
\spadesuit is ♠ (math mode). A .toc file must have been generated during a
\sqcap is u (math mode). previous LATEX run.
\sqcup is t (math mode). \tan is tan (math mode).
√ \tanh is tanh (math mode).
\sqrt[3]{arg} is 3 arg. 3 (root) is optional.
\tau is τ (math mode).
\sqsubset is @ (math mode).
\TeX produces the TEX logo.
\sqsubseteq is v (math mode).
\textfloatsep — distance between floats at the
\sqsupset is A (math mode).
top or bottom of a single-column page and the
\sqsupseteq is w (math mode). text on that page.
\ss is ß. \textfraction — minimum fraction of a text
\stackrel{stuff}{delim} puts stuff above the page that must contain text.
delimiter; \stackrel{f}{\longrightarrow} \textheight is the normal vertical dimension of
f
yields −→ (math mode). the body of the page.
\star is ? (math mode). \textstyle switches to math environment
\stop — type this if TEX stops with a * and no typesetting (math mode).
error message. \textwidth is the normal horizontal dimension of
\subparagraph[toctitle]{text} begins a the body of the page.
subparagraphs, automatically headed and \thanks{footnote} adds an acknowledgement
numbered. Optional toctitle contains entry footnote to an author’s name used in a
for the table of contents if different from text. \maketitle command.
\subparagraph*{text} begins a subparagraph \theta is θ. \Theta is Θ (math mode).
and prints a title, but doesn’t include a number \thicklines is an alternate line thickness for
or make a table of contents entry. lines in a picture environment. See also
\subsection[toctitle]{text}, linethickness.
\subsubsection[toctitle]{text} begin new \thinlines is the default declaration for line
subsections, automatically headed and thicknesses in a picture environment. See
numbered. Optional toctitle contains entry \thicklines.
for the table of contents if different from text. \thinspace is the proper space between single
\subsection*{text}, \subsubsection*{text} and double quotes, as in ’ ”.
begin subsections, but suppress section number \thispagestyle{sty} determines characteristics
and table of contents entry. of head and foot for the current page only. Used
\subset is ⊂ (math mode). to override \pagestyle (q.v.) temporarily.
February 15, 2019 11

\tilde makes a tilde, as: ã (math mode). \usecounter{counter} is used in a list


\times is × (math mode). environment to cause counter to be used to
number the items.
\tiny switches to a very small typeface.
\v prints a háček, as ǒ.
\title{text} declares a document title for the
\maketitle command. \value{counter} produces the numeric value of
counter.
\to is → (math mode).
\varepsilon is ε (math mode).
\today generates today’s date.
\varphi is ϕ (math mode).
\top is > (math mode).
\varpi is $ (math mode).
\topfraction — maximum fraction at the top of
a single-column page that may be occupied by \varrho is % (math mode).
floats. \varsigma is ς (math mode).
\topmargin — space between top of TEX page (1 \vartheta is ϑ (math mode).
inch from top of paper) and top of header. \vdash is ` (math mode).
\topsep — extra vertical space added before first .
list item and after last list item. \vdots is .. (math mode).
\topskip — minimum distance between top of \vec puts a vector over a letter: ~a (math mode).
page body to bottom of first line of text. \vector(x,y){len} in picture environment, in
\triangle is 4 (math mode). \put command, draws vector from \put
argument with length len and slope (x,y),
\triangleleft is / (math mode). with arrowhead.
\triangleright is . (math mode). \vee is ∨ (math mode).
\tt switches to typewriter type. \verb/text/ creates a local verbatim
\twocolumn[text] declares a two-column page, environment for text, printed in typewriter
with optional full-page width heading text. font. Note that text is not in curly braces; it is
\typein[\cs]{text} displays text on the screen between two identical delimiters, neither of
and waits for you to enter stuff which will be which appears in text.
put in the document at that point. Optional \verb*/text/ is like \verb/text/, but spaces
control sequence \cs can be assigned the value print out as .
of your input, to be used later. \vert is |. \Vert is k (math mode).
\typeout{text} displays text on the screen and \vfill is \vspace{\fill} (cf. \fill).
writes it to the .lis file.
\vspace{len} leaves a vertical space of
\u prints a breve accent, as ŏ. dimension len.
\unboldmath unemboldens math italics and math \vspace*{len} is like \vspace{len} but space is
symbols. Should be used outside of math mode. not removed at the beginning or end of a page.
\underbrace{text} gives |{z}
text (math mode). \wedge is ∧ (math mode).
\underline{text} gives text (math mode or \widehat{arg} is ad
rg (math mode).
not). \widetilde{arg} is ag
rg (math mode).
\unitlength — length of coordinate units for \wp is ℘ (math mode).
picture environment.
\wr is o (math mode).
\unlhd is  (math mode). \xi is ξ. \Xi is Ξ (math mode).
\unrhd is  (math mode). \year — current year (A.D.).
\uparrow is ↑. \Uparrow is ⇑ (math mode). \zeta is ζ (math mode).
\updownarrow is . \Updownarrow is m (math
mode).
\uplus is ] (math mode).
\upsilon is υ. \Upsilon is Υ (math mode).
\usebox{\binname} recalls box definition saved
in box \binname.
12 LATEX Command Summary

LATEX typefaces

\rm Roman
\it Italic
Text-mode accents
\bf Boldface
\sl Slanted
\sf Sans serif ò \‘{o} ō \={o} o o \t{oo}
\sc Small Caps ó \’{o} ȯ \.{o} o̧ \c{o}
\tt Typewriter ô \^{o} ŏ \u{o} o. \d{o}
ö \"{o} ǒ \v{o} o \b{o}
¯
õ \~{o} ő \H{o}
LATEX environments

abstract array center


description displaymath enumerate
eqnarray equation figure
flushleft flushright itemize
list math minipage
picture quotation quote
tabbing table tabular Math-mode accents
theorem titlepage verbatim â \hat{a} ȧ \dot{a}
verse ǎ \check{a} ä \ddot{a}
ã \tilde{a} ă \breve{a}
á \acute{a} ā \bar{a}
Dimensions or lengths à \grave{a} ~a \vec{a}

pt point (72.27 pt/in)


pc pica (12 pt/pc)
in inch
bp big point (72 bp/in)
cm centimeter (2.54 cm/in)
mm millimeter (10 mm/cm)
dd didôt point (1157 dd = 1238 pt)
cc cicero (12 dd/cc) National symbols
sp scaled point (65536 sp/pt)
em font-dependent; “quad” width œ \oe å \aa l \l
ex font-dependent; “x”-height Œ \OE Å \AA L \L
æ \ae ø \o ß \ss
Æ \AE Ø \O

Miscellaneous symbols

† \dag § \S c \copyright
‡ \ddag ¶ \P £ \pounds
February 15, 2019 13

Binary operations (math mode)


Greek letters (math mode)
± \pm ∓ \mp
α \alpha ν \nu u \dotplus \ \setminus
β \beta ξ \xi × \times r \smallsetminus
γ \gamma o o n \ltimes o \rtimes
δ \delta π \pi h \leftthreetimes i \rightthreetimes
 \epsilon ρ \rho ÷ \div > \divideontimes
ζ \zeta σ \sigma
η \eta τ \tau ∨ \vee ∧ \wedge
θ \theta υ \upsilon g \curlyvee f \curlywedge
ι \iota φ \phi Y \veebar Z \barwedge
κ \kappa χ \chi  \diamond [ \doublebarwedge
λ \lambda ψ \psi · \cdot  \centerdot
µ \mu ω \omega \boxdot \odot
z \digamma  \boxplus ⊕ \oplus
\boxminus \ominus
ε \varepsilon κ \varkappa  \boxtimes ⊗ \otimes
ς \varsigma ϑ \vartheta ? \star \oslash
ϕ \varphi % \varrho ∗ \ast ~ \circledast
• \bullet  \circleddash
◦ \circ } \circledcirc
Γ \Gamma Σ \Sigma \bigcirc o \wr
∆ \Delta Υ \Upsilon
Θ \Theta Φ \Phi / \triangleleft . \triangleright
Λ \Lambda Ψ \Psi 4 \bigtriangleup 5 \bigtriangledown
Ξ \Xi Ω \Omega  \lhd  \rhd
Π \Pi  \unlhd  \unrhd
∩ \cap e \Cap
∪ \cup d \Cup
u \sqcap t \sqcup
] \uplus q \amalg
† \dagger ‡ \ddagger
| \intercal

Delimiters (math mode)

( ( ) )
[ [ ] ] Variable-sized symbols (math mode)
{ \{ } \}
d \lceil e \rceil X \
b c
P T
\lfloor \rfloor \sum \bigcap
p \ulcorner q \urcorner Q Y S [
\prod \bigcup
x \llcorner y \lrcorner ` a F G
h \langle i \rangle \coprod \bigsqcup
/ \
Z
/ \backslash R W _
| \vert k \Vert \int \bigvee
I
↑ \uparrow ⇑ \Uparrow H V ^
\oint \bigwedge
↓ \downarrow ⇓ \Downarrow
J K N O
\updownarrow m \Updownarrow \bigodot \bigotimes
L M U ]
\bigoplus \biguplus
14 LATEX Command Summary

Relations (math mode)


.
= = ≡ \equiv = \doteq + \doteqdot
6= \neq ∼
= \cong : \risingdoteq ; \fallingdoteq
∼ \sim ∼ \thicksim v \backsim $ \circeq
 \nsim ' \simeq w \backsimeq P \eqcirc
≈ \approx ≈ \thickapprox u \approxeq  \napprox
∝ \propto ∝ \varpropto l \bumpeq m \Bumpeq

< < l \lessdot > > m \gtrdot


≮ \nless  \ll ≯ \ngtr  \gg
≤ \leq  \nleq ≥ \geq  \ngeq
6 \leqslant \nleqslant > \geqslant \ngeqslant
0 \eqslantless \lneq 1 \eqslantgtr \gneq
5 \leqq  \nleqq = \geqq  \ngeqq
 \lneqq \lvertneqq \gneqq  \gvertneqq
. \lesssim / \lessapprox & \gtrsim ' \gtrapprox
 \lnsim  \lnapprox  \gnsim  \gnapprox
≶ \lessgtr Q \lesseqgtr ≷ \gtrless R \gtreqless
S \lesseqqgtr ≪ \lll T \gtreqqless ≫ \ggg

≺ \prec  \succ ⊂ \subset ⊃ \supset


⊀ \nprec  \nsucc ⊆ \subseteq ⊇ \supseteq
 \preceq  \succeq * \nsubseteq + \nsupseteq
4 \preccurlyeq < \succcurlyeq ( \subsetneq ) \supsetneq
2 \curlyeqprec 3 \curlyeqsucc \varsubsetneq ! \varsupsetneq
 \npreceq  \nsucceq j \subseteqq k \supseteqq
 \precneqq  \succneqq " \nsubseteqq # \nsupseteqq
- \precsim % \succsim $ \subsetneqq % \supsetneqq
 \precnsim  \succnsim & \varsubsetneqq ' \varsupsetneqq
w \precapprox v \succapprox b \Subset c \Supset
 \precnapprox  \succnapprox @ \sqsubset A \sqsupset
v \sqsubseteq w \sqsupseteq

|= \models a \dashv | \mid - \nmid


` \vdash 0 \nvdash p \shortmid . \nshortmid
 \vDash 2 \nvDash k \parallel ∦ \nparallel
\Vdash 1 \nVdash q \shortparallel / \nshortparallel
 \Vvdash 3 \nVDash ⊥ \perp

∈ \in 3 \ni C \vartriangleleft B \vartriangleright


 \backepsilon G \between 6 \ntriangleleft 7 \ntriangleright
^ \smile ` \smallsmile E \trianglelefteq D \trianglerighteq
_ \frown a \smallfrown 5 \ntrianglelefteq 4 \ntrianglerighteq
 \asymp t \smallamalg J \blacktriangleleft I \blacktriangleright
./ \bowtie 1 \Join , \triangleq
∴ \therefore ∵ \because
February 15, 2019 15

Function names (math mode)

\arccos \coth \ker \min


\arcsin \deg \lg \Pr
\arctan \det \lim \sec
\arg \dim \liminf \sin
\cos \exp \limsup \sinh
\csc \gcd \ln \sup Arrows (math mode)
\cosh \hom \log \tan
\cot \inf \max \tanh ← \leftarrow ←− \longleftarrow
8 \nleftarrow ⇔ \leftleftarrows
⇐ \Leftarrow ⇐= \Longleftarrow
: \nLeftarrow W \Lleftarrows
→ \rightarrow −→ \longrightarrow
9 \nrightarrow ⇒ \rightrightarrows
Miscellaneous symbols (math mode) ⇒ \Rightarrow =⇒ \Longrightarrow
; \nRightarrow V \Rrightarrows
ℵ \aleph i \beth ↔ \leftrightarrow ←→ \longleftrightarrow
‫ג‬ \gimel k \daleth  \leftrightarrows  \rightleftarrows
~ \hbar } \hslash ⇔ \Leftrightarrow ⇐⇒ \Longleftrightarrow
0 \prime 8 \backprime = \nleftrightarrow < \nLeftrightarrow
∅ \emptyset ∅ \varnothing
7→ \mapsto 7−→ \longmapsto
2 \Box ←- \hookleftarrow ,→ \hookrightarrow
 \square  \blacksquare  \twoheadleftarrow  \twoheadrightarrow
4 \triangle N \blacktriangle  \leftarrowtail  \rightarrowtail
O \triangledown H \blacktriangledown " \looparrowleft # \looparrowright
♦ \lozenge  \blacklozenge x \curvearrowleft y \curvearrowright
3 \Diamond F \bigstar \circlearrowleft  \circlearrowright
 \Lsh  \Rsh
ı \imath  \jmath
` \ell ℘ \wp ( \leftharpoonup * \rightharpoonup
√ ) \leftharpoondown + \rightharpoondown
∇ \nabla \surd
\leftrightharpoons *
) \rightleftharpoons
< \Re = \Im
∂ \partial ∞ \infty  \upharpoonleft  \upharpoonright
∀ \forall ¬ \neg  \downharpoonleft  \downharpoonright
∃ \exists @ \nexists ↑ \uparrow  \upuparrows
> \top ⊥ \bot ↓ \downarrow  \downdownarrows
k \" 6 \angle ⇑ \Uparrow ⇓ \Downarrow
] \measuredangle ^ \sphericalangle \updownarrow m \Updownarrow
- \nwarrow % \nearrow
. \swarrow & \searrow
♣ \clubsuit ♦ \diamondsuit
\rightsquigarrow ! \leftrightsquigarrow
♥ \heartsuit ♠ \spadesuit
; \leadsto ( \multimap
] \sharp [ \flat
\ \natural

X \checkmark z \maltese
r \circledR U \yen
s \circledS { \complement
0 \mho \ \backslash

You might also like