mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-29 07:47:57 +02:00
added permutation sign
This commit is contained in:
parent
a411fde3ec
commit
385254300a
4 changed files with 74 additions and 0 deletions
36
tikz/permutation-sign/permutation-sign.tex
Normal file
36
tikz/permutation-sign/permutation-sign.tex
Normal file
|
@ -0,0 +1,36 @@
|
|||
\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}
|
Loading…
Add table
Add a link
Reference in a new issue