Preview

Latex Cheat Sheet

Powerful Essays
Open Document
Open Document
1486 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Latex Cheat Sheet
A L TEX 2ε Cheat Sheet

Lists
\begin{enumerate} Numbered list. \begin{itemize} Bulleted list. \begin{description}Description list. \item text Add an item. \item[x ] text Use x instead of normal bullet or number. Required for descriptions.

Justification
Environment \begin{center} \begin{flushleft} \begin{flushright} Declaration \centering \raggedright \raggedleft

Document classes book Default is two-sided. report No \part divisions. article No \part or \chapter divisions. letter Letter (?). slides Large sans-serif font. Used at the very beginning of a document: \documentclass{class}. Use \begin{document} to start contents and \end{document} to end the document.

Miscellaneous
\linespread{x} changes the line spacing by the multiplier x.

References
Set a marker for cross-reference, often of the form \label{sec:item}. \ref{marker } Give section/body number of marker. \pageref{marker } Give page number of marker. \footnote{text} Print footnote at bottom of page. \label{marker }

Text-mode symbols
Symbols
& $ % \& \$ \% ˆ ˜ \_ \^{} \~{} ˆ o o ¸ o ¯ Æ l ¿ ... | # \ldots \textbar \# ˜ o ˇ o oo ˚ a L • \ § \textbullet \textbackslash \S ¯ o ˝ o œ ˚ A ı

Common documentclass options
Font size. Paper size. Use two columns. Set margins for two-sided. Landscape orientation. Must use dvips -t landscape. draft Double-space lines. Usage: \documentclass[opt,opt]{class}. 10pt/11pt/12pt letterpaper/a4paper twocolumn twoside landscape

Floating bodies
\begin{table}[place] Add numbered table. \begin{figure}[place] Add numbered figure. \begin{equation}[place] Add numbered equation. \caption{text} Caption for the body. The place is a list valid placements for the body. t=top, h=here, b=bottom, p=separate page, !=place even if ugly. Captions and label markers should be within the environment.

Accents
` o o ˙ ¸ c Œ ø  \‘o \.o \c c \OE \o \j ´ o ¨ o o . æ Ø ¡ \’o "o \d o \ae \O ~‘ { \{ } \} \^o \c o \b o \AE \l ?‘ \~o \v o \t oo \aa \L \=o \H o \oe \AA \i



References: Miscellaneous January 11, 2010

You May Also Find These Documents Helpful

Related Topics