Disable quoting via (*@…@*)

Signed-off-by: Daniel Borchmann <daniel@algebra20.de>
This commit is contained in:
Daniel - 2016-12-27 21:42:08 +01:00
parent 0cd750b32d
commit 3e177ab699
Signed by: dbo
GPG Key ID: 455E361001FF778F
7 changed files with 47 additions and 65 deletions

View File

@ -32,11 +32,6 @@
numbers=none, numbers=none,
numberstyle=\tiny, numberstyle=\tiny,
stepnumber=1, 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} \RequirePackage{etoolbox}

View File

@ -48,7 +48,7 @@ folgenden Inhalt:
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[backend=bibtex, \usepackage[backend=bibtex,
style=numeric-comp, backref=false, style=numeric-comp, backref=false,
(*@autocite@*)=footnote, maxnames=2, autocite=footnote, maxnames=2,
isbn=true]{biblatex} isbn=true]{biblatex}
\addbibresource{meineBuecher.bib} \addbibresource{meineBuecher.bib}
\title{Mein Werk} \title{Mein Werk}

View File

@ -59,16 +59,16 @@ unterschiedliche Verhalten von \lstinline|uncover|, \lstinline|visible|,
und \lstinline|only| zu verstehen. und \lstinline|only| zu verstehen.
\item Lade das Paket \texttt{listings} und füge folgendes \lstinline|frame| hinzu: \item Lade das Paket \texttt{listings} und füge folgendes \lstinline|frame| hinzu:
\begin{lstlisting} \begin{lstlisting}
\begin{frame}[fragile] \begin{frame}[fragile]
\begin{lstlisting}[language=C] \begin{lstlisting}[language=C]
#include <stdio.h> #include <stdio.h>
main(){ main(){
printf("Hello World"); printf("Hello World");
} }
\end{(*@{lstlisting}{@*)} \end{lstlisting}
\end{frame} \end{frame}
\end{lstlisting} \end{lstlisting}
Man kann also leicht Quellcode darstellen. Man kann also leicht Quellcode darstellen.
\item Lade das Paket \texttt{tikz} und füge das folgende \item Lade das Paket \texttt{tikz} und füge das folgende
\lstinline|frame| hinzu: \lstinline|frame| hinzu:

View File

@ -187,19 +187,6 @@
\RequirePackage{listings} \RequirePackage{listings}
\lstset{language=[LaTeX]TeX, basicstyle=\ttfamily, \lstset{language=[LaTeX]TeX, basicstyle=\ttfamily,
keywordstyle={\color{blue}\bfseries}, frame=tb, extendedchars=true, literate=% keywordstyle={\color{blue}\bfseries}, frame=tb, extendedchars=true, literate=%
{ä}{{\"a}}1 {ö}{{\"o}}1, escapeinside={(*@}{@*)}, mathescape=true, {ä}{{\"a}}1 {ö}{{\"o}}1, mathescape=true,
basewidth=0.5em, keywordstyle={\color{blue}}, basewidth=0.5em, keywordstyle={},
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,
},
} }

View File

@ -42,7 +42,7 @@
Brief, \dots) Brief, \dots)
\item<+-> Wird (im allgemeinen) als erstes im Dokument angegeben mittels \item<+-> Wird (im allgemeinen) als erstes im Dokument angegeben mittels
\begin{lstlisting} \begin{lstlisting}
\documentclass{(*@\textit{dokumentenklasse}@*)} \documentclass{\textit{dokumentenklasse}}
\end{lstlisting} \end{lstlisting}
\item<+-> Beispiele (jeweils nur eins davon!): \item<+-> Beispiele (jeweils nur eins davon!):
\begin{lstlisting} \begin{lstlisting}
@ -92,7 +92,7 @@
\item<+-> Pakete werden eingebunden mittels \item<+-> Pakete werden eingebunden mittels
\begin{lstlisting} \begin{lstlisting}
\usepackage[(*@\textit{option}@*)]{(*@\textit{paketname}@*)} \usepackage[\textit{option}]{\textit{paketname}}
\end{lstlisting} \end{lstlisting}
Zum Beispiel Zum Beispiel
\begin{lstlisting} \begin{lstlisting}

View File

@ -175,7 +175,7 @@
\item Einbinden von Graphiken in \LaTeX\ mit Hilfe des Pakets \texttt{graphicx} \item Einbinden von Graphiken in \LaTeX\ mit Hilfe des Pakets \texttt{graphicx}
\item Befehl \item Befehl
\begin{lstlisting} \begin{lstlisting}
\includegraphics[(*@\textit{Optionen}@*)]{(*@\textit{Bildname}@*)} \includegraphics[\textit{Optionen}]{\textit{Bildname}}
\end{lstlisting} \end{lstlisting}
\end{itemize} \end{itemize}

View File

@ -1,4 +1,4 @@
\documentclass{latexkurs} \documentclass[handout]{latexkurs}
\subtitle{Grafiken erstellen mit \LaTeX{}} \subtitle{Grafiken erstellen mit \LaTeX{}}
\date{\dateSeventhLecture} \date{\dateSeventhLecture}
@ -143,8 +143,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{column}{0.7\linewidth} \begin{column}{0.7\linewidth}
\begin{lstlisting}[frame=none] \begin{lstlisting}[frame=none]
\begin{tikzpicture} \begin{tikzpicture}
\draw[red] (0,0) -- (2,3); (*@\pause @*) \draw[red] (0,0) -- (2,3); \pause
\draw[thick,blue] (1,1) -- (1,3); (*@\pause @*) \draw[thick,blue] (1,1) -- (1,3); \pause
\draw[step=.3] (0,0) grid (3,3); \draw[step=.3] (0,0) grid (3,3);
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -169,8 +169,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{column}{0.7\linewidth} \begin{column}{0.7\linewidth}
\begin{lstlisting}[frame=none] \begin{lstlisting}[frame=none]
\begin{tikzpicture}[step=0.3] \begin{tikzpicture}[step=0.3]
\draw[red,->] (0,0) -- (2,3); (*@\pause @*) \draw[red,->] (0,0) -- (2,3); \pause
\draw[blue,dashed] (1,1) -- (1,3); (*@\pause @*) \draw[blue,dashed] (1,1) -- (1,3); \pause
\draw[dotted] (0,0) grid (3,3); \draw[dotted] (0,0) grid (3,3);
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -199,8 +199,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{column}{0.7\linewidth} \begin{column}{0.7\linewidth}
\begin{lstlisting}[frame=none] \begin{lstlisting}[frame=none]
\begin{tikzpicture}[scale=0.8,step=0.4] \begin{tikzpicture}[scale=0.8,step=0.4]
\draw[red!50,thick,<<-] (0,0) -- (2,3); (*@\pause @*) \draw[red!50,thick,<<-] (0,0) -- (2,3); \pause
\draw[line width=4pt,blue] (1,1) -- (0,2); (*@\pause @*) \draw[line width=4pt,blue] (1,1) -- (0,2); \pause
\draw[dotted] (0,0) grid (3,3); \draw[dotted] (0,0) grid (3,3);
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -228,9 +228,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting}[frame=none] \begin{lstlisting}[frame=none]
\begin{tikzpicture}[step=0.3] \begin{tikzpicture}[step=0.3]
\tikzset{every node/.style={below}} \tikzset{every node/.style={below}}
\draw[red] (0,0) -- (2,3) node[above] {a}; (*@\pause @*) \draw[red] (0,0) -- (2,3) node[above] {a}; \pause
\draw[blue,dashed] (1,1) rectangle (2,2); (*@\pause @*) \draw[blue,dashed] (1,1) rectangle (2,2); \pause
\draw[dotted] (0,0) node {0} grid (3,3); (*@\pause @*) \draw[dotted] (0,0) node {0} grid (3,3); \pause
\draw[fill,opacity=0.3] (1,1) circle(1); \draw[fill,opacity=0.3] (1,1) circle(1);
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -270,9 +270,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\coordinate (c) at (1,1); \coordinate (c) at (1,1);
\coordinate (d) at (3,2); \coordinate (d) at (3,2);
\draw[blue] (a) -- (d); \draw[blue] (a) -- (d);
\draw (a)..controls (b) and (c)..(d); (*@\pause @*) \draw (a)..controls (b) and (c)..(d); \pause
\draw[green,bend left=30] (a) to (d); (*@\pause @*) \draw[green,bend left=30] (a) to (d); \pause
\draw[red,out=90, in=-90] (a) to (d); (*@\pause @*) \draw[red,out=90, in=-90] (a) to (d); \pause
\draw ($(a)!0.5!(d)$) ellipse(1 and 0.5); \draw ($(a)!0.5!(d)$) ellipse(1 and 0.5);
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -310,13 +310,13 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\coordinate (a) at (0,0); \coordinate (a) at (0,0);
\coordinate (b) at (1,1); \coordinate (b) at (1,1);
\coordinate (c) at (3,2); \coordinate (c) at (3,2);
\draw[blue] (a) -- (c);(*@\pause @*) \draw[blue] (a) -- (c);\pause
\draw (a)--(b)--(c);(*@\pause @*) \draw (a)--(b)--(c);\pause
\begin{scope}[yshift=1cm,dashed,thick] (*@\pause @*) \begin{scope}[yshift=1cm,dashed,thick] \pause
\coordinate (a) at (0,0); \coordinate (a) at (0,0);
\coordinate (c) at (3,2);(*@\pause @*) \coordinate (c) at (3,2);\pause
\draw[red] (a)--(b)--(c);(*@\pause @*) \draw[red] (a)--(b)--(c);\pause
\node[(*@draw@*),circle through=(a)] at (b){}; \node[draw,circle through=(a)] at (b){};
\end{scope} \end{scope}
\end{tikzpicture} \end{tikzpicture}
\end{lstlisting} \end{lstlisting}
@ -346,7 +346,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting}[mathescape=false,frame=none] \begin{lstlisting}[mathescape=false,frame=none]
\usetikzlibrary{positioning} % in der Präambel \usetikzlibrary{positioning} % in der Präambel
\begin{tikzpicture} \begin{tikzpicture}
\tikzset{tomsbox/.style={rectangle, (*@draw@*), \tikzset{tomsbox/.style={rectangle, draw,
very thick,minimum size=7mm, very thick,minimum size=7mm,
rounded corners=2mm}} rounded corners=2mm}}
\node[tomsbox] (1) at (0,0) {$T_1$}; \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{column}{0.82\linewidth}
\begin{lstlisting}[mathescape=false,frame=none] \begin{lstlisting}[mathescape=false,frame=none]
\begin{tikzpicture} \begin{tikzpicture}
\tikzset{tomsbox/.style={rectangle, (*@draw@*), \tikzset{tomsbox/.style={rectangle, draw,
very thick,minimum size=7mm, very thick,minimum size=7mm,
rounded corners=2mm}} rounded corners=2mm}}
\node[tomsbox] (1) at (0,0) {$T_1$}; \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} \begin{column}{0.6\linewidth}
\small \small
\begin{lstlisting}[mathescape=false,frame=none] \begin{lstlisting}[mathescape=false,frame=none]
\usetikzlibrary{(*@datavisualization@*), \usetikzlibrary{datavisualization,
(*@datavisualization@*).formats.functions} datavisualization.formats.functions}
\begin{tikzpicture} \begin{tikzpicture}
\datavisualization \datavisualization
[school book axes, [school book axes,
@ -754,8 +754,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting} \begin{lstlisting}
\coordinate (O) at (0,0); \coordinate (O) at (0,0);
\draw[->] (-0.3,0) -- (8,0) (*@coordinate@*)[label = {below:$x$}] (xmax); \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,-0.3) -- (0,5) coordinate[label = {right:$f(x)$}] (ymax);
\end{lstlisting} \end{lstlisting}
\end{frame} \end{frame}
@ -777,7 +777,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\small \small
\begin{lstlisting} \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)}; \draw[red] plot[smooth] coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
\end{lstlisting} \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)}; coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
\begin{scope}[name intersections = {of = x and y, name = i}] \begin{scope}[name intersections = {of = x and y, name = i}]
\fill[gray!20] (i-1) -- (i-2 |- i-1) -- (i-2) -- cycle; \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] \draw[red] plot[smooth]
coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)}; coordinates {(-0.3,2) (2,1.5) (4,2.8) (6,5)};
\end{scope} \end{scope}
@ -847,9 +847,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting} \begin{lstlisting}
\begin{scope}[name intersections = {$\dots$}] \begin{scope}[name intersections = {$\dots$}]
$\dots\quad (\textsl{Wie vorher})$ $\dots\quad (\textsl{Wie vorher})$
\draw (i-1) (*@node@*)[label = {above:$\text{\$P\$}$}] {} \draw (i-1) node[label = {above:$\text{\$P\$}$}] {}
-- (*@node@*)[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$} -- node[left,yshift=-3pt] {$\text{\$f(x\_0)\$}$}
(i-1 |- O) (*@node@*)[label = {below:$\text{\$x\_0\$}$}] {}; (i-1 |- O) node[label = {below:$\text{\$x\_0\$}$}] {};
\end{scope} \end{scope}
\end{lstlisting} \end{lstlisting}
@ -884,8 +884,8 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting} \begin{lstlisting}
\begin{scope}[$\dots$] \begin{scope}[$\dots$]
$\dots\quad (\textsl{Wie vorher})$ $\dots\quad (\textsl{Wie vorher})$
\path (i-2) (*@node@*)[label = {above:$\text{\$Q\$}$}] {} \path (i-2) node[label = {above:$\text{\$Q\$}$}] {}
-- (i-2 |- i-1) (*@node@*) (i-12) {}; -- (i-2 |- i-1) node (i-12) {};
\end{scope} \end{scope}
\end{lstlisting} \end{lstlisting}
@ -920,7 +920,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{scope}[$\dots$] \begin{scope}[$\dots$]
$\dots\quad(\textsf{Wie vorher})$ $\dots\quad(\textsf{Wie vorher})$
\draw (i-12) -- (i-12 |- O) \draw (i-12) -- (i-12 |- O)
(*@node@*)[label = {below:(*@\$@*)x_0 + \varepsilon(*@\$@*)}] {}; node[label = {below:\$x_0 + \varepsilon\$}] {};
\end{scope} \end{scope}
\end{lstlisting} \end{lstlisting}
@ -957,9 +957,9 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{scope}[$\dots$] \begin{scope}[$\dots$]
$\dots\quad(\textsl{Wie vorher})$ $\dots\quad(\textsl{Wie vorher})$
\draw[blue, <->] (i-2) -- \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) -- \draw[blue, <->] (i-1) --
(*@node@*)[below] {(*@\$@*)\varepsilon(*@\$@*)} (i-12); node[below] {\$\varepsilon\$} (i-12);
\end{scope} \end{scope}
\end{lstlisting} \end{lstlisting}
@ -1000,10 +1000,10 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{scope}[$\dots$] \begin{scope}[$\dots$]
$\dots\quad (\textsl{Wie vorher})$ $\dots\quad (\textsl{Wie vorher})$
\path (i-1 |- O) -- \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] (i-2) -- (i-2 -| xmax);
\draw[gray, <->] ([xshift = -0.5cm]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); ([xshift = -0.5cm]xmax);
\end{scope} \end{scope}
\end{lstlisting} \end{lstlisting}
@ -1057,7 +1057,7 @@ Kann zum Beispiel in \texttt{figure} Umgebung eingebettet werden.
\begin{lstlisting} \begin{lstlisting}
\begin{tikzpicture}[thick, >=stealth', \begin{tikzpicture}[thick, >=stealth',
dot/.style = { dot/.style = {
(*@draw@*), draw,
fill = white, fill = white,
circle, circle,
inner sep = 0pt, inner sep = 0pt,