This repo is in conjunction with The Yellow Pigs Society, a study group started for studying Michael Spivak's Calculus. It contains LaTeX source code of notes, proofs, and articles written about Spivak's Calculus and related texts on mathematical proofs.
This will get you up and running.
First, set up a LaTeX environment.
To set up your first LaTeX file, save this into a file named hello_world.tex
.
You can find this example under 000-getting-started/000-latex
.
\documentclass{article}
\begin{document}
Hello, world!
\end{document}
Then, open a terminal, and run this command.
xelatex hello_world.tex
This should produce a pdf file that you can read, along with a few other files.
Congratulations!
(I've chosen to use the xelatex
command instead of the latex
command, because it xelatex
produces a .pdf directly, while you need a few more steps to get a .pdf if you use the latex
command.)
I'll leave learning about those other steps and files as an exercise for the reader. 😉
For real projects, I recommend you use one of the LaTeX GUI environments that are mentioned above to help speed up your writing.
For more instructions and guides on LaTeX, see the resources below.
- Michael Spivak - Calculus
- Micahel Hutchings - Introduction to Mathematical Arguments
- Daniel Solow - How to Read and Do Proofs
- react-latex - React Component to render Latex