Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to dump some minds map in latex. I have them following this structure:

http://www.wikilearning.com/imagescc/sinop2.jpg

Although it does not need need to be exactly like in that chart, just some nice way of drawing hierarchical outline summaries. Thanks.

share|improve this question

3 Answers 3

up vote 5 down vote accepted

You could hack your way out using nested \left\{ delimiters and tabular environments. This is a first approximation on which one could improve further.

\documentclass{article}

\newenvironment{subgroup}
  {$\left\{\tabular{l}}
  {\endtabular\right.$}

\begin{document}

Idea General
\begin{subgroup}
  Idea Principal
  \begin{subgroup}
    Ideas Complementarias \\
    Ideas Complementarias \\
    Ideas Complementarias  
  \end{subgroup} \\[2em]
  Idea Principal
  \begin{subgroup}
    Ideas Complementarias \\
    Ideas Complementarias \\
    Ideas Complementarias  
  \end{subgroup} \\[2em]
  Idea Principal
  \begin{subgroup}
    Ideas Complementarias \\
    Ideas Complementarias \\
    Ideas Complementarias  
  \end{subgroup}
\end{subgroup}

\end{document}

I have some improvements in mind (but no time to implement them right now): one would like each “entry” in the map to be typeset on a \parbox with a \raggedright and a specific width. One would also probably want appropriate spacings (such as \\[2em]) to be automatically added. Finally one would probably like an user interface closer to enumerate and \item's instead of ending entries by \\.

I wonder if a package to do exactly this has been already implemented?

share|improve this answer
    
wow, thanks a lot. I will try to look at your improvement suggestions too! –  A.G. Sep 7 '10 at 16:25
1  
Very nice. A matter of taste, but I was able to add zome vertical spacing by putting \vspace(xx) directly before and/or after the \[2em]. –  Herbert Sitz Sep 8 '10 at 6:04

See TikZ manual 38 Mindmap Drawing Library

tikz mind map

share|improve this answer
    
Thanks, but that does not work. I want to include mostly text. –  A.G. Sep 7 '10 at 15:19
    
That's just an example from the manual. The lib is more flexible. Check out the nicely-cross-referenced manual. For example, the child facilities. –  Leo Liu Sep 7 '10 at 16:00
    
That map is so good. Would be possible to have them in a ConText document? –  Tomas Nov 14 '10 at 5:07
    
@Tomas: TikZ supports plain TeX, LaTeX, and ConTeXt, so there should be no problem. –  Antal S-Z Nov 14 '10 at 14:37
1  
With TikZ it often seems that the devteam thinks of everything –  Peter LeFanu Lumsdaine Nov 27 '10 at 3:10

this solution with tikz trees might be helpful

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{trees}

\begin{document}
\begin{tikzpicture}[edge from parent fork right,grow=right,level distance=3cm,level 1/.style={sibling distance=4cm},
level 2/.style={sibling distance=1cm}]
\node[text width=1cm] {Idea General}
child {node {Some idea}}
child {node {Some idea}
child {node {Details}}
child {node {Details}}
child {node {Details}}
};
\end{tikzpicture}
\end{document}
share|improve this answer
    
It is a good solution too. Thanks! –  A.G. Sep 7 '10 at 16:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.