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
10ee8735
Commit
10ee8735
authored
May 23, 2019
by
Stefan Heimersheim
Browse files
sections
parent
39a89976
Changes
5
Hide whitespace changes
Inline
Side-by-side
workshops/latex/compile.sh
View file @
10ee8735
#!/bin/bash
cd
examples
for
i
in
$(
ls
*
.tex
)
do
pdflatex
$i
rm
$i
.aux
rm
$i
.log
done
lualatex 2h_fake.tex
cd
..
pdf
latex latex.tex
pdf
latex latex.tex
lua
latex latex.tex
lua
latex latex.tex
workshops/latex/examples/2h.tex
View file @
10ee8735
\section
{
Haupttitel
}
\subsection
{
Subtitel
}
\subsubsection
{
...
}
\paragraph
{
Paragraph
}
\section
{
Erster Teil
}
\subsection
{
Teil 1a
}
\subsection
{
Teil 1b
}
\section
{
Zweriter Teil
}
\subsection
{
Teil 2a
}
\section*
{
Versteckt
}
\section
{
Weiterer Teil
}
\ No newline at end of file
workshops/latex/examples/2h_fake.pdf
0 → 100644
View file @
10ee8735
File added
workshops/latex/examples/2h_fake.tex
0 → 100644
View file @
10ee8735
\documentclass
[12pt,a5paper]
{
article
}
\usepackage
{
geometry
}
\begin{document}
\tableofcontents
\vspace
{
24pt
}
\noindent\hrulefill
\vspace
{
12pt
}
\section
{
Erster Teil
}
\subsection
{
Teil 1a
}
\subsection
{
Teil 1b
}
\section
{
Zweriter Teil
}
\subsection
{
Teil 2a
}
\section*
{
Versteckt
}
\section
{
Weiterer Teil
}
\end{document}
workshops/latex/latex.tex
View file @
10ee8735
...
...
@@ -298,35 +298,41 @@
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
}
;
\end{tikzpicture}
\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{itemize}
\item
Überschriften (automatisch)
\item
Überschriften (automatisch
numeriert
)
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][
1
0mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2h.tex
}
\begin{minipage}
[t][
2
0mm][c]
{
.3
\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][
1
0mm][c]
{
.25
\textwidth
}
Foto
\begin{minipage}
[t][
5
0mm][c]
{
.25
\textwidth
}
\includegraphics
[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]
{
examples/2h
_
fake.pdf
}
\end{minipage}
}
;
\\
}
;
\end{tikzpicture}
\end{frame}
\begin{frame}
[fragile]
{
Abschnitte und Umgebungen
}
\structure
{
Umgebungen:
}
%TODO Überschriften verbessen
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
{
...
...
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