mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
37 lines
999 B
TeX
37 lines
999 B
TeX
|
\documentclass{article}
|
||
|
\usepackage[pdftex,active,tightpage]{preview}
|
||
|
|
||
|
\usepackage{tikz}
|
||
|
\usetikzlibrary{calc}
|
||
|
|
||
|
\begin{document}
|
||
|
\begin{preview}
|
||
|
\tikzset{box/.style={fill=black!15,draw,minimum size=13pt,align=center}}
|
||
|
|
||
|
\begin{tikzpicture}
|
||
|
\draw[very thick] (-1,2.5) -- (-1,1.75);
|
||
|
\draw[<-,very thick] (-1,0.5) -- (-1,1.3);
|
||
|
|
||
|
\draw[very thick] (-0.3,0.5 ) -- (-0.3,1.3);
|
||
|
\draw[->,very thick] (-0.3,1.75) -- (-0.3,2.5);
|
||
|
|
||
|
\draw[very thick] (0.3,2.5) -- (0.3,1.75);
|
||
|
\draw[<-,very thick] (0.3,0.5) -- (0.3,1.3);
|
||
|
|
||
|
\draw[very thick] (1,0.5) -- (1,1.3);
|
||
|
\draw[->,very thick] ( 1,1.75) -- (1,2.5);
|
||
|
|
||
|
\node (one) at (-0.8,2.2) {1};
|
||
|
\node (two) at (-0.1,0.8) {2};
|
||
|
\node (three) at ( 0.5,2.2) {3};
|
||
|
\node (four) at ( 1.2,0.8) {4};
|
||
|
|
||
|
\node[box] (odd) at (0,3) {gerade\\Permutationen};
|
||
|
\node[box] (even) at (0,0) {ungerade\\Permutationen};
|
||
|
|
||
|
\node (transpositions) at (0,1.5) {Transpositionen};
|
||
|
|
||
|
\end{tikzpicture}
|
||
|
\end{preview}
|
||
|
\end{document}
|