Code:
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{tikz}
\usetikzlibrary{arrows, positioning, shadows}
\title{Your Paper}
\author{You}
\begin{document}
\begin{tikzpicture}[thick,
level 1/.style={sibling distance=70mm},
level 2/.style={sibling distance=45mm},
level 3/.style={sibling distance=20mm},
]
\node (Box 1) [
% The shape:
rectangle,
rounded corners,
minimum size=12mm, % The size (min and max):
text width=1\textwidth,
text centered, % The alignment
thick,
% The border
draw=white,
% The filling:
top color=white, % a shading that is white at the top...
bottom color=white, % and white at the bottom
]{Box 1}
%[white] %this puts all the linking lines white (if you put them in black again you see them again)
child {node (Box 2)[black,
rectangle,
rounded corners,
minimum size=12mm,
text width=14.0em,
text centered,
thick,
draw=white,
top color=white,
bottom color=white,
below=
] {Box 2}
child {node (Box 6)[black,
rectangle,
rounded corners,
minimum size=12mm,
minimum height=70mm,
text width=11.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below
] {Box 6}
child {node (Box 7) [black,
rectangle,
rounded corners,
minimum size=12mm,
text width=4.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below] {Box 7}
[transparent]
}
child {node (Box 8)[black,
rectangle,
rounded corners,
minimum size=12mm,
text width=4.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below] {Box 8}
[transparent]
}}
}
child {node (Box 9)[black,
rectangle,
rounded corners,
%minimum size=40mm,
minimum height=91mm,
text width=11.0em,
%text height=13.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below
] {Box 9}
[level 2/.style={sibling distance=20mm}]
child {node (Box 10)[black,
rectangle,
rounded corners,
minimum size=12mm,
text width=4.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below
] {Box 10}
[transparent]
}
child {node (Box 11)[black,
rectangle,
rounded corners,
minimum size=12mm,
text width=4.0em,
text centered,
thick,
draw=blue!50!black!50,
top color=white,
bottom color=blue!50!black!20,
below
] {Box 11}
[transparent]
}}
;
\end{tikzpicture}
\end{document}
1. Wie kann ich die Boxen 10 und 11 auf die Höhe der anderen kleinen Boxen bringen (7,8)?
Lesezeichen