@slide(layout=content-and-preview)
@title
Procedure of this workshop
@content
**Goal:** You are going to build your own little LaTeX manual based on our [LaTeX Script](https://github.com/fs-wiai/latex-script/).
* learning by doing
* understanding how LaTeX works
* details can be looked up later
**Outline:**
1. What is LaTeX?
2. Basic LaTeX documents
3. More complex projects
4. Lots of features
5. Reference management
6. Outlook
@preview

@slide(layout=chapter-slide)
@number
1
@title
What is LATEX?
@slide(layout=content-and-preview)
@title
Origin
@content
* Donald **Knuth**, 1977–1986: typesetting system **TeX**τεχ → /tɛç, tɛx, tɛk/ for The Art of Computer Programming
* Leslie **Lamport**, from 1980s: software package **LaTeX** made TeX easier to use
Donald KnuthLeslie Lamport
@preview

@slide(layout=content-only)
@title
5 Reasons for LaTeX
@content
1. Besides Word, LaTeX is **one of the two dominant typesetting systems** in the academic world.
2. ++ **Mathematical formulas** feel most at home in LaTeX. This is why the LaTeX formula notation has been integrated into numerous other tools (e. g. OneNote, Word, Wikipedia, …).
3. ++ There are **countless packages** for the most diverse areas of application.
4. ++ LaTeX was developed to produce **aesthetically pleasing typesetting** — and you can see that in the texts it produces.
5. ++ Complex documents typeset in LaTeX **facilitate collaboration** enormously (e. g. through versioning, proper document structuring, templates, reliable undo, …).
@slide(layout=content-only)
@title
LaTeX' Shortcomings
@content
* Typesetting text can be **cumbersome**, especially for short documents.
* **Layout adjustments** are only possible within certain limits.
::: {.box .warning .fragment}
The “LaTeX vs. Word” debate is very old. If you are interested in tracing it, we can recommend the following article as a starting point:
Moorhead, A.V. [**Is LaTeX use correlated with the number of equations in a manuscript?**](https://doi.org/10.1007/s11192-021-04119-2) Scientometrics 126, 8259–8273 (2021).
(TL;DR: LaTeX users make more errors, they need more time except when it comes to formulas, but they are happier with their tool.)
:::
@slide(layout=content-and-preview)
@title
WYSIWhat?
@content
### What You See Is What You Get {data-category=Word}
* Formatting with immediate visual feedback
### What You See Is What You Mean {data-category=LaTeX}
* Separation of content and structure
* Formatting only visible afterwards
@preview

@slide(layout=preview-only)
@preview
{}
@slide(layout=two-columns)
@title
What do we need?
@column-one
### Compiler
takes the source code and creates a PDF document ready for publication
[MiKTeX](http://miktex.org/) (Windows), [MacTeX](http://tug.org/mactex/) (macOS)
[TeX Live](https://tug.org/texlive/) (Linux, preferably `texlive-full`)
::: {.box .warning .fragment}
On **Windows**, please open the MikTEX Console once and search for updates.
:::
@column-two
::: {.fragment}
### Editor
writing our source code including all the commands that structure the text semantically
[TeXstudio](http://www.texstudio.org/) (recommended), [VS Codium](https://vscodium.com) (for advanced users, instructions on [Github](https://github.com/fs-wiai/latex-script/blob/github/vs-code-instructions.md))
:::
@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.
::: {.box .warning}
**Windows**: 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.
:::