Seite 1 von 1

Diagramm breiter einstellen

Verfasst: Sa 9. Jul 2016, 01:23
von Adriana
Hallo Zusammen
\documentclass{article} 

\usepackage{multirow} 
	\usepackage{tikz}
	\usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
		decorations.pathreplacing,decorations.pathmorphing,shapes,%
		matrix,shapes.symbols}
	\tikzset{
		>=stealth',
		punktchain/.style={
			rectangle, 
			rounded corners, 
			draw=black, very thick,
			text width=10em, 
			minimum height=3em, 
			text centered, 
			on chain},
		line/.style={draw, thick, <-},
		element/.style={
			tape,
			top color=white,
			bottom color=blue!50!black!60!,
			minimum width=8em,
			draw=blue!40!black!90, very thick,
			text width=10em, 
			minimum height=3.5em, 
			text centered, 
			on chain},
		every join/.style={->, thick,shorten >=1pt},
		decoration={brace},
		tuborg/.style={decorate},
		tubnode/.style={midway, right=2pt},
	}


\begin{document}
\begin{figure}[htbp] 
   \centering     
   \begin{tikzpicture}[node distance=.9cm, start chain=going below,] 
   \node[punktchain, join] (intro)         {ghgfhsvbcvvc  cvvdhgcghgds dghfghdgfgd hghgdfhgdgfdgf}; 
   \node[punktchain, join] (probf)         {Temperatur Erweiterung \newline zur vollständigen Umwandlung des Materials in die entsprechende Struktur \newline zur Aufstellung der richtigen  Ofenatmosphäre}; %<- wie erzielt man hier die Unterpunkte?
   \node[punktchain, join] (investeringer) {gdjgfjgshfgjsgt sdhgshfghgf vcbvcgdvg}; 
   \node[punktchain, join] (perfekt)       {gdgfhgdhfghg jhdhgjhgfhgjd fdfgjhgdjgdjhg gfhgdfgjdgjl}; 
   \end{tikzpicture} 
   \caption{Ablaufdiagramm } 
   \label{fig:Waermebehandlung} 
\end{figure} 
\end{document}
Wie kriege ich das Ablaufdiagramm etwas breiter so, dass das Geschriebene besser reinpasst und bei Bedarf Unterpunkte zur Aufzählung reinschreibe?

Danke im Voraus!

Verfasst: Sa 9. Jul 2016, 07:42
von Beinschuss
Wenn Du "width" vom Englischen ins Deutsche übersetzt hättest, kämest du ohne Blick in die Doku nur durch probieren weiter, z.B.
text width=15em, 

Verfasst: Sa 9. Jul 2016, 14:55
von Bartman
\node[punktchain, join] (probf) {Temperatur Erweiterung \newline zur vollständigen Umwandlung des Materials in die entsprechende Struktur \newline zur Aufstellung der richtigen  Ofenatmosphäre}; %<- wie erzielt man hier die Unterpunkte?
Wenn Du mit "Unterpunkte" eine Aufzählung meinst, dann sieh Dir die folgende Änderung an:
\documentclass[tikz, margin=5pt]{standalone}

\usepackage{selinput} % http://texwelt.de/wissen/fragen/5546
\SelectInputMappings{
	adieresis={ä},
	germandbls={ß}
}
\usepackage[T1]{fontenc}

\usetikzlibrary{
	calc,
	trees,
	positioning,
	arrows,
	chains,
	shapes.geometric,
	decorations.pathreplacing,
	decorations.pathmorphing,
	shapes,
	matrix,
	shapes.symbols
}

\tikzset{
	>=stealth',
	punktchain/.style={
		rectangle, 
		rounded corners, 
		draw=black, very thick,
		text width=15em,
		minimum height=3em, 
		text centered, 
		on chain
	},
	line/.style={draw, thick, <-},
	element/.style={
		tape,
		top color=white,
		bottom color=blue!50!black!60!,
		minimum width=8em,
		draw=blue!40!black!90, very thick,
		text width=10em, 
		minimum height=3.5em, 
		text centered, 
		on chain
	},
	every join/.style={->, thick,shorten >=1pt},
	decoration={brace},
	tuborg/.style={decorate},
	tubnode/.style={midway, right=2pt}
}


\begin{document}
\begin{tikzpicture}[node distance=.9cm, start chain=going below,] 
	\node[punktchain, join] (intro) {ghgfhsvbcvvc  cvvdhgcghgds dghfghdgfgd hghgdfhgdgfdgf}; 
	\node[punktchain, join] (probf) {
		Temperatur Erweiterung
		\begin{itemize}
			\item zur vollständigen Umwandlung des Materials in die entsprechende Struktur
			\item zur Aufstellung der richtigen  Ofenatmosphäre
		\end{itemize}
	};
	\node[punktchain, join] (investeringer) {gdjgfjgshfgjsgt sdhgshfghgf vcbvcgdvg}; 
	\node[punktchain, join] (perfekt)       {gdgfhgdhfghg jhdhgjhgfhgjd fdfgjhgdjgdjhg gfhgdfgjdgjl}; 
\end{tikzpicture} 
\end{document}

Verfasst: So 10. Jul 2016, 09:43
von Adriana
Super, passt gut! Vielen Dank für die sehr konstruktiven Antworten!

Wenn ich in meiner Datei mehrere Ablaufdiagramme habe, wie kann ich die Breite jedes einzelne Diagramm individuell einrichten?

Verfasst: So 10. Jul 2016, 15:29
von Bartman
Adriana hat geschrieben:Wenn ich in meiner Datei mehrere Ablaufdiagramme habe, wie kann ich die Breite jedes einzelne Diagramm individuell einrichten?
Abschnitt 12.4.2 in pgfmanual.

Beispiel:
\begin{tikzpicture}[node distance=.9cm, start chain=going below, punktchain/.append style={text width=20em}]