|
@@ -1,4 +1,4 @@
|
1
|
|
-\documentclass{latexkurs}
|
|
1
|
+\documentclass[handout]{latexkurs}
|
2
|
2
|
|
3
|
3
|
\subtitle{Grafiken erstellen mit \LaTeX{}}
|
4
|
4
|
\date{\dateSeventhLecture}
|
|
@@ -143,8 +143,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
143
|
143
|
\begin{column}{0.7\linewidth}
|
144
|
144
|
\begin{lstlisting}[frame=none]
|
145
|
145
|
\begin{tikzpicture}
|
146
|
|
- \draw[red] (0,0) -- (2,3); (*@\pause @*)
|
147
|
|
- \draw[thick,blue] (1,1) -- (1,3); (*@\pause @*)
|
|
146
|
+ \draw[red] (0,0) -- (2,3); \pause
|
|
147
|
+ \draw[thick,blue] (1,1) -- (1,3); \pause
|
148
|
148
|
\draw[step=.3] (0,0) grid (3,3);
|
149
|
149
|
\end{tikzpicture}
|
150
|
150
|
\end{lstlisting}
|
|
@@ -169,8 +169,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
169
|
169
|
\begin{column}{0.7\linewidth}
|
170
|
170
|
\begin{lstlisting}[frame=none]
|
171
|
171
|
\begin{tikzpicture}[step=0.3]
|
172
|
|
- \draw[red,->] (0,0) -- (2,3); (*@\pause @*)
|
173
|
|
- \draw[blue,dashed] (1,1) -- (1,3); (*@\pause @*)
|
|
172
|
+ \draw[red,->] (0,0) -- (2,3); \pause
|
|
173
|
+ \draw[blue,dashed] (1,1) -- (1,3); \pause
|
174
|
174
|
\draw[dotted] (0,0) grid (3,3);
|
175
|
175
|
\end{tikzpicture}
|
176
|
176
|
\end{lstlisting}
|
|
@@ -199,8 +199,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
199
|
199
|
\begin{column}{0.7\linewidth}
|
200
|
200
|
\begin{lstlisting}[frame=none]
|
201
|
201
|
\begin{tikzpicture}[scale=0.8,step=0.4]
|
202
|
|
- \draw[red!50,thick,<<-] (0,0) -- (2,3); (*@\pause @*)
|
203
|
|
- \draw[line width=4pt,blue] (1,1) -- (0,2); (*@\pause @*)
|
|
202
|
+ \draw[red!50,thick,<<-] (0,0) -- (2,3); \pause
|
|
203
|
+ \draw[line width=4pt,blue] (1,1) -- (0,2); \pause
|
204
|
204
|
\draw[dotted] (0,0) grid (3,3);
|
205
|
205
|
\end{tikzpicture}
|
206
|
206
|
\end{lstlisting}
|
|
@@ -228,9 +228,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
228
|
228
|
\begin{lstlisting}[frame=none]
|
229
|
229
|
\begin{tikzpicture}[step=0.3]
|
230
|
230
|
\tikzset{every node/.style={below}}
|
231
|
|
- \draw[red] (0,0) -- (2,3) node[above] {a}; (*@\pause @*)
|
232
|
|
- \draw[blue,dashed] (1,1) rectangle (2,2); (*@\pause @*)
|
233
|
|
- \draw[dotted] (0,0) node {0} grid (3,3); (*@\pause @*)
|
|
231
|
+ \draw[red] (0,0) -- (2,3) node[above] {a}; \pause
|
|
232
|
+ \draw[blue,dashed] (1,1) rectangle (2,2); \pause
|
|
233
|
+ \draw[dotted] (0,0) node {0} grid (3,3); \pause
|
234
|
234
|
\draw[fill,opacity=0.3] (1,1) circle(1);
|
235
|
235
|
\end{tikzpicture}
|
236
|
236
|
\end{lstlisting}
|
|
@@ -270,9 +270,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
270
|
270
|
\coordinate (c) at (1,1);
|
271
|
271
|
\coordinate (d) at (3,2);
|
272
|
272
|
\draw[blue] (a) -- (d);
|
273
|
|
- \draw (a)..controls (b) and (c)..(d); (*@\pause @*)
|
274
|
|
- \draw[green,bend left=30] (a) to (d); (*@\pause @*)
|
275
|
|
- \draw[red,out=90, in=-90] (a) to (d); (*@\pause @*)
|
|
273
|
+ \draw (a)..controls (b) and (c)..(d); \pause
|
|
274
|
+ \draw[green,bend left=30] (a) to (d); \pause
|
|
275
|
+ \draw[red,out=90, in=-90] (a) to (d); \pause
|
276
|
276
|
\draw ($(a)!0.5!(d)$) ellipse(1 and 0.5);
|
277
|
277
|
\end{tikzpicture}
|
278
|
278
|
\end{lstlisting}
|
|
@@ -310,13 +310,13 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
310
|
310
|
\coordinate (a) at (0,0);
|
311
|
311
|
\coordinate (b) at (1,1);
|
312
|
312
|
\coordinate (c) at (3,2);
|
313
|
|
- \draw[blue] (a) -- (c);(*@\pause @*)
|
314
|
|
- \draw (a)--(b)--(c);(*@\pause @*)
|
315
|
|
- \begin{scope}[yshift=1cm,dashed,thick] (*@\pause @*)
|
|
313
|
+ \draw[blue] (a) -- (c);\pause
|
|
314
|
+ \draw (a)--(b)--(c);\pause
|
|
315
|
+ \begin{scope}[yshift=1cm,dashed,thick] \pause
|
316
|
316
|
\coordinate (a) at (0,0);
|
317
|
|
- \coordinate (c) at (3,2);(*@\pause @*)
|
318
|
|
- \draw[red] (a)--(b)--(c);(*@\pause @*)
|
319
|
|
- \node[(*@draw@*),circle through=(a)] at (b){};
|
|
317
|
+ \coordinate (c) at (3,2);\pause
|
|
318
|
+ \draw[red] (a)--(b)--(c);\pause
|
|
319
|
+ \node[draw,circle through=(a)] at (b){};
|
320
|
320
|
\end{scope}
|
321
|
321
|
\end{tikzpicture}
|
322
|
322
|
\end{lstlisting}
|
|
@@ -346,7 +346,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
346
|
346
|
\begin{lstlisting}[mathescape=false,frame=none]
|
347
|
347
|
\usetikzlibrary{positioning} % in der Präambel
|
348
|
348
|
\begin{tikzpicture}
|
349
|
|
- \tikzset{tomsbox/.style={rectangle, (*@draw@*),
|
|
349
|
+ \tikzset{tomsbox/.style={rectangle, draw,
|
350
|
350
|
very thick,minimum size=7mm,
|
351
|
351
|
rounded corners=2mm}}
|
352
|
352
|
\node[tomsbox] (1) at (0,0) {$T_1$};
|
|
@@ -382,7 +382,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
382
|
382
|
\begin{column}{0.82\linewidth}
|
383
|
383
|
\begin{lstlisting}[mathescape=false,frame=none]
|
384
|
384
|
\begin{tikzpicture}
|
385
|
|
- \tikzset{tomsbox/.style={rectangle, (*@draw@*),
|
|
385
|
+ \tikzset{tomsbox/.style={rectangle, draw,
|
386
|
386
|
very thick,minimum size=7mm,
|
387
|
387
|
rounded corners=2mm}}
|
388
|
388
|
\node[tomsbox] (1) at (0,0) {$T_1$};
|
|
@@ -552,8 +552,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
552
|
552
|
\begin{column}{0.6\linewidth}
|
553
|
553
|
\small
|
554
|
554
|
\begin{lstlisting}[mathescape=false,frame=none]
|
555
|
|
-\usetikzlibrary{(*@datavisualization@*),
|
556
|
|
- (*@datavisualization@*).formats.functions}
|
|
555
|
+\usetikzlibrary{datavisualization,
|
|
556
|
+ datavisualization.formats.functions}
|
557
|
557
|
\begin{tikzpicture}
|
558
|
558
|
\datavisualization
|
559
|
559
|
[school book axes,
|
|
@@ -754,8 +754,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
754
|
754
|
|
755
|
755
|
\begin{lstlisting}
|
756
|
756
|
\coordinate (O) at (0,0);
|
757
|
|
-\draw[->] (-0.3,0) -- (8,0) (*@coordinate@*)[label = {below:$x$}] (xmax);
|
758
|
|
-\draw[->] (0,-0.3) -- (0,5) (*@coordinate@*)[label = {right:$f(x)$}] (ymax);
|
|
757
|
+\draw[->] (-0.3,0) -- (8,0) coordinate[label = {below:$x$}] (xmax);
|
|
758
|
+\draw[->] (0,-0.3) -- (0,5) coordinate[label = {right:$f(x)$}] (ymax);
|
759
|
759
|
\end{lstlisting}
|
760
|
760
|
|
761
|
761
|
\end{frame}
|
|
@@ -777,7 +777,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
777
|
777
|
\small
|
778
|
778
|
|
779
|
779
|
\begin{lstlisting}
|
780
|
|
-\draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante};
|
|
780
|
+\draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante};
|
781
|
781
|
\draw[red] plot[smooth] coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
782
|
782
|
\end{lstlisting}
|
783
|
783
|
|
|
@@ -813,7 +813,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
813
|
813
|
coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
814
|
814
|
\begin{scope}[name intersections = {of = x and y, name = i}]
|
815
|
815
|
\fill[gray!20] (i-1) -- (i-2 |- i-1) -- (i-2) -- cycle;
|
816
|
|
- \draw (0.3,0.5) -- (6.7,4.7) (*@node@*)[pos=0.8, below right] {Sekante};
|
|
816
|
+ \draw (0.3,0.5) -- (6.7,4.7) node[pos=0.8, below right] {Sekante};
|
817
|
817
|
\draw[red] plot[smooth]
|
818
|
818
|
coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
|
819
|
819
|
\end{scope}
|
|
@@ -847,9 +847,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
847
|
847
|
\begin{lstlisting}
|
848
|
848
|
\begin{scope}[name intersections = {$\dots$}]
|
849
|
849
|
$\dots\quad (\textsl{Wie vorher})$
|
850
|
|
- \draw (i-1) (*@node@*)[label = {above:$\text{\$P\$}$}] {}
|
851
|
|
- -- (*@node@*)[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$}
|
852
|
|
- (i-1 |- O) (*@node@*)[label = {below:$\text{\$x\_0\$}$}] {};
|
|
850
|
+ \draw (i-1) node[label = {above:$\text{\$P\$}$}] {}
|
|
851
|
+ -- node[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$}
|
|
852
|
+ (i-1 |- O) node[label = {below:$\text{\$x\_0\$}$}] {};
|
853
|
853
|
\end{scope}
|
854
|
854
|
\end{lstlisting}
|
855
|
855
|
|
|
@@ -884,8 +884,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
884
|
884
|
\begin{lstlisting}
|
885
|
885
|
\begin{scope}[$\dots$]
|
886
|
886
|
$\dots\quad (\textsl{Wie vorher})$
|
887
|
|
- \path (i-2) (*@node@*)[label = {above:$\text{\$Q\$}$}] {}
|
888
|
|
- -- (i-2 |- i-1) (*@node@*) (i-12) {};
|
|
887
|
+ \path (i-2) node[label = {above:$\text{\$Q\$}$}] {}
|
|
888
|
+ -- (i-2 |- i-1) node (i-12) {};
|
889
|
889
|
\end{scope}
|
890
|
890
|
\end{lstlisting}
|
891
|
891
|
|
|
@@ -920,7 +920,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
920
|
920
|
\begin{scope}[$\dots$]
|
921
|
921
|
$\dots\quad(\textsf{Wie vorher})$
|
922
|
922
|
\draw (i-12) -- (i-12 |- O)
|
923
|
|
- (*@node@*)[label = {below:(*@\$@*)x_0 + \varepsilon(*@\$@*)}] {};
|
|
923
|
+ node[label = {below:\$x_0 + \varepsilon\$}] {};
|
924
|
924
|
\end{scope}
|
925
|
925
|
\end{lstlisting}
|
926
|
926
|
|
|
@@ -957,9 +957,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
957
|
957
|
\begin{scope}[$\dots$]
|
958
|
958
|
$\dots\quad(\textsl{Wie vorher})$
|
959
|
959
|
\draw[blue, <->] (i-2) --
|
960
|
|
- (*@node@*)[right] {(*@\$@*)f(x_0 + \varepsilon) - f(x_0)(*@\$@*)} (i-12);
|
|
960
|
+ node[right] {\$f(x_0 + \varepsilon) - f(x_0)\$} (i-12);
|
961
|
961
|
\draw[blue, <->] (i-1) --
|
962
|
|
- (*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-12);
|
|
962
|
+ node[below] {\$\varepsilon\$} (i-12);
|
963
|
963
|
\end{scope}
|
964
|
964
|
\end{lstlisting}
|
965
|
965
|
|
|
@@ -1000,10 +1000,10 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
1000
|
1000
|
\begin{scope}[$\dots$]
|
1001
|
1001
|
$\dots\quad (\textsl{Wie vorher})$
|
1002
|
1002
|
\path (i-1 |- O) --
|
1003
|
|
- (*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-2 |- O);
|
|
1003
|
+ node[below] {\$\varepsilon\$} (i-2 |- O);
|
1004
|
1004
|
\draw[gray] (i-2) -- (i-2 -| xmax);
|
1005
|
1005
|
\draw[gray, <->] ([xshift = -0.5cm]i-2 -| xmax) --
|
1006
|
|
- (*@node@*)[fill = white] {(*@\$@*)f(x_0 + \varepsilon)(*@\$@*)}
|
|
1006
|
+ node[fill = white] {\$f(x_0 + \varepsilon)\$}
|
1007
|
1007
|
([xshift = -0.5cm]xmax);
|
1008
|
1008
|
\end{scope}
|
1009
|
1009
|
\end{lstlisting}
|
|
@@ -1057,7 +1057,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
|
1057
|
1057
|
\begin{lstlisting}
|
1058
|
1058
|
\begin{tikzpicture}[thick, >=stealth',
|
1059
|
1059
|
dot/.style = {
|
1060
|
|
- (*@draw@*),
|
|
1060
|
+ draw,
|
1061
|
1061
|
fill = white,
|
1062
|
1062
|
circle,
|
1063
|
1063
|
inner sep = 0pt,
|