I am working on a project where I need to built a number of enumerations. Each of the items of the enumerations has the form:
\item Name: description
Therefore I've written a small macro, I here give a minimal implementation, of course it has more arguments and functionality:
\newcommand{\givelist}[1]{\begin{enumeration}#1\end{enumeration}}
I thought it would be usefull to draw a small summary with a TikZ picture where all the Names would be nodes.
There are several problems: first of all a name can occur on several places in the report. In that case the name should only occur once in the TikZ picture.
Secondly it should be nice if I could reposition the nodes, draw line between them, ect.
Another problem is that only the text before the column (:) must be extracted.
Is there some way to do this?
Some tricks on how to solve one of these problems are welcome too.
\newcommand{\givelist}[2]{\begin{enumeration}#1 : #2\end{enumeration}}– Tom Bombadil Mar 17 '12 at 14:04