7 \frametitle{Wat is
\LaTeX}
11 \item Komt van het woord
\texttau\textepsilon\textchi\textnu\texteta
12 \item Dus spreek uit als latech
13 \item \texttt{texlive
},
\texttt{miktex
},
\texttt{tetex
}
14 \item \texttt{tex
},
\texttt{pdflatex
},
\texttt{latex
},
15 \texttt{pdftex
},
\texttt{xelatex
},
\texttt{xetex
}
16 \item \url{sharelatex.com
}
20 \section{Document structuur
}
21 \subsection{Titelpagina en inhoudsopgave
}
22 \begin{frame
}[fragile
]
23 \frametitle{Broncode structuur
}
25 \documentclass[opt1,...,optn
]{type
}
39 \frametitle{Een greep uit de opties en typen
}
43 \item\texttt{twocolumn
}
51 \begin{block
}{documenttypes
}
61 \begin{frame
}[fragile
]
62 \frametitle{Type commandos
}
64 \begin{commando
}[opties
]
65 % Dit is allemaal onder invloed van commando
69 % Dit is allemaal onder invloed van commando
73 % Dit is meestal het geval bij text decoraties
78 \begin{frame
}[fragile
]
79 \frametitle{Inhoudsopgave en titelpagina
}
80 \framesubtitle{preamble en
document}
81 \begin{block
}{Document info en titelpagina
}
82 \begin{lstlisting
}[caption=preamble
]
88 \begin{lstlisting
}[caption=
document]
93 \begin{block
}{Inhoudsopgave
}
94 Automatisch gegenereerd van de hoofdstukken.
101 \subsection{Secties, subsecties en paragrafen
}
104 \framesubtitle{document}
107 Commando & Diepte & Notitie\\
108 \texttt{\textbackslash part\
{naam\
}} & $-
1$ &\\
109 \texttt{\textbackslash chapter\
{naam\
}} & $
0$ &
111 \texttt{\textbackslash section\
{naam\
}} & $
1$ &\\
112 \texttt{\textbackslash subsection\
{naam\
}} & $
2$ &\\
113 \texttt{\textbackslash subsubsection\
{naam\
}} & $
3$ &\\
114 \texttt{\textbackslash paragraph\
{naam\
}} & $
4$ &
115 niet in de inhoudsopgave\\
116 \texttt{\textbackslash subparagraph\
{naam\
}} & $
5$ &
117 niet in de inhoudsopgave\\
121 \begin{block
}{Aparte inhoudsopgave text
}
123 \item \texttt{\textbackslash commando
[inhoudsopgave
]\
{naam\
}}
124 \item Automatische nummering
129 \subsection{Decoratie, symbolen en tekstgrootte
}
131 \frametitle{Decoratie
}
132 \framesubtitle{document}
134 \begin{block
}{Diverse types
}
136 \texttt{\textbackslash emph\
{emphasis\
}} &
\emph{emphasis
}\\
137 \texttt{\textbackslash textit\
{italic\
}} &
\textit{italic
}\\
138 \texttt{\textbackslash textbf\
{bold\
}} &
\textbf{bold
}\\
139 \texttt{\textbackslash textsl\
{slanted\
}} &
\textsl{slanted
}\\
140 \texttt{\textbackslash texttt\
{monospace\
}} &
\texttt{monospace
}\\
141 \texttt{\textbackslash textsc\
{smallcaps\
}} &
\textsc{smallcaps
}\\
145 \begin{block
}{Met pakketten nog veel meer mogelijk
}
156 \frametitle{Textgrootte
}
157 \framesubtitle{document}
158 \begin{block
}{Filosofie
}
160 \item \LaTeX{ }bepaalt, referentietabel aanwezig
161 \item absolute grootte alleen mogelijk met pakketten
165 \begin{block
}{Textgrootte
}
167 \texttt{\
{\textbackslash tiny miniscuul\
}} &
169 \texttt{\
{\textbackslash scriptsize bijzonder klein\
}} &
170 \scriptsize{bijzonder klein
}\\
171 \texttt{\
{\textbackslash footnotesize erg klein\
}} &
172 \footnotesize{erg klein
}\\
173 \texttt{\
{\textbackslash small klein\
}} &
175 \texttt{\
{\textbackslash normalsize normaal\
}} &
176 \normalsize{normaal
}\\
177 \texttt{\
{\textbackslash large aan de forse kant\
}} &
178 \large{aan de forse kant
}\\
179 \texttt{\
{\textbackslash Large groot\
}} &
181 \texttt{\
{\textbackslash LARGE erg groot\
}} &
183 \texttt{\
{\textbackslash huge bijzonder groot\
}} &
184 \huge{bijzonder groot
}\\
185 \texttt{\
{\textbackslash Huge gigantisch\
}} &
192 \frametitle{Symbolen
}
193 \framesubtitle{document}
194 \begin{block
}{Symbolen
}
196 \item \texttt{\textbackslash usepackage
[utf-
8]\
{inputenc\
}}
197 \item \url{detexify.kirelabs.org
}
198 \item Diakritische tekens staan er niet op
199 \item Veel cheatsheets beschikbaar
203 \begin{block
}{Diakritische tekens
}
204 \begin{tabular
}{llp
{30pt
}ll
}
205 \texttt{\textbackslash \'
{}o
} & \'o &
206 \texttt{\textbackslash H\
{o\
}} &
\H{o
}\\
207 \texttt{\textbackslash \"
{}o
} & \"o &
208 \texttt{\textbackslash c\
{o\
}} &
\c{o
}\\
209 \texttt{\textbackslash \`
{}o
} & \`o &
210 \texttt{\textbackslash b\
{o\
}} &
\b{o
}\\
211 \texttt{\textbackslash\textasciicircum o
} & \^o &
212 \texttt{\textbackslash u\
{o\
}} &
\u{o
}\\
213 \texttt{\textbackslash\textasciitilde o
} & \^o &
214 \texttt{\textbackslash r\
{o\
}} &
\r{o
}\\
215 \texttt{\textbackslash .o
} & \.o &
216 \texttt{\textbackslash v\
{o\
}} &
\v{o
}\\
217 \texttt{\textbackslash l
} &
\l &
218 \texttt{\textbackslash =o
} & \=o\\
219 \texttt{\textbackslash o
} &
\o\\
224 \subsection{Lijsten en opsommingen
}
226 \frametitle{Lijsten en opsommingen
}
227 \framesubtitle{document}
230 \item Je kan lijsten maken van lijsten
231 \item Je kan met pakketten alles naar je hand zetten
232 \item Met
\texttt{\textbackslash item
} maak je items
236 \begin{block
}{itemize
}
238 \item Ongenummerde lijsten maken
242 \begin{block
}{enumerate
}
244 \item Genummerde lijsten maken
249 \begin{frame
}[fragile
]
250 \frametitle{Voorbeeld deel
1}
253 \item \begin{enumerate
}
256 \item \begin{enumerate
}
267 \frametitle{Voorbeeld deel
2}
268 \begin{block
}{Uitkomst
}
270 \item \begin{enumerate
}
273 \item \begin{enumerate
}
282 \begin{block
}{Caveat
}
283 Uitvoer documentafhankelijk
287 \subsection{Formules en tabellen
}
289 \frametitle{Formules
}
290 \framesubtitle{document}
292 \item \$,\$ of \$\$,\$\$
293 \item \textbackslash$
[$,
\textbackslash$
]$
294 \item \texttt{\textbackslash everymath\
{\textbackslash displaystyle\
}}
295 \item \texttt{equation
}
296 \item \texttt{equation*
}
300 \begin{frame
}[fragile
]
301 \begin{block
}{Breuken
}
303 \frac{n!
}{k!(n-k)!
}=
\binom{n
}{k
}
305 $$
\frac{n!
}{k!(n-k)!
}=
\binom{n
}{k
}$$
307 \begin{block
}{Som, product, index
}
309 \int^
\infty_0\sum^
{\mathbb{N
}}_
{i=
5}\prod^
{3}_
{j=
0}k_
{i,j
}^
2
311 $$
\int^
\infty_0\sum^
{\mathbb{N
}}_
{i=
5}\prod^
{3}_
{j=
0}k_
{i,j
}^
2$$
313 \begin{block
}{Logica
}
315 \forall\psi\in\mathbb{B
}:
\exists\phi\in\Psi:
\psi\vee\phi
317 $$
\forall\psi\in\mathbb{B
}:
\exists\phi\in\Psi:
\psi\vee\phi$$
321 \begin{frame
}[fragile
]
322 \begin{block
}{Haakjes
}
324 (a),
[b
],\
{c\
},|d|,\|e\|,
\langlef\rangle,
\lfloorg\rfloor,
325 \lceilh\rceil,
\ulcorneri\urcorner
327 $$(a),
[b
],\
{c\
},|d|,\|e\|,
\langle f
\rangle,
\lfloor g
\rfloor,
328 \lceil h
\rceil,
\ulcorner i
\urcorner$$
329 I.c.m.
\texttt{\textbackslash left/right
} goede grootte.
332 \begin{block
}{Handige pakketten
}
334 \item \texttt{amsmath,amssymb
}
340 \item \texttt{nicefrac
}
345 \section{Uitbreidingspakketten
}
346 \subsection{Plaatjes
}
347 \begin{frame
}[fragile
]
348 \frametitle{Plaatjes invoegen
}
349 \framesubtitle{preamble,
document}
350 \begin{lstlisting
}[caption=preamble
]
351 \usepackage{graphicx}
353 \begin{lstlisting
}[caption=
document]
354 \includegraphics[width=
80px
]{tux.png
}
356 \includegraphics[width=
80px
]{tux.png
}
359 \begin{frame
}[fragile
]
361 \framesubtitle{document}
365 \includegraphics[width=
80px
]{tux.png
}
371 \includegraphics[width=
80px
]{tux.png
}
376 \subsection{Broncode
}
377 \begin{frame
}[fragile
]
378 \frametitle{Broncode
}
379 \framesubtitle{preamble,
document}
381 \usepackage{listings
}
383 \lstinputlisting[caption=
document]{broncode.tex
}
384 \lstinputlisting[language=c,caption=uitvoer
]{broncode.c
}
388 \frametitle{Nog meer broncode
}
390 \item\texttt{\textbackslash lstinputlisting
}
391 \item\texttt{\textbackslash lstset
}
392 \item\texttt{breaklines
}
393 \item\texttt{numbers=left
}
394 \item\texttt{frame=L
}
400 \subsection{Algorithmen
}
401 \begin{frame
}[fragile
]
402 \frametitle{Algorithmen
}
403 \framesubtitle{preamble,
document}
405 \usepackage{algorithm2e
}
409 \SetKwProg{Def
}{def
}{:
}{end
}
410 \Def{replace
\_or\_register\_dawg(state)
}{
411 child := last
\_child(state)\;
412 \If{has
\_children(child)
}{
413 replace
\_or\_register(child)\;
415 \eIf{\exists q': q
\equiv q'
}{
419 register.add(child)\;
427 \frametitle{Algorithmen deel twee
}
429 \SetKwProg{Def
}{def
}{:
}{end
}
430 \Def{replace
\_or\_register\_dawg(state)
}{%
431 child := last
\_child(state)\;
432 \If{has
\_children(child)
}{%
433 replace
\_or\_register(child)\;
435 \eIf{$
\exists q': q
\equiv q'$
}{%
439 register.add(child)\;
445 \subsection{En nog veel meer
\ldots}
447 \frametitle{En nog veel meer
\ldots}
448 \begin{itemize
}[<+->
]
449 \item Presentaties:
\texttt{beamer
}
450 \item Bibliografie\"en:
\texttt{bibtex
}
451 \item Diagrammen:
\texttt{tikz,xypic
}
452 \item Tabellen:
\texttt{tabular,booktabs,tabu,tabux
}
453 \item Chemie:
\texttt{chemfig
}
454 \item Linguistiek:
\texttt{tipa
},
\texttt{babel
}
455 \item Facturen:
\texttt{invoice
}
457 \url{ctan.org/pkg/sudokubundle
}
459 \url{tex.stackexchange.com/a/
104312}
460 \item Torens van Hanoi:
461 \url{texample.net/tikz/examples/towers-of-hanoi/
}
462 \item BASIC interpreter:
463 \url{tug.org/TUGboat/tb11-
3/tb29greene.pdf
}
464 \item 8bit microcontroller:
465 \url{ctan.org/pkg/avremu
}