%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  2. Auflage
%% 
%%  Beispiel 15-02-62 auf Seite 746.
%% 
%%  Copyright (C) 2016 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
verbatimtex
%% 
\documentclass[]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\def\XeTeX{X\raisebox{-0.5ex}{E}\kern-0.125em\TeX}
%\DeclareRobustCommand\XeTeX{X\kern-0.5em\raisebox{-0.5ex}{\reflectbox{E}}\kern0.27em\TeX}
\begin{document}
etex
% --- start of displayed preamble in the book ---
input metaobj;
% --- end of displayed preamble in the book ---
beginfig(1)
newBox.quelle(btex \strut\TeX-Datei etex); newBox.quelleU(btex \strut\TeX-Datei etex);
newBox.quelleL(btex \strut\TeX-Datei etex);newBox.quelleR(btex \strut\TeX-Datei etex);
newBox.pdftex(btex \strut pdf\TeX etex);   newBox.luatex(btex \strut lua\TeX etex);
newBox.xetex(btex \strut\XeTeX etex);      newBox.pdftexU(btex \strut pdf\TeX etex);
newBox.luatexU(btex \strut lua\TeX etex);  newBox.xetexU(btex \strut\XeTeX etex);
newBox.pdftexL(btex \strut pdf\TeX etex);  newBox.luatexL(btex \strut lua\TeX etex);
newBox.xetexL(btex \strut\XeTeX etex);     newBox.pdftexR(btex \strut pdf\TeX etex);
newBox.luatexR(btex \strut lua\TeX etex);  newBox.xetexR(btex \strut\XeTeX etex);
newTree.TEX(quelle)(pdftex,luatex,xetex);
newTree.TEXup(quelleU)(pdftexU,luatexU,xetexU) "treemode(U)";
newTree.TEXleft(quelleL)(pdftexL,luatexL,xetexL) "treemode(L)", "Lalign(left)";
newTree.TEXright(quelleR)(pdftexR,luatexR,xetexR) "treemode(R)", "Ralign(right)";
TEX.n=origin-(0,5mm);            TEXup.s=TEX.n+(0,5mm);
TEXleft.e=quelle.nw-(5mm,-2.5mm);TEXright.w=quelle.ne+(5mm,2.5mm);
drawObj(TEX,TEXup,TEXleft,TEXright);
endfig;
end;
\end{document}
