Merge branch 'master' of cknoll/latex-course into master

Some issues arose with the example tikz code containing mathematics.  These have been fixed by properly escaping all troubling symbols.
This commit is contained in:
Daniel 2018-11-04 07:01:48 +01:00 committed by Gitea
commit 8ce76dface
1 changed files with 5 additions and 5 deletions

View File

@ -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:$\text{\${}x\_0 + \textbackslash{}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] {$\text{\${}f(x\_0 + \textbackslash{}varepsilon - f(x\_0) )\$}$} (i-12);
\draw[blue, <->] (i-1) --
node[below] {\$\varepsilon\$} (i-12);
node[below] {$\text{\${}\textbackslash{}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] {$\text{\$\textbackslash{}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] {$\text{\${}f(x\_0) + \textbackslash{}varepsilon\$}$}
([xshift = -0.5cm]xmax);
\end{scope}
\end{lstlisting}