Skip to content

Instantly share code, notes, and snippets.

@kimbtech
Created October 27, 2017 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimbtech/960ec34fd810710faf84429c4a938375 to your computer and use it in GitHub Desktop.
Save kimbtech/960ec34fd810710faf84429c4a938375 to your computer and use it in GitHub Desktop.
Murmelmaschine
\documentclass{scrartcl}
\KOMAoptions{
parskip=half,
fontsize=12pt,
DIV=calc
}
% Seitengränder
\usepackage{geometry}
\geometry{
bottom=1cm,
top=1.5cm,
right=2cm,
left=2cm,
includeheadfoot
}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
% schoenere Schrift
\usepackage[scaled=0.95]{helvet}
\renewcommand*{\familydefault}{\sfdefault}
% Bilder & Farben
\usepackage{graphicx, color, xcolor}
% Mathe
\usepackage{amssymb, amsmath, amsthm}
%
% TikZ
%
\usepackage{tikz}
\usetikzlibrary{positioning,%
fit,%
arrows,%
automata,%
trees,%
intersections,%
mindmap,%
shapes.geometric,%
shapes.arrows,%
decorations,%
decorations.pathmorphing,%
decorations.pathreplacing,%
matrix,%
chains,%
scopes,%
circuits,%
circuits.ee.IEC,%
calc,%
fadings,%
lindenmayersystems,%
decorations.markings%
}
\begin{document}
\begin{tikzpicture}[thick]
\draw
(2,0) -- (2,0.75) -- (0,3) -- (2,5.25) -- (2,6);
\draw
(7,0) -- (7,0.75) -- (9,3) -- (7,5.25) -- (7,6);
\draw
(3,0) -- (3,0.75) -- (4.5,2.25) -- (6,0.75) -- (6,0);
\draw
(3,6) -- (3,5.25) -- (4.5,3.75) -- (6,5.25) -- (6,6);
\draw
(2.5,1.4) -- (1,3) -- (2.5,4.6) -- (4,3) -- (2.5,1.4);
\draw
(6.5,1.4) -- (5,3) -- (6.5,4.6) -- (8,3) -- (6.5,1.4);
\draw[ultra thick, ->]
(2.5,6.25) -- node [above=5pt] {A} (2.5,5.75);
\draw[ultra thick, ->]
(6.5,6.25) -- node [above=5pt] {B} (6.5,5.75);
\draw[ultra thick, ->]
(2.5,0.25) -- node [below=5pt] {C} (2.5,-0.25);
\draw[ultra thick, ->]
(6.5,0.25) -- node [below=5pt] {D} (6.5,-0.25);
\draw
(2.25,5) -- node {$\bullet$} node[below right] {$x_1$} (2.75,5.5);
\draw
(6.25,5) -- node {$\bullet$} node[below right] {$x_2$} (6.75,5.5);
\draw
(4.25,2.75) -- node {$\bullet$} node[below right] {$x_3$} (4.75,3.25);
\end{tikzpicture}
\end{document}
@kimbtech
Copy link
Author

TikZ Drawing
9788d5bf-c1a7-4503-838f-0b593f3650bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment