Sfoglia il codice sorgente

Fix some strange problems in {lstlisting}-envs

master
Carsten Knoll 2 anni fa
parent
commit
82279af4f3
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5
    5
      lectures/lecture-06-TiKZ.tex

+ 5
- 5
lectures/lecture-06-TiKZ.tex Vedi File

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

Loading…
Annulla
Salva