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

sections

parent 39a89976
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
cd examples cd examples
for i in $(ls *.tex) lualatex 2h_fake.tex
do
pdflatex $i
rm $i.aux
rm $i.log
done
cd .. cd ..
pdflatex latex.tex lualatex latex.tex
pdflatex latex.tex lualatex latex.tex
\section{Haupttitel} \section{Erster Teil}
\subsection{Subtitel} \subsection{Teil 1a}
\subsubsection{...} \subsection{Teil 1b}
\paragraph {Paragraph} \section{Zweriter Teil}
\subsection{Teil 2a}
\section*{Versteckt}
\section{Weiterer Teil}
\ No newline at end of file
File added
\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}
...@@ -298,35 +298,41 @@ ...@@ -298,35 +298,41 @@
\end{minipage} \end{minipage}
}; };
\\ \\
};
\end{tikzpicture}
\end{frame}
\begin{frame}[fragile]{Sections}
\structure{Sections:}
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node{ \node{
\begin{minipage}[t][10mm][c]{.28\textwidth} \begin{minipage}[t][20mm][c]{.28\textwidth}
\begin{itemize} \begin{itemize}
\item Überschriften (automatisch) \item Überschriften (automatisch numeriert)
\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][10mm][c]{.3\textwidth} \begin{minipage}[t][20mm][c]{.3\textwidth}
\lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex} \lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.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][10mm][c]{.25\textwidth} \begin{minipage}[t][50mm][c]{.25\textwidth}
Foto \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf}
\end{minipage} \end{minipage}
}; };
\\ \\
}; };
\end{tikzpicture} \end{tikzpicture}
\end{frame} \end{frame}
\begin{frame}[fragile]{Abschnitte und Umgebungen} \begin{frame}[fragile]{Abschnitte und Umgebungen}
\structure{Umgebungen:} \structure{Umgebungen:}
%TODO Überschriften verbessen
\begin{tikzpicture} \begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] { \node[matrix, column sep=4pt, row sep=6pt] {
\node{ \node{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment