Commit c6bdbb4d authored by Valentin Bruch's avatar Valentin Bruch

presentation: more vspaces; changed language of example 4c to German

parent 9de80002
\begin{equation} \begin{equation}
a^2+b^2=c^2 a^2 + b^2 = c^2
\label{pythagoras} \label{pythagoras}
\end{equation} \end{equation}
As shown in equation Beachte in Gleichung
\ref{pythagoras} ... \ref{pythagoras} ...
egestas vel odio. Dieser Beweis ist dignissim rutrum. Dieser Beweis ist
richtig.\footnote{außer wenn $x>0$} richtig.\footnote{außer wenn $x>0$}
\ No newline at end of file
...@@ -599,50 +599,50 @@ ...@@ -599,50 +599,50 @@
\begin{frame}[fragile]{Labels, Referenzen und Links} \begin{frame}[fragile]{Labels, Referenzen und Links}
\structure{Referenzen} markieren mit \structure{Referenzen} markieren mit
\texttt{\bfseries\color{Mahogany}\textbackslash label}, \texttt{\bfseries\color{Mahogany}\textbackslash label},
verweisen mit \texttt{\bfseries\color{Mahogany}\textbackslash ref}: verweisen mit \texttt{\bfseries\color{Mahogany}\textbackslash ref}:\\[2pt]
\begin{tikzpicture} \hspace*{-6pt}\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] { \node[matrix, column sep=3pt, row sep=8pt] {
\node{ \node{
\begin{minipage}[t][10mm][c]{.28\textwidth} \begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize} \begin{itemize}
\item Gleichungen, Sections, Figures und vieles mehr! \item Gleichungen, Sections, Figures und vieles mehr!
\end{itemize} \end{itemize}
\end{minipage} \end{minipage}
}; & }; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.3\textwidth} \begin{minipage}[t][26mm][c]{.3\textwidth}
\lstinputlisting{examples/4a.tex} \lstinputlisting{examples/4a.tex}
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.25\textwidth} \begin{minipage}[t][26mm][c]{.25\textwidth}
\input{examples/4a.tex} \input{examples/4a.tex}
\end{minipage} \end{minipage}
}; };
\\ \\
\node{ \node{
\begin{minipage}[t][10mm][c]{.28\textwidth} \begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize} \begin{itemize}
\item \highlightRed{\bsl ref} darf auch vor vor dem \highlightRed{\bsl \item \highlightRed{\bsl ref} darf auch vor vor dem
label} stehen \highlightRed{\bsl label} stehen
\end{itemize} \end{itemize}
\end{minipage} \end{minipage}
}; & }; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.3\textwidth} \begin{minipage}[t][26mm][c]{.3\textwidth}
\lstinputlisting{examples/4b.tex} \lstinputlisting{examples/4b.tex}
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.25\textwidth} \begin{minipage}[t][26mm][c]{.25\textwidth}
\includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/4b_fake.png} \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/4b_fake.png}
\end{minipage} \end{minipage}
}; };
\\ \\
}; };
\end{tikzpicture} \end{tikzpicture}
\end{frame} \end{frame}
\begin{frame}[fragile]{Verschiedenes} \begin{frame}[fragile]{Verschiedenes}
...@@ -652,26 +652,27 @@ ...@@ -652,26 +652,27 @@
irgendwo: irgendwo:
\end{itemize} \end{itemize}
\begin{center} \begin{center}
\vspace{-6pt} \vspace{-8pt}
\begin{tikzpicture} \begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] { \node[matrix, column sep=4pt, row sep=0pt] {
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.5\textwidth} \begin{minipage}[t][24mm][c]{.5\textwidth}
\lstinputlisting{examples/4c.tex} \lstinputlisting{examples/4c.tex}
\end{minipage} \end{minipage}
}; & }; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & \node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{ \node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.3\textwidth} \begin{minipage}[t][24mm][c]{.3\textwidth}
\includegraphics[width=1\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/4c_fake.png} \includegraphics[width=1\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/4c_fake.png}
\end{minipage} \end{minipage}
};
\\
}; };
\\ \end{tikzpicture}
}; \vspace{-8pt}
\end{tikzpicture}
\vspace{-6pt}
\end{center} \end{center}
\structure{URLs:} \highlightRed{\textbackslash url}\verb+{http://fsmpi.eu/latex}+ \\ \structure{URLs:}
\highlightRed{\textbackslash url}\verb+{http://fsmpi.eu/latex}+ \\[2pt]
\structure{Besondere Zeichen} \structure{Besondere Zeichen}
\begin{itemize} \begin{itemize}
\item {\bfseries\color{MidnightBlue}\%, "{}}: \texttt{\textbackslash\%}, \verb+"{}+ \item {\bfseries\color{MidnightBlue}\%, "{}}: \texttt{\textbackslash\%}, \verb+"{}+
...@@ -687,7 +688,7 @@ ...@@ -687,7 +688,7 @@
\begin{frame}[fragile]{Präambel} \begin{frame}[fragile]{Präambel}
\begin{columns} \begin{columns}
\begin{column}{0.4\textwidth} \begin{column}{0.45\textwidth}
\structure{Die \glqq{Präambel}\grqq} wird benutzt für \\[3pt] \structure{Die \glqq{Präambel}\grqq} wird benutzt für \\[3pt]
\begin{itemize} \begin{itemize}
\item Dokumententyp: \\ \item Dokumententyp: \\
...@@ -699,14 +700,16 @@ ...@@ -699,14 +700,16 @@
\item \highlightRed{\textbackslash{}begin}\verb+{document}+ \\ \item \highlightRed{\textbackslash{}begin}\verb+{document}+ \\
\highlightRed{\textbackslash{}end}\verb+{document}+ \highlightRed{\textbackslash{}end}\verb+{document}+
\end{itemize} \end{itemize}
\vspace{12pt}
\end{column} \end{column}
\hspace{10pt} \hspace{10pt}
\begin{column}{0.05\textwidth} \begin{column}{0.05\textwidth}
{\only<1>{\color{RoyalBlue}}\only<2>{\color{Green}}\rule{0.5pt}{0.8\textheight}} {\only<1>{\color{RoyalBlue}}\only<2>{\color{Green}}\rule{0.5pt}{0.8\textheight}}
\end{column} \end{column}
\begin{column}{0.55\textwidth} \begin{column}{0.45\textwidth}
\vspace*{-20pt}
\only<1>{\lstinputlisting[basicstyle=\tiny\ttfamily]{examples/preamble.tex}} \only<1>{\lstinputlisting[basicstyle=\tiny\ttfamily]{examples/preamble.tex}}
\only<2>{\vspace{-.5em}\includegraphics[width=0.8\textwidth]{examples/preamble.pdf}} \only<2>{\includegraphics[width=\textwidth]{examples/preamble.pdf}\vspace{-10pt}}
\end{column} \end{column}
\hspace{-10pt} \hspace{-10pt}
\end{columns} \end{columns}
......
#!/bin/make -f #!/bin/make -f
EXAMPLES = examples/2h_fake.pdf examples/tabular.pdf examples/figure.pdf examples/preamble.pdf EXAMPLES = examples/2h_fake.pdf examples/tabular.pdf examples/figure.pdf examples/preamble.pdf
EXAMPLE_INPUTS = $(wildcard examples/*.tex)
latex.pdf: latex.tex $(EXAMPLES) latex.pdf: latex.tex $(EXAMPLES) $(EXAMPLE_INPUTS)
latexmk -lualatex latex.tex latexmk -lualatex latex.tex
notes.pdf: latex.tex $(EXAMPLES) notes.pdf: latex.tex $(EXAMPLES) $(EXAMPLE_INPUTS)
latexmk -lualatex notes.tex latexmk -lualatex notes.tex
examples/2h_fake.pdf: examples/2h_fake.tex
cd examples; latexmk --lualatex 2h_fake.tex
#
#examples/tabular.pdf: examples/tabular.tex
# cd examples; latexmk --lualatex tabular.tex
#
#examples/figure.pdf: examples/figure.tex
# cd examples; latexmk --lualatex figure.tex
#
#examples/preamble.pdf: examples/preamble.tex
# cd examples; latexmk --lualatex preamble.tex
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment