Risposte nei forum create
-
AutoreRisposte
-
::
Grazie mille!!
Ho letto la guida, questo pacchetto è stupendo! Sono riuscita a disegnare gli alberi, ma ho un dubbio! Mi compare un punto subito dopo il riquadro dell’ultimo ramo, e non so come toglierlo![attachment=1534]Schermata2016-02-14alle15.14.39.png[/attachment]
`
\begin{center}
\tikz [font=\small,
grow=right,
level 1/.style={sibling distance=6em},
level 2/.style={sibling distance=2em},
level distance=3cm]
\node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$A$} % root
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$D$}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$O$}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$N$}}
child{node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$M$}}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$C$}
child { node [shape=rectangle, rounded corners=1mm, draw, inner sep=4, text width=1cm, align=flush center] {$L$}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$I$}}
child{node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$H$}}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$B$}
child{node [shape=rectangle, rounded corners=1mm, draw, inner sep=4, text width=1cm, align=flush center] {$G$}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$F$}}
child{node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$E$}}}
\end{center}\begin{center}
\tikz [font=\small,
grow=right,
level 1/.style={sibling distance=3em},
level 2/.style={sibling distance=3em},
level distance=3cm]
\node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$A$} % root
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$D$}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$O$}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$N$}}
child{node [shape=rectangle, rounded corners=1mm, inner sep=4, text width=1cm, align=flush center] {}}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$C$}
child { node [shape=rectangle, rounded corners=1mm, inner sep=4, text width=1cm, align=flush center] {}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$I$}}
child{node [shape=rectangle, rounded corners=1mm, inner sep=4, text width=1cm, align=flush center] {}}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$B$}
child{node [shape=rectangle, rounded corners=1mm, inner sep=4, text width=1cm, align=flush center] {}}
child { node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$F$}}
child{node [shape=rectangle, rounded corners=1mm,draw, inner sep=4, text width=1cm, align=flush center] {$E$}}}
\end{center}
`(P.S. so di poter migliorare il codice ed evitare così di riscrivere le caratteristiche di ogni nodo in ogni riga, ci sto lavorando!)
Inoltre, vorrei chiedervi se possibile mettere i due alberi affiancati.
Davvero grazie!
Attachments:
You must be logged in to view attached files. -
AutoreRisposte