%&presentatie
%% !TeX program = pdflatex

\def\rootpath{../../..}

\makeatletter
    \edef\input@path{{\rootpath}}
\makeatother

\documentclass{cursuspresentatie}

%\input{preamble.tex}

\def\importslide#1#2{%
    \import{\rootpath/slides/#1}{#2}
}

\title[LaTeX-cursus 2021 -- Week 3]{%
    \texorpdfstring{\LaTeX{}-cursus 2021\\Week 3: Verdiepend}{%
        Week 3 -- LaTeX-cursus 2021%
    }%
}
\author{\TeX niCie}
\date{26 oktober 2021}

% Door bij te dragen aan de presentatie, stel je je broncode beschikbaar aan de 
% TeXniCie onder MIT licentie.

\begin{document}

% ---- INTRODUCTIE ----

\lang{
	\section{General}
}{
	\section{Algemeen}
}

\begin{frame}
    \titlepage
    \centering
\end{frame}

% \begin{frame}
%     \frametitle{\lang,Schedule,Agenda,}
    
%     \begin{itemize}
%         \item \lang,Introduction,Introductie,
%         \item \lang,Basic document,Basisdocument,
%         \item \lang,Formulas,Formules,
%         \item \lang,Image,Afbeelding,
%         \item $ \mathbf\langle $\lang,Exercises!,Oefeningen!,$ \rangle $
%     \end{itemize}
% \end{frame}

    \clearrecentlist

    \def\assetdir{assets}

    \importslide{text}{text-groups.tex}

    \importslide{text}{text-specialchars.tex}

    \importslide{text}{text-comments.tex}

    \importslide{text}{text-quotes.tex}

    \importslide{internals}{internals-newcommand.tex}

    \importslide{internals}{internals-renewcommand.tex}

    \importslide{math}{subscript_superscript-inzicht.tex}

    \importslide{text}{text-footnote.tex}

    \section{Whitespace}

    \importslide{text}{text-paragraphs.tex}

    \importslide{text}{text-noindent.tex}

    \importslide{text}{text-vspace.tex}

    \importslide{text}{text-parskip.tex}

    \importslide{internals}{internals-spaces_in_code.tex}

	\importslide{text}{text-whitespace.tex}

    \section{Counters}

    \importslide{internals}{internals-setcounter.tex}

    \importslide{internals}{internals-counter_inspection.tex}

    \importslide{internals}{internals-counter_formatting.tex}

    \section{Pagina}

    \importslide{document}{document-geometry_fancyhdr.tex}

    \importslide{document}{document-twocolumn.tex}

    \importslide{document}{document-latex_to_svg.tex}

    \section{Class `inleveropgave'}

    \importslide{internals}{internals-providesclass.tex}

    \section{Boxes}
    \importslide{text}{text-adjustbox-frame.tex}

    \importslide{text}{text-adjustbox-fanciness.tex}

    \importslide{text}{text-phantom.tex}

    \importslide{internals}{internals-newenviron.tex}
    
    \section{Extra's}

    % \begin{frame}
    %     \frametitle{Aux files}
    % \end{frame}

    \begin{saveblock}{code}
        \begin{hllblock}[linewidth=\textwidth,gobble=12]
            % document.aux gedeeltelijk:
            \newlabel{eq:wortel2}{{1}{1}{BB}{equation.2.1}{}}
            \newlabel{eq:wortel3}{{2}{1}{BB}{equation.2.2}{}}
            \newlabel{eq:wortel4}{{3}{1}{BB}{equation.2.3}{}}
        \end{hllblock}
    \end{saveblock}

    \begin{saveblock}{code2}
        \begin{hllblock}[linewidth=\textwidth,gobble=12]
            % document.toc
            \contentsline {section}{\numberline {1}AA}{1}{section.1}%
            \contentsline {section}{\numberline {2}BB}{1}{section.2}%
        \end{hllblock}
    \end{saveblock}

    \begin{saveblock}{code3}
        \begin{hllblock}[linewidth=\textwidth,gobble=12]
            \begin{equation}\label{eq:wortel2}
                \sqrt{2}
            \end{equation}
            Kijk in \eqref{eq:wortel2}.
        \end{hllblock}
    \end{saveblock}

    \begin{frame}
        \frametitle{Referenties en meermaalse compilatie}

        \useblock{code3}

        \useblock{code}

        \useblock{code2}

        \url{https://tex.stackexchange.com/a/597678/242407}
    \end{frame}

    % \begin{frame}
    %     \frametitle{Dimexpr}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{Conditionals}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{Accenten}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{Tikz}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{csname}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{xkeyval}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{etoolbox}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{show/showthe/the/meaning}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{def/edef/gdef/xdef/let}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{catcodes}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{subfiles}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{bibliography}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{environ}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{LaTeX in pyplot, Mathematica en op websites}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{hyperref}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{.fmt files}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{LaTeX editor shortcuts}

    %     In Overleaf

    %     In VS Code

    %     In TeXstudio
    % \end{frame}

    % \begin{frame}
    %     \frametitle{listings}
    % \end{frame}

    % \begin{frame}
    %     \frametitle{beamer}
    % \end{frame}

    % boxes

    % dimexpr

    % ifnum

    % counters

    % accents and foreign characters

    % tikz

    % xkeyval

    % etoolbox

    % csname


    % show

    % meaning

    % environ


    
%     \importslide{intro}{intro-wordcomp-doc.tex}

%     \def\frameselection{2}
% 	\importslide{intro}{intro-wordcomp-ondermotorkap.tex}

% 	\def\frameselection{1-4}
% 	\importslide{intro}{intro-visueelcomp_2.tex}

% 	\importslide{intro}{intro-visueelcomp-lemmaproof.tex}
% 	\importslide{intro}{intro-visueelcomp-wiki_example.tex}

% 	\def\frameselection{5-}
% 	\importslide{intro}{intro-visueelcomp_2.tex}

% %     \def\frameselection{3}
% % 	\importslide{intro}{intro-visueelcomp.tex}

% %     \importslide{intro}{intro-visueelcomp-lemmaproof.tex}

% %     \def\frameselection{5,7}
% %     \importslide{intro}{intro-visueelcomp.tex}

%     \importslide{intro}{intro-overleaf.tex}

% 	\importslide{misc}{misc-installation.tex}

% 	\lang{
% 	\section{Basic document}
% }{
% 	\section{Basisdocument}
% }

%     \importslide{intro}{intro-simpledoc.tex}

% % ---- SECTIONS ----

% \begin{saveblock}{simpleContents}
%     \begin{highlightblock}[linewidth=0.5\textwidth,gobble=8]
%         \section{AA}
% 		Lorem ipsum dolor sit amet,
% 		consectetur adipiscing elit.
        
%         \section{BB}
%         \subsection{CC}
%         \subsubsection{DD}
%         \subsection{EE}
%         \textbf{Opdracht:} Nullam
% 		a risus at arcu lobortis
% 		\textit{viverra vel}.
        
%         \section{FF}
%         \subsubsection{GG}
%     \end{highlightblock}
% \end{saveblock}

% \begin{frame}
% 	\frametitle{Simpele inhoud}

% 	\begin{columns}
% 		\begin{column}{0.5\textwidth}
% 			\useblock{simpleContents}
% 		\end{column}
% 		\begin{column}{0.5\textwidth}
% 			\includegraphics[width=\linewidth,height=0.8\textheight,keepaspectratio]{assets/outdir/simpleContents.pdf}
% 		\end{column}
% 	\end{columns}
% \end{frame}

% \begin{frame}
% 	\frametitle{Heel veel packages}

% 	Nodig voor voorbeelden uit de presentatie.

% 	\medskip

% 	Verbeteren pagina marges, wiskunde, paragraaf inspringing, taal,
% 	afbeeldingen en meer.

% 	\medskip
    
% 	Je kan lijst van belangrijke packages halen van Vincents website, op
% 	\begin{center}
% 		\href{https://vkuhlmann.com/latex/example}{\ul{\texttt{vkuhlmann.com/latex/example}}}
% 	\end{center}
% \end{frame}

% %\importslide{document}{document-sections.tex}

% % ---- FORMULES ----

% \lang{
% 	\section{Formulas}
% }{
% 	\section{Formules}
% }

% \importslide{math}{inline.tex}
% \importslide{math}{basics.tex}

% % \begin{frame}
% % 	\begin{align*}
% % 		\int_0^{\infty} e^{-x}\dif x &= -\eval{e^{-x}}_{0}^{\infty} = -(0 - 1) = 1\\
% % 		%\int_0^{\pi}\sin^2(x)\dif x &= \int_0^{\pi}\frac{1-(\cos^2(x)-\sin^2(x))}{2}
% % 		%= \int_0^{\pi}\frac{1-\cos(2x)}{2}\\
% % 		%&= \pi/2 - \frac{\sin()}{}
% % 	\end{align*}
% % \end{frame}

% \importslide{math}{symbols.tex}
% \importslide{math}{vectors.tex}

% \begin{frame}
% 	\begin{columns}
% 		\begin{column}{0.5\textwidth}
% 			\adjustbox{scale=4}{$ sin(x) $}\par
% 			\adjustbox{scale=4}{$ \vec{F}_{tot} $}

% 			\bigskip
% 			\adjustbox{scale=1.5}{\hll|$ sin(x) $|}\par
% 			\adjustbox{scale=1.5}{\hll|$ \\vec\{F\}_\{tot\} $|}
% 		\end{column}
% 		\begin{column}{0.5\textwidth}
% 			\adjustbox{scale=4}{$ \sin(x) $}\par
% 			\adjustbox{scale=4}{$ \vec{F}_{\text{tot}} $}\par

% 			\bigskip
% 			\adjustbox{scale=1.5}{\hll|$ \\sin(x) $|}\par
% 			\adjustbox{scale=1.5}{\hll|$ \\vec\{F\}_\{\\text\{tot\}\} $|}
% 		\end{column}
% 	\end{columns}

% 	% \adjustbox{scale=4}{$ sin(x) $\quad $ \sin(x) $}\par
% 	% %\adjustbox{scale=4}{$ \text{sin}(x) $}
% 	% \adjustbox{scale=4}{$ \vec{F}_{tot} $\quad $ \vec{F}_{\text{tot}} $}

% 	% \medskip

% 	% \hll|$ sin(x) $|\quad\hll|$ \\sin(x) $| of \hll|$ \\text\{sin\}(x) $|\par
% 	% \hll|$ \\vec\{F\}_\{tot\} $|\quad\hll|$ \\vec\{F\}_\{\\text\{tot\}\} $|
% \end{frame}

% \importslide{math}{calculus.tex}

% \importslide{math}{relations.tex}
% \importslide{math}{arrows.tex}
% \importslide{math}{symbols-ref.tex}

% \importslide{math}{math-vscode_snippet_view.tex}

% \importslide{math}{equation.tex}

% \addtorecentlist{align}
% \importslide{math}{align-unaligned.tex}

% \providebool{skipNonumber}
% \booltrue{skipNonumber}

% \importslide{math}{align-numbers.tex}

% \importslide{math}{left_right.tex}
% \importslide{math}{left_right-delimeter_point.tex}

% \importslide{math}{structures.tex}

% \section{Afbeeldingen}

% \addtorecentlist{\textbackslash includegraphics}

% \importslide{images}{includegraphics-inline.tex}
% \importslide{images}{includegraphics-asparagraph.tex}

% \section{\texorpdfstring{}{Misc}}

\begin{frame}
    \centering\LARGE
    Kom bij de \TeX niCie! :)
\end{frame}

\importslide{misc}{misc-contact.tex}

% \begin{frame}
% 	Oefeningen!
% \end{frame}

\ifishandout
    \importslide{misc}{misc-license.tex}
\fi
    
\end{document}
