diff --git a/workshops/latex/examples/2h.tex b/workshops/latex/examples/2h.tex index c002e1c55979b8422c58b9becea7571aef06a8b5..1089baa87675bf9160da0d1573f8555b4bc321f3 100644 --- a/workshops/latex/examples/2h.tex +++ b/workshops/latex/examples/2h.tex @@ -1,7 +1,7 @@ \section{Erster Teil} \subsection{Teil 1a} \subsection{Teil 1b} -\section{Zweriter Teil} +\section{Zweiter Teil} \subsection{Teil 2a} \section*{Versteckt} -\section{Weiterer Teil} \ No newline at end of file +\section{Weiterer Teil} diff --git a/workshops/latex/examples/2h_fake.pdf b/workshops/latex/examples/2h_fake.pdf index 2bbe9113e1312ce92cc880a7e99e4655f60b7bba..0336b5a6e414522feeb226a7f3faac088f0f1d00 100644 Binary files a/workshops/latex/examples/2h_fake.pdf and b/workshops/latex/examples/2h_fake.pdf differ diff --git a/workshops/latex/examples/2h_fake.tex b/workshops/latex/examples/2h_fake.tex index 50f0a71c57393f78be04273eead1fd2e219b9e68..1042fb7913e2606432f3b72b84cf09192dff027b 100644 --- a/workshops/latex/examples/2h_fake.tex +++ b/workshops/latex/examples/2h_fake.tex @@ -8,7 +8,7 @@ \section{Erster Teil} \subsection{Teil 1a} \subsection{Teil 1b} -\section{Zweriter Teil} +\section{Zweiter Teil} \subsection{Teil 2a} \section*{Versteckt} \section{Weiterer Teil} diff --git a/workshops/latex/latex.tex b/workshops/latex/latex.tex index 547252d2c621eefbc5e6ef1868950f4ff25ed695..2b8eae2521dc3f2a3d0f7d626b63ef03f5acdd05 100644 --- a/workshops/latex/latex.tex +++ b/workshops/latex/latex.tex @@ -227,7 +227,6 @@ \end{tikzpicture} \end{frame} - \begin{frame}[fragile]{Formatierung} \structure{Schrifteinstellungen:} \vskip-\baselineskip% @@ -302,26 +301,27 @@ \end{frame} \begin{frame}[fragile]{Abschnitte} -\begin{columns} - \begin{column}{0.4\textwidth} - \structure{section, subsection, subsubsection:} - \begin{itemize} - \item Überschriften (automatisch nummeriert) - \begin{tikzpicture} - \node[draw=blue!20!lightgray, line width=2pt]{ - \begin{minipage}[t][22mm][c]{0.7\textwidth} - \lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex} - \end{minipage} - }; - \end{tikzpicture} - \item Inhaltsverzeichnis (automatisch erstellt) - \texttt{\textbackslash tableofcontents} - \end{itemize} - \end{column} - \begin{column}{0.5\textwidth} - \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf} - \end{column} -\end{columns} + \begin{columns} + \begin{column}{0.48\textwidth} + \structure{section, subsection, subsubsection:} + \begin{itemize} + \item Überschriften\\(automatisch nummeriert)\\[2pt] + \begin{tikzpicture} + \node[draw=blue!20!lightgray, line width=2pt]{ + \begin{minipage}[t][22mm][c]{0.7\textwidth} + \lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex} + \end{minipage} + }; + \end{tikzpicture} + \item Inhaltsverzeichnis\\(automatisch erstellt)\\[2pt] + \texttt{\textbackslash tableofcontents} + \end{itemize} + \vspace*{24pt} + \end{column} + \begin{column}{0.5\textwidth} + \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf} + \end{column} + \end{columns} \end{frame} \begin{frame}[fragile]{Umgebungen} @@ -385,13 +385,13 @@ \item \highlightBlu{equation}{\bfseries:} Vom Text abgesetzte Gleichung \\[10pt] \item \highlightBlu{align}{\bfseries:} Wie \highlightBlu{equation}, nur dass man an \highlightRed{\&} - \glqq tabben\grqq\ kann \\[10pt] - \item Wie bei z.\,B. \highlightRed{\textbackslash section*\{...\}} auch - hier \highlightRed{*} für - nicht-nummerierte Gleichungen, also \highlightRed{\textbackslash begin\{}% + ausrichten kann \\[10pt] + \item Wie bei z.\,B. \highlightRed{\textbackslash section*\{...\}} auch:\\ + \highlightBlu{*} für nicht-nummerierte Gleichungen, also + \highlightRed{\textbackslash begin\{}% \highlightBlu{align*}\highlightRed{\}} \\[10pt] \end{itemize} - \structure{Im Textfluss} kann man Gleichungen mit \highlightRed{\$ ... \$} + \structure{Im Textfluss} kann man Gleichungen mit \highlightRed{\$...\$} schreiben, also z.\,B. \begin{center} \begin{tikzpicture} @@ -516,7 +516,7 @@ \begin{frame}[fragile]{Bilder \& Tabellen} \begin{itemize} \item \highlightRed{\textbackslash% - includegraphics}\texttt{[optional]}\highlightRed{\{\}}, um Bilder + includegraphics}\texttt{[optional]}\highlightRed{\{...\}}, um Bilder einzubinden (bspw. \texttt{width=0.9\textbackslash textwidth} als Option) \begin{tikzpicture} \node[matrix,column sep=4pt, row sep=6pt] {