Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
talks
Commits
3511da19
Commit
3511da19
authored
May 23, 2019
by
Stefan Heimersheim
Browse files
erste seite referenzen
parent
cdb34658
Changes
6
Hide whitespace changes
Inline
Side-by-side
workshops/latex/compile.sh
View file @
3511da19
#!/bin/bash
cd
examples
lualatex 2h_fake.tex
#lualatex 4b_fake.tex
#screenshot
cd
..
lualatex latex.tex
lualatex latex.tex
workshops/latex/examples/4a.tex
0 → 100644
View file @
3511da19
\begin{equation}
a
^
2+b
^
2=c
^
2
\label
{
pythagoras
}
\end{equation}
As shown in equation
\ref
{
pythagoras
}
...
workshops/latex/examples/4b.tex
0 → 100644
View file @
3511da19
Wie wir in
Abschnitt
\ref
{
proof
}
zeigen werden.
\section
{
Beweise
}
\label
{
proof
}
workshops/latex/examples/4b_fake.png
0 → 100644
View file @
3511da19
10.3 KB
workshops/latex/examples/4b_fake.tex
0 → 100644
View file @
3511da19
\documentclass
{
article
}
\usepackage
{
hyperref
}
\begin{document}
\noindent
Wie wir in
Abschnitt
\ref
{
beweise
}
\\
zeigen werden.
\section
{
Beweise
}
\label
{
beweise
}
\end{document}
workshops/latex/latex.tex
View file @
3511da19
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment