2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/tikz/evaluation-tree/evaluation-tree.tex
Martin Thoma 7740f0147f Remove trailing spaces
The commands

find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

and

find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

were used to do so.
2015-10-14 14:25:34 +02:00

26 lines
656 B
TeX

\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{shapes, calc}
\tikzstyle{vertex}=[draw,fill=black!15,circle,minimum size=20pt,inner sep=0pt]
\begin{document}
\begin{preview}
\begin{tikzpicture}
\node[vertex] {+}
child {
node[vertex] {+}
child {
node[vertex] {+}
child { node[vertex] {i} }
child { node[vertex] {++i} }
}
child { node[vertex] {i++} }
} child {
node[vertex] {++i}
}
;
\end{tikzpicture}
\end{preview}
\end{document}