static.wiai.de/latex-weekend/slides/basic-functionality.en.md
2023-11-18 01:26:09 +01:00

1.9 KiB

@slide(layout=chapter-slide)

@number 2

@title How does
LATEX work?

@slide(layout=content-and-preview)

@title WYSIWhat?

@content

What You See Is What You Get

  • Formatting with immediate visual feedback
### What You See Is What You Mean {data-category=LaTeX}
  • Separation of content and structure
  • Formatting only visible afterwards

Image source: xkcd

@preview

@slide(layout=preview-only)

@preview How to get the final document{}

@slide(layout=two-columns)

@title What do we need?

@column-one

Editor

writing our source code including all the commands that structure the text semantically

TeXstudio, TeXMaker

@column-two

Compiler

takes the source code and creates a PDF document ready for publication

MiKTeX, MacTeX, TeX Live

@slide(layout=wide-content)

@title Commands

@content General structure of a command:

\<command>[<optional_parameters>]{<obligatory_parameters>}

++ A few examples:

\newpage % inserts a new page
\textbf{bold text} % formats the text bold
\documentclass[a4paper,12pt, landscape]{article} % configures the document class
\frac{1}{4} % inserts a mathematical fraction

@slide(layout=content-only)

@title Backslash

@content You get the backslash by pressing

AltGr + ß (Windows/Linux)

Alt + Shift + 7 (MacOS)