首页 > 代码库 > mind map in latex

mind map in latex

\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}

技术分享

 

\documentclass{article}

\usepackage{schemata}
\begin{document}
\schema
 {
    \schemabox{level One}
 }
 {
    \schema
    {
        \schemabox{Level Two}
    }    
    {
        \schemabox{two 1\\two 2\\two 3}
    }
    
    \schema
    {
        \schemabox{level Two}
    }
    {
        \schemabox{two 4\\two 5}
    }
 }
\end{document}

技术分享

mind map in latex