答案1
快速提议。如果需要,定义一个新的宏是你的工作。
\documentclass[tikz]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
bigbox/.style={draw,minimum height=1cm,minimum width=1.5cm},
smallbox/.style={draw,minimum height=.75cm,minimum width=1.5cm,font=\color{green}},
labelbox/.style={font=\color{red}}
]
\node[bigbox] (59) {59};
\node[bigbox,below=of 59] (85) {85};
\node[smallbox,right=of 59] (e) {$e$};
\node[smallbox,right=of 85] (e2) {$e_2$};
\path[labelbox] (59.west) node[left] {59} (85.west) node[left] {85};
\draw[->] (59) edge (e) (85) edge (e2);
\end{tikzpicture}
\end{document}