mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Einige Inhalte hinzugefügt
This commit is contained in:
parent
a8ab55d4b3
commit
e63c4f3335
16 changed files with 539 additions and 33 deletions
|
@ -0,0 +1,21 @@
|
|||
\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,8) {$a$};
|
||||
\node (b)[vertex] at (0,4) {$b$};
|
||||
\node (c)[vertex] at (0,0) {$c$};
|
||||
\node (d)[vertex] at (4,4) {$d$};
|
||||
|
||||
\foreach \from/\to/\pos in {a/b/20,a/b/-20,a/d/0,b/c/20,b/c/-20,b/d/0,c/d/0}
|
||||
\draw[line width=2pt] (\from) to [bend left=\pos] (\to);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -0,0 +1,22 @@
|
|||
\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,0) {};
|
||||
\node (b)[vertex] at (2,0) {};
|
||||
\node (c)[vertex] at (2,2) {};
|
||||
\node (d)[vertex] at (0,2) {};
|
||||
\node (d)[vertex] at (1,1) {};
|
||||
|
||||
\foreach \from/\to in {a/b,b/c,c/d,d/a,b/e,e/d}
|
||||
\draw[line width=2pt] (\from) -- (\to);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -0,0 +1,21 @@
|
|||
\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,0) {};
|
||||
\node (b)[vertex] at (0,1) {};
|
||||
\node (c)[vertex] at (1,0) {};
|
||||
\node (d)[vertex] at (0,1) {};
|
||||
|
||||
\foreach \from/\to in {a/b,b/c,c/d,d/a,a/c,b/d}
|
||||
\draw[line width=2pt] (\from) -- (\to);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -0,0 +1,19 @@
|
|||
% A complete graph
|
||||
% Author: Quintin Jean-Noël
|
||||
% <http://moais.imag.fr/membres/jean-noel.quintin/>
|
||||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage[nomessages]{fp}% http://ctan.org/pkg/fp
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary[topaths]
|
||||
|
||||
|
||||
\begin{document}
|
||||
\newcommand\n{5}
|
||||
\begin{tikzpicture}
|
||||
\node[vertex] (N1) at (0,0) {};
|
||||
\node[vertex] (N2) at (2,0) {};
|
||||
\node[vertex] (N3) at (1,1) {};
|
||||
|
||||
\draw (N1) -- (N3) -- (N2) -- (N1);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -0,0 +1,21 @@
|
|||
% A complete graph
|
||||
% Author: Quintin Jean-Noël
|
||||
% <http://moais.imag.fr/membres/jean-noel.quintin/>
|
||||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage[nomessages]{fp}% http://ctan.org/pkg/fp
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary[topaths]
|
||||
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
\node[vertex] (N1) at (0,0) {};
|
||||
\node[vertex] (N2) at (2,0) {};
|
||||
\node[vertex] (N3) at (4,0) {};
|
||||
\node[vertex] (N4) at (1,1) {};
|
||||
\node[vertex] (N5) at (3,1) {};
|
||||
\node[vertex] (N6) at (2,2) {};
|
||||
|
||||
\draw (N1) -- (N4) -- (N2) -- (N5) -- (N4) -- (N6) -- (N5) -- (N3) -- (N2) -- (N1);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -0,0 +1,25 @@
|
|||
% A complete graph
|
||||
% Author: Quintin Jean-Noël
|
||||
% <http://moais.imag.fr/membres/jean-noel.quintin/>
|
||||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage[nomessages]{fp}% http://ctan.org/pkg/fp
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary[topaths]
|
||||
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
\node[vertex] (N1) at (0,0) {};
|
||||
\node[vertex] (N2) at (2,0) {};
|
||||
\node[vertex] (N3) at (4,0) {};
|
||||
\node[vertex] (N4) at (6,0) {};
|
||||
\node[vertex] (N5) at (1,1) {};
|
||||
\node[vertex] (N6) at (3,1) {};
|
||||
\node[vertex] (N7) at (5,1) {};
|
||||
\node[vertex] (N8) at (2,2) {};
|
||||
\node[vertex] (N9) at (4,2) {};
|
||||
\node[vertex] (N10) at (3,3) {};
|
||||
|
||||
\draw (N1) -- (N5) -- (N2) -- (N6) -- (N3) -- (N7) -- (N6) -- (N5) -- (N8) -- (N6) -- (N9) -- (N8) -- (N10) -- (N9) -- (N7) -- (N4) -- (N3) -- (N2) -- (N1);
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue