0

This question already has an answer here:

Can someone help me with this figure? I need to add it to a Latex document and I don't know how to use function properly.enter image description here

marked as duplicate by cfr, Community Sep 20 '17 at 22:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    Welcome to TeX.SE! Please show us a short compilable code you tried so far ... – Mensch Sep 20 '17 at 22:16
  • 2
    On this site, a question should typically revolve around an abstract issue (e.g. "How do I get a double horizontal line in a table?") rather than a concrete application (e.g. "How do I make this table?") Have a look around the site, e.g. at Problems with flow chart - decision tree, to try to get started. – diabonas Sep 20 '17 at 22:18
  • Part of my answer at tex.stackexchange.com/questions/5447/… introduces Forest and may be helpful if you do it this way and are not, say, a linguist familiar with the bracket representation it uses. – cfr Sep 20 '17 at 22:38
0

as starting point with forest:

enter image description here

the text in nodes, nodes size and style you should accommodate to your needs/taste.

\documentclass[margin=5mm]{standalone}
\usepackage[utf8]{inputenc}
\usepackage[edges]{forest}

    \begin{document}
%%%%    uvod-5
\linespread{0.9}
   \begin{forest}
    for tree={% style of tree nodes
        text width = 22mm, text badly centered,
              % style of tree (edges, distances, direction)
             edge = {draw, semithick, -stealth},
           anchor = north,
             grow = south,
    forked edge,            % for forked edge
            s sep = 2mm,    %
            l sep = 4mm,    %
         fork sep = 2mm,    % distance from parent to branching point
         tier/.option=level,
               }
[text
    [no
        [text]
    ]
    [yes
        [text text
            [text text text
                [text
                    [text]
                ]
                [text
                    [text]
                    ]
                ]
            ]
        ]
    ]
    ]
    \end{forest}
\end{document}
  • Wouldn't it be better to close this as a duplicate? – cfr Sep 20 '17 at 22:29

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