Commit 8db59009 by Jaime Arias

 \documentclass[preview]{standalone} \input{../../base.tex} \begin{document} \begin{figure} \begin{minipage}[c]{0.5\textwidth}% % ADT \centering \scalebox{.75}{ \begin{tikzpicture}[every node/.style={ultra thick,draw=red}] % depth 0 \node[and gate US,point up,logic gate inputs=nn] (a) {\rotatebox{-90}{$A$}}; % depth 1 \node[and gate US,point up,logic gate inputs=nn, below = 9mm of a.west, yshift=-6mm] (c) {\rotatebox{-90}{$C$}}; \draw (c.east) -- ([yshift=0.15cm]c.east) -| (a.input 2); \node[state, below = 3.6mm of a.west, xshift=-9mm] (b) {$b$}; \draw (b.north) -- ([yshift=0.15cm]b.north) -| (a.input 1); % % depth 2 \node[state, below = 3.6mm of c.west, xshift=-9mm] (d) {$d$}; \draw (d.north) -- ([yshift=0.15cm]d.north) -| (c.input 1); \node[state, below = 3.6mm of c.west, xshift=9mm] (e) {$e$}; \draw (e.north) -- ([yshift=0.15cm]e.north) -| (c.input 2); \end{tikzpicture} } \end{minipage} \begin{minipage}[c]{0.5\textwidth}% \centering % information \scalebox{.75}{\parbox{\linewidth}{% \begin{tabular}{l@{~}l@{~}r@{~}} \textbf{Name} & \textbf{Cost} & \textbf{Time} \\ \hline \gate{a} & \EUR{0} & 0~d \\ \gate{c} & \EUR{0} & 1~d \\ \leaf{b} & \EUR{0} & 2~d \\ \leaf{d} & \EUR{0} & 4~d \\ \leaf{e} & \EUR{0} & 3~d \\ \end{tabular} }} \end{minipage} \end{figure} \end{document}