diff --git a/exercises/latexkurs-uebung.cls b/exercises/latexkurs-uebung.cls index 67619fa..8eae83d 100644 --- a/exercises/latexkurs-uebung.cls +++ b/exercises/latexkurs-uebung.cls @@ -32,11 +32,6 @@ numbers=none, numberstyle=\tiny, stepnumber=1, - morekeywords={[0]lvert,rvert,mathbb,maketitle,printbibliography, - addbibresource,autocite,footcite,middle, - visible,uncover,usetheme,only,frametitle,institute, - resizebox,scalebox,rotatebox,blindtext,Blindtext}, - escapeinside={(*@}{@*)}, } \RequirePackage{etoolbox} diff --git a/exercises/uebung-5.tex b/exercises/uebung-5.tex index 89ea9a2..e6bdf39 100644 --- a/exercises/uebung-5.tex +++ b/exercises/uebung-5.tex @@ -48,7 +48,7 @@ folgenden Inhalt: \usepackage[T1]{fontenc} \usepackage[backend=bibtex, style=numeric-comp, backref=false, - (*@autocite@*)=footnote, maxnames=2, + autocite=footnote, maxnames=2, isbn=true]{biblatex} \addbibresource{meineBuecher.bib} \title{Mein Werk} diff --git a/exercises/uebung-8.tex b/exercises/uebung-8.tex index b241485..b8bbd5d 100644 --- a/exercises/uebung-8.tex +++ b/exercises/uebung-8.tex @@ -59,16 +59,16 @@ unterschiedliche Verhalten von \lstinline|uncover|, \lstinline|visible|, und \lstinline|only| zu verstehen. \item Lade das Paket \texttt{listings} und füge folgendes \lstinline|frame| hinzu: - \begin{lstlisting} +\begin{lstlisting} \begin{frame}[fragile] \begin{lstlisting}[language=C] #include main(){ printf("Hello World"); } - \end{(*@{lstlisting}{@*)} + \end{lstlisting} \end{frame} - \end{lstlisting} +\end{lstlisting} Man kann also leicht Quellcode darstellen. \item Lade das Paket \texttt{tikz} und füge das folgende \lstinline|frame| hinzu: diff --git a/lectures/latexkurs.cls b/lectures/latexkurs.cls index b2eac5c..7855e2c 100644 --- a/lectures/latexkurs.cls +++ b/lectures/latexkurs.cls @@ -187,19 +187,6 @@ \RequirePackage{listings} \lstset{language=[LaTeX]TeX, basicstyle=\ttfamily, keywordstyle={\color{blue}\bfseries}, frame=tb, extendedchars=true, literate=% - {ä}{{\"a}}1 {ö}{{\"o}}1, escapeinside={(*@}{@*)}, mathescape=true, - basewidth=0.5em, keywordstyle={\color{blue}}, - morekeywords={[0]includegraphics,rotatebox,scalebox,resizebox,providecommand, - subsection,subsubsection,paragraph,subparagraph,part,chapter,tableofcontents, - mathring,text,mathbb,printindex,addbibresource,printbibliography,subtitle, - institute,titlegraphic,subject,keywords,draw,path,color,textcolor,toprule, - midrule,bottomrule,maketitle,setlength,enquote,listoffigures,listoftables, - theoremstyle,theoremheaderfont,theorembodyfont,newblock,parencite,footcite, - autocite,bibitem,middle,tikzset,usetikzlibrary,coordinate,node,foreach, - datavisualization,varepsilon,autocite,bibitem,DeclareRobustCommand, - DeclareDocumentCommand,IfBooleanTF,bye,frametitle,setbeamertemplate,pause, - onslide,uncover,visible,invisible,only,alt,temporal,alert,AtBeginSection, - usetheme,setbeamerfont,tikz,includeonlyframes,mode,pgfpagesuselayout, - RequirePackage, - }, + {ä}{{\"a}}1 {ö}{{\"o}}1, mathescape=true, + basewidth=0.5em, keywordstyle={}, } diff --git a/lectures/lecture-01-basics-1.tex b/lectures/lecture-01-basics-1.tex index 633b34f..f82718c 100644 --- a/lectures/lecture-01-basics-1.tex +++ b/lectures/lecture-01-basics-1.tex @@ -42,7 +42,7 @@ Brief, \dots) \item<+-> Wird (im allgemeinen) als erstes im Dokument angegeben mittels \begin{lstlisting} -\documentclass{(*@\textit{dokumentenklasse}@*)} +\documentclass{\textit{dokumentenklasse}} \end{lstlisting} \item<+-> Beispiele (jeweils nur eins davon!): \begin{lstlisting} @@ -92,7 +92,7 @@ \item<+-> Pakete werden eingebunden mittels \begin{lstlisting} -\usepackage[(*@\textit{option}@*)]{(*@\textit{paketname}@*)} +\usepackage[\textit{option}]{\textit{paketname}} \end{lstlisting} Zum Beispiel \begin{lstlisting} diff --git a/lectures/lecture-02-basics-2.tex b/lectures/lecture-02-basics-2.tex index 34f3fd7..ac0f706 100644 --- a/lectures/lecture-02-basics-2.tex +++ b/lectures/lecture-02-basics-2.tex @@ -175,7 +175,7 @@ \item Einbinden von Graphiken in \LaTeX\ mit Hilfe des Pakets \texttt{graphicx} \item Befehl \begin{lstlisting} -\includegraphics[(*@\textit{Optionen}@*)]{(*@\textit{Bildname}@*)} +\includegraphics[\textit{Optionen}]{\textit{Bildname}} \end{lstlisting} \end{itemize} diff --git a/lectures/lecture-06-TiKZ.tex b/lectures/lecture-06-TiKZ.tex index eb290b2..1541224 100644 --- a/lectures/lecture-06-TiKZ.tex +++ b/lectures/lecture-06-TiKZ.tex @@ -1,4 +1,4 @@ -\documentclass{latexkurs} +\documentclass[handout]{latexkurs} \subtitle{Grafiken erstellen mit \LaTeX{}} \date{\dateSeventhLecture} @@ -143,8 +143,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{column}{0.7\linewidth} \begin{lstlisting}[frame=none] \begin{tikzpicture} - \draw[red] (0,0) -- (2,3); (*@\pause @*) - \draw[thick,blue] (1,1) -- (1,3); (*@\pause @*) + \draw[red] (0,0) -- (2,3); \pause + \draw[thick,blue] (1,1) -- (1,3); \pause \draw[step=.3] (0,0) grid (3,3); \end{tikzpicture} \end{lstlisting} @@ -169,8 +169,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{column}{0.7\linewidth} \begin{lstlisting}[frame=none] \begin{tikzpicture}[step=0.3] - \draw[red,->] (0,0) -- (2,3); (*@\pause @*) - \draw[blue,dashed] (1,1) -- (1,3); (*@\pause @*) + \draw[red,->] (0,0) -- (2,3); \pause + \draw[blue,dashed] (1,1) -- (1,3); \pause \draw[dotted] (0,0) grid (3,3); \end{tikzpicture} \end{lstlisting} @@ -199,8 +199,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{column}{0.7\linewidth} \begin{lstlisting}[frame=none] \begin{tikzpicture}[scale=0.8,step=0.4] - \draw[red!50,thick,<<-] (0,0) -- (2,3); (*@\pause @*) - \draw[line width=4pt,blue] (1,1) -- (0,2); (*@\pause @*) + \draw[red!50,thick,<<-] (0,0) -- (2,3); \pause + \draw[line width=4pt,blue] (1,1) -- (0,2); \pause \draw[dotted] (0,0) grid (3,3); \end{tikzpicture} \end{lstlisting} @@ -228,9 +228,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting}[frame=none] \begin{tikzpicture}[step=0.3] \tikzset{every node/.style={below}} - \draw[red] (0,0) -- (2,3) node[above] {a}; (*@\pause @*) - \draw[blue,dashed] (1,1) rectangle (2,2); (*@\pause @*) - \draw[dotted] (0,0) node {0} grid (3,3); (*@\pause @*) + \draw[red] (0,0) -- (2,3) node[above] {a}; \pause + \draw[blue,dashed] (1,1) rectangle (2,2); \pause + \draw[dotted] (0,0) node {0} grid (3,3); \pause \draw[fill,opacity=0.3] (1,1) circle(1); \end{tikzpicture} \end{lstlisting} @@ -270,9 +270,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \coordinate (c) at (1,1); \coordinate (d) at (3,2); \draw[blue] (a) -- (d); - \draw (a)..controls (b) and (c)..(d); (*@\pause @*) - \draw[green,bend left=30] (a) to (d); (*@\pause @*) - \draw[red,out=90, in=-90] (a) to (d); (*@\pause @*) + \draw (a)..controls (b) and (c)..(d); \pause + \draw[green,bend left=30] (a) to (d); \pause + \draw[red,out=90, in=-90] (a) to (d); \pause \draw ($(a)!0.5!(d)$) ellipse(1 and 0.5); \end{tikzpicture} \end{lstlisting} @@ -310,13 +310,13 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \coordinate (a) at (0,0); \coordinate (b) at (1,1); \coordinate (c) at (3,2); - \draw[blue] (a) -- (c);(*@\pause @*) - \draw (a)--(b)--(c);(*@\pause @*) - \begin{scope}[yshift=1cm,dashed,thick] (*@\pause @*) + \draw[blue] (a) -- (c);\pause + \draw (a)--(b)--(c);\pause + \begin{scope}[yshift=1cm,dashed,thick] \pause \coordinate (a) at (0,0); - \coordinate (c) at (3,2);(*@\pause @*) - \draw[red] (a)--(b)--(c);(*@\pause @*) - \node[(*@draw@*),circle through=(a)] at (b){}; + \coordinate (c) at (3,2);\pause + \draw[red] (a)--(b)--(c);\pause + \node[draw,circle through=(a)] at (b){}; \end{scope} \end{tikzpicture} \end{lstlisting} @@ -346,7 +346,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting}[mathescape=false,frame=none] \usetikzlibrary{positioning} % in der Präambel \begin{tikzpicture} - \tikzset{tomsbox/.style={rectangle, (*@draw@*), + \tikzset{tomsbox/.style={rectangle, draw, very thick,minimum size=7mm, rounded corners=2mm}} \node[tomsbox] (1) at (0,0) {$T_1$}; @@ -382,7 +382,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{column}{0.82\linewidth} \begin{lstlisting}[mathescape=false,frame=none] \begin{tikzpicture} - \tikzset{tomsbox/.style={rectangle, (*@draw@*), + \tikzset{tomsbox/.style={rectangle, draw, very thick,minimum size=7mm, rounded corners=2mm}} \node[tomsbox] (1) at (0,0) {$T_1$}; @@ -552,8 +552,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{column}{0.6\linewidth} \small \begin{lstlisting}[mathescape=false,frame=none] -\usetikzlibrary{(*@datavisualization@*), - (*@datavisualization@*).formats.functions} +\usetikzlibrary{datavisualization, + datavisualization.formats.functions} \begin{tikzpicture} \datavisualization [school book axes, @@ -754,8 +754,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting} \coordinate (O) at (0,0); -\draw[->] (-0.3,0) -- (8,0) (*@coordinate@*)[label = {below:$x$}] (xmax); -\draw[->] (0,-0.3) -- (0,5) (*@coordinate@*)[label = {right:$f(x)$}] (ymax); +\draw[->] (-0.3,0) -- (8,0) coordinate[label = {below:$x$}] (xmax); +\draw[->] (0,-0.3) -- (0,5) coordinate[label = {right:$f(x)$}] (ymax); \end{lstlisting} \end{frame} @@ -777,7 +777,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \small \begin{lstlisting} -\draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante}; +\draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante}; \draw[red] plot[smooth] coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)}; \end{lstlisting} @@ -813,7 +813,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)}; \begin{scope}[name intersections = {of = x and y, name = i}] \fill[gray!20] (i-1) -- (i-2 |- i-1) -- (i-2) -- cycle; - \draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante}; + \draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante}; \draw[red] plot[smooth] coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)}; \end{scope} @@ -847,9 +847,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting} \begin{scope}[name intersections = {$\dots$}] $\dots\quad (\textsl{Wie vorher})$ - \draw (i-1) (*@node@*)[label = {above:$\text{\$P\$}$}] {} - -- (*@node@*)[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$} - (i-1 |- O) (*@node@*)[label = {below:$\text{\$x\_0\$}$}] {}; + \draw (i-1) node[label = {above:$\text{\$P\$}$}] {} + -- node[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$} + (i-1 |- O) node[label = {below:$\text{\$x\_0\$}$}] {}; \end{scope} \end{lstlisting} @@ -884,8 +884,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting} \begin{scope}[$\dots$] $\dots\quad (\textsl{Wie vorher})$ - \path (i-2) (*@node@*)[label = {above:$\text{\$Q\$}$}] {} - -- (i-2 |- i-1) (*@node@*) (i-12) {}; + \path (i-2) node[label = {above:$\text{\$Q\$}$}] {} + -- (i-2 |- i-1) node (i-12) {}; \end{scope} \end{lstlisting} @@ -920,7 +920,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{scope}[$\dots$] $\dots\quad(\textsf{Wie vorher})$ \draw (i-12) -- (i-12 |- O) - (*@node@*)[label = {below:(*@\$@*)x_0 + \varepsilon(*@\$@*)}] {}; + node[label = {below:\$x_0 + \varepsilon\$}] {}; \end{scope} \end{lstlisting} @@ -957,9 +957,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{scope}[$\dots$] $\dots\quad(\textsl{Wie vorher})$ \draw[blue, <->] (i-2) -- - (*@node@*)[right] {(*@\$@*)f(x_0 + \varepsilon) - f(x_0)(*@\$@*)} (i-12); + node[right] {\$f(x_0 + \varepsilon) - f(x_0)\$} (i-12); \draw[blue, <->] (i-1) -- - (*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-12); + node[below] {\$\varepsilon\$} (i-12); \end{scope} \end{lstlisting} @@ -1000,10 +1000,10 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{scope}[$\dots$] $\dots\quad (\textsl{Wie vorher})$ \path (i-1 |- O) -- - (*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-2 |- O); + node[below] {\$\varepsilon\$} (i-2 |- O); \draw[gray] (i-2) -- (i-2 -| xmax); \draw[gray, <->] ([xshift = -0.5cm]i-2 -| xmax) -- - (*@node@*)[fill = white] {(*@\$@*)f(x_0 + \varepsilon)(*@\$@*)} + node[fill = white] {\$f(x_0 + \varepsilon)\$} ([xshift = -0.5cm]xmax); \end{scope} \end{lstlisting} @@ -1057,7 +1057,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden. \begin{lstlisting} \begin{tikzpicture}[thick, >=stealth', dot/.style = { - (*@draw@*), + draw, fill = white, circle, inner sep = 0pt,