Adding child nodes to child nodes in TikZ Mindmap has some example code, where German words are not hyphenated correctly. I was trying to fix it by using inputenc
(for Umlaute) and \usepackage[ngerman]{babel}
. Unfortunately it has no effect on hyphenation.
What must be changed?
Below you can see a Working Example of it, showing forced hyphenation and no hyphenation:
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{mindmap,trees}
\begin{document}
\begin{tikzpicture}
\path[mindmap,concept color=black,text=white]
node[concept] {Die Wahrnehmung}
[clockwise from=0]
child[concept color=green!50!black] {
node[concept] {Sensorische Prozesse}
[clockwise from=90]
child { node[concept] {Schwellen}
child {node[concept] {Unterschiedsschwelle}}
child {node[concept] {Unter\-schieds\-schwel\-le}}
}
}
child[concept] { node[concept] {Klassifikation} };
\end{tikzpicture}
\end{document}