@slide(layout=chapter-slide) @number 0 @title First steps with LATEX @content In order to compile the script for this tutorial, a few steps have to be followed, which are explained in the next slides. @slide(layout=content-only) @title Digression: Opening a command prompt @content * For the following tasks, we are going to need a command prompt. * It can be opened in different ways, depending on your operating system. * **Windows**: Press the Windows key and type in *cmd*, press Enter. * **MacOS**: Press the *Command* key and the *space bar* simultaneously, then type in *Terminal* and double click on *Terminal*. * **Linux**: Press Ctrl + Alt + T. @slide(layout=content-only) @title Installing the compiler @content * The compiler translates our LATEX code into a properly formatted PDF document. * Depending on your operating system, different compilers are available: * Windows: MikTEX * Linux: TEXLive (preferably `texlive-full`) * macOS: MacTEX
On Windows, please open the MikTEX Console once and search for updates.
@slide(layout=content-only) @title Installing the editor @content * An editor can be downloaded once the compiler has been installed. * For editing LaTeX documents, any text editor works fine, e. g., Notepad++ or VSCode. * For beginners, we recommend TEXstudio due to its LaTeX-specific features. * Download and install TEXstudio. @slide(layout=content-only) @title Compile the script for the first time @content * Download the project archive from the VC. * Unzip the archive. * Open the file `main-exercises.tex` in TEXstudio. It is located in the root directory of the archive. * Compile `main-exercises.tex` by pressing * A few new files will be generated by the compilation.
Windows users: In order to enable file endings, click the view tab in the file explorer, and select *file name extensions*. This helps differentiating the different ``main`` files.