merged Brian and Adams changes
[nestedvm.git] / doc / nestedvm.ivme04-fig1.tex
1 \documentclass{article}
2 \input tmp.inputs
3 \pagestyle{empty}
4 \usepackage{amssymb,amsbsy}
5 \begin{document}
6 \newlength{\MyLength}
7 \settowidth{\MyLength}{machine code}
8 \newcommand{\MyBox}[1]{\makebox[\MyLength][c]{#1}}
9 \begin{psmatrix}[colsep=2,rowsep=0]
10   & \\[0pt]
11   [name=s0]\MyBox{unsafe source} & [name=s1]\MyBox{safe source}   \\[0pt]
12   [name=s00]\MyBox{\tt (.c)} & [name=s11]\MyBox{\tt (.java)}   \\[0pt]
13   & \\[0pt]
14   & \\[0pt]
15   & \\[0pt]
16   [name=b0]\MyBox{machine code}  & [name=b1]\MyBox{safe bytecode} \\[0pt]
17   [name=b00]\MyBox{\tt (.o)}  & [name=b11]\MyBox{\tt (.class)} \\
18   & \\[0pt]
19   \psset{nodesep=5pt,arrows=->}
20 \end{psmatrix}
21 \end{document}