Latex Commands Cheat Sheet

broken image


LaTeX is the de facto standard typesetting system for scientific writing. A lot of the nice looking equations you see in books and all around the web are written using LaTeX commands. Knowing a few of the mathematics commands is not only helpful if you want to write a book or an article (or do some extreme stuff), but can come in handy in a lot of places, as many systems support LaTeX. You can use LaTeX in MathJax to display expressions on the web (like here), you can make yourself good looking mathematics flashcards in Anki, you can even nerd out and send formulas built with LaTeX commands to your friends via an iMessage app. Also, Apple's latest Pages release now supports LaTeX equations.

Reasons enough to get familiar with the standard commands!

While a lot of commands can be written out in plain (e.g. 1+1=2), there are other frequently used commands you will need to look up or memorise.

LaTeX is the de facto standard typesetting system for scientific writing. Find a a cheat sheet with the most frequent used mathematics commands here. For a more detailed description of the natbib package, L A TEX the source file natbib.dtx. Overview The natbib package is a reimplementation of the L A TEX cite command, to work with both author-year and numerical citations. It is compatible with the standard bibliographic style files, such as plain.bst, as well as with those for harvard, apalike, chicago, astron, authordate.

I plan to update this post continuously as I find myself looking for a common symbol I haven't listed yet. Feel free to drop me an email or comment when you land here and don't find the answer to a frequently used symbol.

  • Following command: nrenewcommandfnlabelitemi gf$ nbullet$ g renewcommandfnlabelitemii gf$ cdot$ g nrenewcommandfnlabelitemiii gf$ ndiamond$ g nrenewcommandfnlabelitemiv gf$ nast$ g The space between di erent items can be controlled with the itemsep command: nbeginfitemizegnitemsep2pt To change enumerated lists counters itemize labels.
  • $LaTeX$ Code $LaTeX$ Code $LaTeX$ Code $uparrow$ uparrow $downarrow$ downarrow $updownarrow$ updownarrow $Uparrow$ Uparrow $Downarrow$ Downarrow $Updownarrow$ Updownarrow $leftarrow$ leftarrow or gets $rightarrow$ rightarrow or to $leftrightarrow$ leftrightarrow $Leftarrow$ Leftarrow $Rightarrow$ Rightarrow $Leftrightarrow$ Leftrightarrow.

Here is the cheat sheet (naturally incomplete):

Fractions

CommandDescriptionOutput
fracBuild a fraction like so: frac{1}{2}$$frac{1}{2}$$
frac{frac{}}{}You can nest fractions: frac{frac{1}{2}}{2}$$frac{frac{1}{2}}{2}$$
Latex commands cheat sheet pdf

Greek letters

(capitalize by capitalizing the command)

CommandDescriptionOutput
alphaalpha$$alpha$$
betabeta$$beta$$
gammagamma$$gamma$$
deltadelta$$delta$$
epsilonepsilon$$epsilon$$
zetazeta$$zeta$$
etaeta$$eta$$
thetatheta$$theta$$
iotaiota$$iota$$
kappakappa$$kappa$$
lambdalambda$$lambda$$
mumu$$mu$$
nunu$$nu$$
xixi$$xi$$
oomicron$$o$$
pipi$$pi$$
rhorho$$rho$$
sigmasigma$$sigma$$
tautau$$tau$$
upsilonupsilon$$upsilon$$
phiphi$$phi$$
chichi$$chi$$
psipsi$$psi$$
omegaomega$$omega$$

Logic

CommandDescriptionOutput
forallFor all$$forall$$
existsExists$$exists$$
lorOr$$lor$$
landAnd$$land$$
veebarXor$$veebar$$
negNot$$neg$$

Operators

CommandDescriptionOutput
timesTimes$$times$$
cdotDot$$cdot$$
divDivision$$div$$
pmPlus minus$$pm$$

Relation

Latex

Greek letters

(capitalize by capitalizing the command)

CommandDescriptionOutput
alphaalpha$$alpha$$
betabeta$$beta$$
gammagamma$$gamma$$
deltadelta$$delta$$
epsilonepsilon$$epsilon$$
zetazeta$$zeta$$
etaeta$$eta$$
thetatheta$$theta$$
iotaiota$$iota$$
kappakappa$$kappa$$
lambdalambda$$lambda$$
mumu$$mu$$
nunu$$nu$$
xixi$$xi$$
oomicron$$o$$
pipi$$pi$$
rhorho$$rho$$
sigmasigma$$sigma$$
tautau$$tau$$
upsilonupsilon$$upsilon$$
phiphi$$phi$$
chichi$$chi$$
psipsi$$psi$$
omegaomega$$omega$$

Logic

CommandDescriptionOutput
forallFor all$$forall$$
existsExists$$exists$$
lorOr$$lor$$
landAnd$$land$$
veebarXor$$veebar$$
negNot$$neg$$

Operators

CommandDescriptionOutput
timesTimes$$times$$
cdotDot$$cdot$$
divDivision$$div$$
pmPlus minus$$pm$$

Relation

CommandDescriptionOutput
neqNot equal$$neq$$
approxApproximately equal$$approx$$
leqLess than or equal$$leq$$
geqGreater than or equal$$geq$$
llMuch less than$$ll$$
ggMuch greater than$$gg$$

Sets

(Often you can put an 'n' before the command and get the negation)

CommandDescriptionOutput
supsetProper superset$$supset$$
supseteqSuperset$$supseteq$$
subsetProper Subset$$subset$$
subseteqSubset$$subseteq$$
inMember$$in$$
emptysetEmpty set$$emptyset$$
mathbb{R}Set of real numbers$$mathbb{R}$$
cupSet union (belonging to A OR B)$$cup$$
capSet intersection (belonging to A AND B)$$cap$$

Super-/Subscript (Exponents / Indices)

CommandDescriptionOutput
^Use ^ for superscript. Example: x^2$$x^2$$
^{}Use ^{} for exponents with >1 digit. Example: x^{10}$$x^{10}$$
_Use _ for subscript. Example: x_0$$x_0$$
_{}Use _{} for subscript with >1 digit. Example: x_{10}$$x_{10}$$

Others

CommandDescriptionOutput
inftyInfinity$$infty$$
partialPartial$$partial$$
hat{}Estimator$$hat{theta}$$
sqrt[root]{}Square root$$sqrt[3]{4}$$

Latex Commands Cheat Sheet

Corn buttercup.

As part of our Community Resources for teachers running courses, workshops and events, here we provide an Overleaf-version of the excellent quick guide to LaTeX, originally by Dave Richeson (reproduced with his kind permission).This version is perfect for sharing as a PDF, or as a two-sided printed handout. If you'd like to tweak it to suit your workshop, you can open it as a template to make edits to the source. Please note that the Overleaf logos themselves shouldn't be altered, but you can find alternative versions here if you'd prefer. If you make substantial edits to the template, or find other uses for it, please let us know! We also have a complementary PDF listing the Overleaf keyboard shortcuts, available here.If you're looking for a fuller guide to LaTeX to share with you students, we have a free online course, a learn LaTeX in 30-minutes quick start guide, and many other in-depth tutorials and examples on our learn wiki.License note: the text content / source code of the handout is provided under the CC BY 4.0 license, as is Dave Richeson's original version. If you modify the template, guidance on the use of the Overleaf logos is available here.
Griffith Quantum Mechanics Time Dependent Perturbation theory CheatSheet (UCB 137B final)

Latex Commands Cheat Sheet Pdf

This is a cheatsheet made for the final exam of Berkeley Physics 137B. It mainly covers chapters from Variational Method to the end (except for Adiabetic Approximation).
AUSENCIO
A concise guide for anyone that's met with the terrible fate of having to program in Clean (so mainly for Radboud University students).

Latex Commands Cheat Sheet Dnd

Know the LaTeX command you want to use but can't remember how to write it?Here we present a great tips sheet produced by Dave Richeson; it's pre-loaded in Overleaf so you can see how the commands work instantly.Simply click on the button above to open a version in Overleaf for editing (and to quickly copy and paste the commands you need!).For more comments visit this page on Dave's site, or if you'd like to work through a fuller introduction to LaTeX why not check out our free online course?
This is the current set of available keyboard shortcuts for the Overleaf editor.

Related Tags

Latex Music Sheet

HandoutInternational LanguagesMathPosterTutorialPhysicsSource Code ListingFrenchPortuguese (Brazilian)Getting StartedSpanishLecture NotesTechnical Manual



broken image