Skip to content
Snippets Groups Projects
Commit ec5099a4 authored by Valentin Bruch's avatar Valentin Bruch
Browse files

added TikZ-version of Editor -> PDF viewer

parent 44dc5652
No related branches found
No related tags found
No related merge requests found
bin/
*.pdf
!figures/*.pdf
File added
......@@ -7,6 +7,9 @@
\usepackage{verbatim}
\usepackage{dtk-logos}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{listings}
\usepackage{calc}
\usetheme{OSAK}
......@@ -39,7 +42,48 @@
\section{Motivation}
\section{Dokumente mit \LaTeX}
\subsection{\TeX{}studio als Editor}
\subsection{Aufbau eines \LaTeX-Dokumentes}
\subsection{Aufbau eines \LaTeX-Dokuments}
\OSAKthemenologo
\begin{frame}{Aufbau eines \LaTeX-Dokuments}
\begin{columns}[T]
\begin{column}{.35\textwidth}
\LaTeX übersetzt\\
Text in ein PDF
\begin{itemize}
\item Formatierung durch\\Befehle im Text
\item Automatische Formatierung
\end{itemize}
\end{column}
\begin{column}{.63\textwidth}
\vspace*{-4pt}%
\centering%
\begin{tikzpicture}[even odd rule, scale=1]
\coordinate (text) at (0,0);
\filldraw[fill=blue!25!lightgray, draw=blue!25!lightgray]
(0,0) rectangle (\textwidth, -.5\textwidth)
(2pt,-15pt) rectangle (\textwidth-2pt, -.5\textwidth+2pt);
\node[anchor=north west] at (0pt, 0pt) {Editor: HelloWorld.tex};
\node[anchor=north west] at (4pt, -12pt) {\parbox[t][.5\textwidth-27pt][t]{\textwidth-12pt}{%
\lstinputlisting[language=tex, basicstyle=\small\ttfamily]{minimal.tex}
}};
\end{tikzpicture}\\[-11pt]
\includegraphics[angle=-90, width=.1\textwidth]{figures/texstudio-compile.pdf}\\[2pt]
\begin{tikzpicture}[even odd rule, scale=1]
\coordinate (text) at (0,0);
\filldraw[fill=blue!25!lightgray, draw=blue!25!lightgray]
(0,0) rectangle (\textwidth, -.4\textwidth)
(2pt,-15pt) rectangle (\textwidth-2pt, -.4\textwidth+2pt);
\node[anchor=north west] at (0pt, 0pt) {PDF viewer: HelloWorld.pdf};
\node[anchor=north west] at (2pt, -15pt) {\parbox[t][.4\textwidth-27pt][c]{\textwidth-12pt}{%
\centering
\includegraphics{minimal.pdf}
}};
\end{tikzpicture}
\end{column}
\end{columns}
\end{frame}
\OSAKthemelogo
\subsection{Beispieldokument}
\section{Präsentationen mit \LaTeX-Beamer}
\subsection{?}
......
\documentclass[ngerman]{article}
\usepackage{babel}
\begin{document}
Hallo Welt!
\end{document}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment