light kira” post=93705salve a tutti. ho visto il seguente elaborato
`
http://www.texample.net/tikz/examples/computer-science-mindmap/
`sto provando a creare un nodo centrale con varie ramificazioni (no sotto ramificazioni – per intenderci: al centro una voce dalla quale si diramano altri collegamenti senza ulteriori figli).
il problema è che al nodo centrale si possono collegare max 6 figli.come è possibile??
con questo codice, invece, modificato dalla rete posso collegarne di più, ma se provo a modificare colore e nomi sballa tutto dando errore
`
\begin{tikzpicture}
[
mindmap,
concept color=red,
root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
]
\node[root concept] {ebruni.it} [clockwise from=180]
child[concept color=red] {node[concept] {www.}}
child[concept color=red] {node[concept] {info@}}
child[concept color=red] {node[concept] {facebook.}}
child[concept color=red] {node[concept] { linkedin.}}
child[concept color=red] {node[concept] { twitter.}}
child[concept color=red] {node[concept] {vimeo.}}
child[concept color=red] {node[concept] { tumblr.}}
child[concept color=red] {node[concept] {qik.}}
child[concept color=red] {node[concept] {picasa.}}
child[concept color=red] {node[concept] {youtube.}}
child[concept color=red] {node[concept] {flickr.}}
;
\end{tikzpicture}
`esempio compilabile del codice
`
http://blog.ebruni.it/blog/tag/tikz
`
Ciao,
prova così
`\documentclass[tikz]{standalone}
\standaloneconfig{crop=true,border={1em 5em 4em 0em}}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{a4paper}
\usepackage{graphicx}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{mindmap,calendar,backgrounds,shadows}
\def\lecture#1#2#3#4#5#6{
% As before:
\node [annotation, #3, scale=0.65, text width=4cm, inner sep=2mm, fill=white] at (#4) {
Lecture #1: \textcolor{orange}{\textbf{#2}}
\list{–}{\topsep=2pt\itemsep=0pt\parsep=0pt
\parskip=0pt\labelwidth=8pt\leftmargin=8pt
\itemindent=0pt\labelsep=2pt}
#5
\endlist };
% New:
\node [anchor=base west] at (cal-#6.base east) {\textcolor{orange}{\textbf{#2}}};
}
\begin{document}
\begin{tikzpicture}
[
mindmap,
concept color=red,
root concept/.append style={fill=white, line width=1ex,text=black,font=\large\ttfamily},
level 1 concept/.append style={sibling angle=32.7,minimum width=2.5cm},
every node/.style={concept, execute at begin node=\hskip0pt,font=\large\ttfamily}
]
\node[root concept] {ebruni.it} [clockwise from=180]
child[concept color=red] {node[concept] {www.}}
child[concept color=red] {node[concept] {info@}}
child[concept color=red] {node[concept] {facebook.}}
child[concept color=red] {node[concept] { linkedin.}}
child[concept color=red] {node[concept] { twitter.}}
child[concept color=red] {node[concept] {vimeo.}}
child[concept color=red] {node[concept] { tumblr.}}
child[concept color=red] {node[concept] {qik.}}
child[concept color=red] {node[concept] {picasa.}}
child[concept color=red] {node[concept] {youtube.}}
child[concept color=red] {node[concept] {flickr.}}
;
\end{tikzpicture}
% Further ’tikzpicture’ environments are possible which will create further pages.
\end{document}`
Saluti