von Schneitzmaster » Fr 22. Mai 2015, 23:17
Hey leute,
ich möchte mit tikz ein programmablaufplan erstellen. Nach
http://www.smartdraw.com/flowchart/flow ... ymbols.htm sind die symbole mehr oder weniger genormt.
Ich benötige internal storage.
GIbt es das symbol schon voreingestellt in tikz (bis jetzt bin ich nicht fündig geworden)?
Meine ersten Versuche sehen wie folgt aus:
\documentclass[10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{tikzpicture}[auto]
\tikzstyle{internalStorageTop} = [draw, thick, rectangle split, rectangle split horizontal,rectangle split parts=2]
\tikzstyle{internalStorage} = [draw, thick, rectangle split, rectangle split horizontal,rectangle split parts=2, align=center]
\tikzstyle{process} = [rectangle, draw, thick, align=center]
\tikzstyle{line} = [draw, thick, -triangle 45];
\matrix [column sep={10mm},row sep=10mm]{
% row 1
& \node [process] (generate) {process}; & \\
% row 2
& \node [internalStorageTop] (split) {\nodepart[text width=40mm]{two}\phantom{internal storage}}; & \\[-10.25mm]
& \node [internalStorage] {\nodepart[text width=40mm]{two}{internal storage\\ internal storage}}; & \\
};
\tikzstyle{every path}=[line]
\path (generate) -- (split);
\end{tikzpicture}
\end{document}
Da muss ich aber immer extrem viel rumfummeln. Ist eher eine quick and dirty variante. Gibt es da eine sauberere möglichkeit?
ich wäre über jegliche hilfe dankbar
Hey leute,
ich möchte mit tikz ein programmablaufplan erstellen. Nach [url]http://www.smartdraw.com/flowchart/flowchart-symbols.htm[/url] sind die symbole mehr oder weniger genormt.
Ich benötige internal storage.
GIbt es das symbol schon voreingestellt in tikz (bis jetzt bin ich nicht fündig geworden)?
Meine ersten Versuche sehen wie folgt aus:
[code]\documentclass[10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{arrows}
\usetikzlibrary{calc}
\usetikzlibrary{backgrounds}
\begin{document}
\begin{tikzpicture}[auto]
\tikzstyle{internalStorageTop} = [draw, thick, rectangle split, rectangle split horizontal,rectangle split parts=2]
\tikzstyle{internalStorage} = [draw, thick, rectangle split, rectangle split horizontal,rectangle split parts=2, align=center]
\tikzstyle{process} = [rectangle, draw, thick, align=center]
\tikzstyle{line} = [draw, thick, -triangle 45];
\matrix [column sep={10mm},row sep=10mm]{
% row 1
& \node [process] (generate) {process}; & \\
% row 2
& \node [internalStorageTop] (split) {\nodepart[text width=40mm]{two}\phantom{internal storage}}; & \\[-10.25mm]
& \node [internalStorage] {\nodepart[text width=40mm]{two}{internal storage\\ internal storage}}; & \\
};
\tikzstyle{every path}=[line]
\path (generate) -- (split);
\end{tikzpicture}
\end{document}
[/code]
Da muss ich aber immer extrem viel rumfummeln. Ist eher eine quick and dirty variante. Gibt es da eine sauberere möglichkeit?
ich wäre über jegliche hilfe dankbar