.. title: A Short Introduction to LaTeX
.. slug: a-short-introduction-to-latex
.. date: 2020-01-09 18:26:01 UTC
.. tags: LaTeX, math, typesetting, introduction, learn
.. has_math: true
.. category: math
.. link:
.. description: LaTeX does not require much to lean. A short introduction like this one should get you going.
.. type: text
.. |pdf| raw:: html
Here's the resulting output
.. |NssItL| raw:: html
The Not So Short Introduction to LaTeX2e
\\( \\LaTeX \\) is a markup language that is used for most
mathematical writing. There is really no better way to
communicate mathematics. The result is really polished.
It doesn't matter if you're talking about Maxwell's
equations:
\\[
\\nabla \\cdot E = \\frac{\\rho}{\\varepsilon_0} \\\\
\\nabla \\cdot B = 0 \\\\
\\nabla \\times E = - \\frac{\\partial B}{\\partial t} \\\\
\\nabla \\times B = \\mu_0 \\left( J + \\varepsilon_0 \\frac{\\partial E}{\\partial t} \\right),
\\]
SchrÃ¶dinger's equation
\\[
i \\hbar \\frac{\\partial}{\\partial t} \\Psi
= \\left[ \\frac{-\\hbar^2}{2m}\\nabla^2 + V \\right] \\Psi,
\\]
or \\(L:V\\to W\\) a linear map from \\(V\\) to \\(W\\). I
can not think of a better way of rendering mathematics than
with \\(\\LaTeX\\). Even more valuable than looking pretty,
\\(\\LaTeX\\) is typed without using the mouse. Being able
to simply *type* mathematics really is a joy.
Now, \\(\\LaTeX\\) is not something that you just sit down
and learn. I find it best to have in mind what you want
to write before you write it. Then look up what
you need to write your document. The hardest part is starting.
It can really help to have an example. It's even better to
make changes and see what the result is. Below I believe
is a good example of a document that helps explain what
\\(\\LaTeX\\) can do and how to do it. I also have linked
to the resulting document below the source.
.. listing:: LaTeXsample.tex latex
|pdf|. If you want more information I find |NssItL| to
be a close to exhaustive resource.