Skip to content
Snippets Groups Projects
Commit 72388a78 authored by Lennart Klebl's avatar Lennart Klebl
Browse files

Merge branch 'master' of git.fsmpi.rwth-aachen.de:osak/talks

parents c0cf444c 21da24f2
Branches
No related tags found
No related merge requests found
#!/bin/bash
cd examples
lualatex 2h_fake.tex
#lualatex 4b_fake.tex
#screenshot
cd ..
lualatex latex.tex
lualatex latex.tex
\begin{equation}
a^2+b^2=c^2
\label{pythagoras}
\end{equation}
As shown in equation
\ref{pythagoras} ...
Wie wir in
Abschnitt \ref{proof}
zeigen werden.
\section{Beweise}
\label{proof}
workshops/latex/examples/4b_fake.png

10.3 KiB

\documentclass{article}
\usepackage{hyperref}
\begin{document}
\noindent
Wie wir in
Abschnitt \ref{beweise}\\
zeigen werden.
\section{Beweise}
\label{beweise}
\end{document}
......@@ -305,34 +305,28 @@
\end{frame}
\begin{frame}[fragile]{Sections}
\structure{Sections:}
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node{
\begin{minipage}[t][20mm][c]{.28\textwidth}
\begin{columns}
\begin{column}{0.4\textwidth}
\structure{Sections}
\begin{itemize}
\item Überschriften (automatisch numeriert)
\end{itemize}
\end{minipage}
}; &
\item Überschriften (automatisch numeriert):
\begin{tikzpicture}
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][20mm][c]{.3\textwidth}
\begin{minipage}[t][22mm][c]{0.7\textwidth}
\lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][50mm][c]{.25\textwidth}
\includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf}
\end{minipage}
};
\\
};
\end{tikzpicture}
\item Inhaltsverzeichnis (automatisch):
\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}
\end{frame}
\begin{frame}[fragile]{Abschnitte und Umgebungen}
\structure{Umgebungen:}
\begin{tikzpicture}
......@@ -377,7 +371,6 @@
\\
};
\end{tikzpicture}
\end{frame}
\newcommand{\highlightRed}[1]{{\color{Mahogany}\texttt{\bfseries #1}}}
......@@ -555,7 +548,50 @@
\end{itemize}
\end{frame}
\begin{frame}{Referenzen}
\begin{frame}[fragile]{Labels, Referenzen und Links}
\structure{Referenzen} mit \texttt{label} und \texttt{ref}:
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item Gleichungen, Sections, Figures und vieles mehr!
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.3\textwidth}
\lstinputlisting{examples/4a.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.25\textwidth}
\input{examples/4a.tex}
\end{minipage}
};
\\
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item \texttt{ref} darf auch vor \texttt{label}
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.3\textwidth}
\lstinputlisting{examples/4b.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][30mm][c]{.25\textwidth}
\includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/4b_fake.png}
\end{minipage}
};
\\
};
\end{tikzpicture}
\end{frame}
\begin{frame}{Präambel}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment