To use LaTeX, you need two pieces of software:
- A LaTeX distribution
- A LaTeX editor
The distribution contains all the tools, libraries, documentation and styles that you will need for creating documents. A good editor makes writing and invoking the necessary commands to build a PDF from the LaTeX/BibTeX sources trivial.
We recommend:
- TeXLive Distribution. It is rather large (~2.9 GiB) but complete and up-to-date.
- TeXstudio. Free software, cross-platform, easy to configure yet powerful.
Use these instructions if you are running a Debian-based Linux distro such as
- Debian
- Ubuntu / Xubuntu / Kubuntu
- Mint
The installation can be done either from the command line or by using a graphical package manager like Synaptic.
Open a terminal such as gnome-terminal
and enter this command:
sudo apt install texlive texstudio
Open the Synaptic Package Manager and search for texlive
.
Click on the checkbox next to texlive
and select Mark for installation
.
Next, search for texstudio
:
Click on the checkbox next to texstudio
and select Mark for installation
.
Click on the Apply
button in the toolbar. A confirmation window pops up.
Click again on Apply
to start the installation.
In a terminal:
sudo pacman -S texlive texstudio
Create a new folder and download the files
testDocument.tex
and
references.bib
(right click and Save link target
).
Open the testDocument.tex
file in TeXstudio.
Build & view the Document by pressing F5
or click the left green arrow in the
toolbar.
The document created should match goal.pdf.