mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-29 15:57:57 +02:00
added examples to presentation
This commit is contained in:
parent
9c8eceafc9
commit
34d97ac0cf
28 changed files with 772 additions and 8 deletions
24
presentations/Diskrete-Mathematik/LaTeX/graphs/graph-2.tex
Normal file
24
presentations/Diskrete-Mathematik/LaTeX/graphs/graph-2.tex
Normal file
|
@ -0,0 +1,24 @@
|
|||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{arrows,positioning}
|
||||
\tikzset{
|
||||
%Define standard arrow tip
|
||||
>=stealth',
|
||||
% Define arrow style
|
||||
pil/.style={->,thick}
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
\node (a)[vertex] at (0,3) {};
|
||||
\node (b)[vertex] at (0,1) {};
|
||||
\node (c)[vertex] at (1,0) {};
|
||||
\node (d)[vertex] at (2,0) {};
|
||||
\node (e)[vertex] at (3,0) {};
|
||||
\node (f)[vertex] at (4,1) {};
|
||||
\node (g)[vertex] at (4,3) {};
|
||||
|
||||
\foreach \from/\to in {b/c,c/d,d/e,e/f}
|
||||
\draw[line width=2pt] (\from) -- (\to);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue