Example of how to create a simple page in LaTeX:
Table of contents
Install LaTeX
If you have not already installed LaTeX on your computer you can for example use LaTeX distributions texlive (pour GNU/Linux, Windows) or mactex (pour mac).
Once LaTeX is installed on your computer, it is also common to install a LaTeX text editor, there are several see "Comparison of TeX editors
Create a first page
Once LaTeX is installed, you can then create a simple file (for example called test.tex) containing the following lines:
\documentclass{article}
\begin{document}
Hello LaTeX !
\end{document}
To compile the test.tex file with LaTeX and create a pdf document you can then enter the following command (in your command prompt):
pdflatex test.tex
or more simply launch your LaTeX text editor, then go to "open file" and press the button allowing you to compile the document (for example on mac with TeXshop you must press the types button and see image above).
References
Links | Site |
---|---|
latex | latex-project.org |
texlive | tug.org |
mactex | tug.org |
How to compile a LaTeX document? | tex.stackexchange.com |
Writing a Simple LATEX Document | electronics |
Comparison of TeX editors | wikipedia |