# Tag Info

1

To typeset the tree itself, you just need to load prooftrees in the preamble and define any special symbols required by the particular content of the tree. In this case \lif is non-standard and we need the turnstile package for the turnstile. So, \documentclass[border=10pt,tikz,multi]{standalone} \usepackage{prooftrees,turnstile} ...

1

I note that your example shows no signs of any attempt to modify the tree as you desire. Not even the content of the nodes is altered to reflect your target image. Anyway, though I ought not to answer this question, I'm going to anyway. At least, I'm answering the aspects which interest me. Further modifications are left for you, gentle reader, to complete ...

1

more coloreful ... \documentclass[tikz]{standalone} \usetikzlibrary[backgrounds,chains,positioning] \begin{document} \begin{tikzpicture}[ node distance = 12mm and 13mm, start chain = going right, vrtx/.style = {circle, draw=#1, fill=#1!50, outer sep=0pt, on chain} ] \foreach \i/\j [count=\k from ...

0

Using the matrix library of tikz as jlv say it : \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix[matrix of nodes, nodes={shape=circle, draw=black}, row sep=1cm, column sep=1cm] (m) { Y & P & P & P \\ R & B & G & Y \\ P & Y & R & R \\ }; ...

2

We can just make a final dotted edge to an empty node for all terminal nodes: \documentclass[border=10pt,tikz,multi]{standalone} \usepackage{forest} \begin{document} \begin{forest} for tree={ if n=1{edge label={node [midway, left, anchor=south] {0} } }{edge label={node [midway, right, anchor=south] {1} } }, draw, circle, if level=0{}{!u.s ...

2

Excessively verbose, in my view, when options such as Forest or tikz-qtree exist, but for those who enjoy typing: \documentclass[border=10pt,tikz,multi]{standalone} \usetikzlibrary{trees} \begin{document} \tikzset{% \tikzstyle is deprecated every node/.style = {draw=white, thick, anchor=west}, selected/.style = {dashed, fill=red!30}, optional/.style = ...

2

This is created using version 0.08 of an experimental package, justtrees based on Forest. (Copy available for testing on request.) \documentclass[tikz,border=10pt]{standalone} \usepackage{mathtools,justtrees}% version 0.08? \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{justtree} { declare count={tree n}{1}, just ...

2

Using more-or-less the formulae kindly transcribed from the do-it-for-me image by egreg when the OP failed to provide any help whatsoever, together with a tweaked version of the tableaux style I developed for this answer, I drew a version of the tree using Forest as follows. For the record, I think I ought not answer this question but I'm giving in to my ...

3

Picture mode is sufficient; pict2e is loaded for better compatibility with newer engines. \documentclass{article} \usepackage{amsmath} \usepackage{pict2e,color} \begin{document} \begin{gathered} \setlength{\unitlength}{0.5in} \begin{picture}(5,4) \put(5,3){\line(-3,2){1.5}} \put(3.5,4){\line(-3,-2){1.5}} \put(2,3){\line(0,-1){1}} ...

Top 50 recent answers are included