Quickies

[categories] [index] [all (527)] [latest]

LaTeX
  1. Avec le paquetage pst-tree.

    \newcommand{\C}[1]{\Tr{\psframebox{#1}}} % carré
    \newcommand{\R}[1]{\Tcircle{#1}}         % rond
    \newcommand{\N}[1]{\Tr{#1}}              % normal
    % syntaxe : \pstree{le père}{les fils}
    \pstree[treemode=R]{\R{titi}}
        {
            \C{toto}
            \pstree{\R{tata}}
                {
                    \C{tutu}
                    \R{345}
                    \N{tonton}
                }
        }