diff --git a/workshops/latex/latex.tex b/workshops/latex/latex.tex index b9f95e947f5f9371c2970c150a53894a576fd8f7..083952d455ef76feaadfb609dd3406370fd31b6c 100644 --- a/workshops/latex/latex.tex +++ b/workshops/latex/latex.tex @@ -113,7 +113,7 @@ (2pt,-15pt) rectangle (\textwidth-2pt, -.4\textwidth+2pt); \node[anchor=north west] at (0pt, 0pt) {PDF viewer: HelloWorld.pdf}; \node[anchor=north west] at (2pt, -15pt) {\parbox[t][.4\textwidth-27pt][c]{\textwidth-12pt}{% - \hspace{.1\textwidth}Hallo Welt! + \hspace{.1\textwidth}$\mathrm{Hallo\ Welt!}$ }}; \end{tikzpicture} \end{column} @@ -394,7 +394,24 @@ \highlightBlu{align*}\highlightRed{\}} \end{itemize} \structure{Im Textfluss} kann man Gleichungen mit \highlightRed{\$ ... \$} - schreiben. + schreiben, also z.\,B. + \begin{center} + \begin{tikzpicture} + \node[matrix, column sep=4pt, row sep=6pt] { + \node[draw=blue!20!lightgray,line width=2pt]{ + \begin{minipage}[t][7mm][c]{.45\textwidth} + \texttt{Gleichung: \highlightRed{\$x\^\ 2 = 25\$}} + \end{minipage} + };& + \node{\includegraphics[width=12pt]{figures/texstudio-compile.pdf}};& + \node[draw=blue!20!lightgray,line width=2pt]{ + \begin{minipage}[t][7mm][c]{.3\textwidth} + \textrm{Gleichung: $x^2 = 25$} + \end{minipage} + };\\ + }; + \end{tikzpicture} + \end{center} \end{frame} \begin{frame}[fragile]{Mathematik -- Beispiele}