As you may have seen, I like \(\LaTeX\). I encourage everyone to learn it.
In my opinion, an efficient way of learning is to start making a document and googling the things along the way.
To get started, I feel it’s enough to just see one code and its output to get a sense of how it works. That’s the point of this page.
I would suggest you to first make an account (for free) on Overleaf
I was a speaker at a \(\LaTeX\) workshop conducted by Curry Leaf. You can find the talk on YouTube here. The document used can be found at this link.
I think that that contains more or less everything basic needed to get started.
A more comprehensive tutorial can be found here, made by Adway Girish.
After familiarising yourself with LaTeX on Overleaf, you may move to an offline medium. For example, I use Sublime Text for all my LaTeX documents. One of the benefits of this (other than internet independency) is the setup of many shortcuts. The packages that I have installed on Sublime Text for LaTeX uses are LaTeXTools and LaTeXYZ.
Lastly, almost every LaTeX’d PDF on my repositories/website also has the source code uploaded. Simply changing the .pdf to .tex in the URL would do the job.
Some more links:
Some things to keep in mind:
\cdots
, \ldots
, \vdots
instead of manually making dots.\cdots
when putting dots between operators. For example, \(a_1 + \cdots + a_n.\) Use \ldots
when listing something. For example, \(S = \{a_1, \ldots, a_n\}.\)align*
if you don’t need equation numbers. Only number those which you will refer to, later on.\[ ... \]
for important equations. This avoids clutter within sentences.\[ ... \]
instead of $$ ... $$
.$...$
environment even if it’s not “necessary”. $f$ and f look very different and that, in my opinion, is a sign of amateur writing.\max
, \sup
, \min
while in math mode. These are recognised commands. If it’s something not recognised, use \text{...}
or \operatorname{...}
.\displaystyle
to keep the limits formatted nicely. This is difference between \(\lim_{n\to \infty}\) (\lim_{n\to \infty}
) and \(\displaystyle\lim_{n\to \infty}\) ($$\displaystyle\lim_{n\to \infty}$$
).\|
instead of ||
.