Skip to content
Snippets Groups Projects
Commit 3511da19 authored by Stefan Heimersheim's avatar Stefan Heimersheim
Browse files

erste seite referenzen

parent cdb34658
No related branches found
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}
......@@ -377,7 +377,6 @@
\\
};
\end{tikzpicture}
\end{frame}
\newcommand{\highlightRed}[1]{{\color{Mahogany}\texttt{\bfseries #1}}}
......@@ -508,7 +507,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