summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/einfuehrung/15-02-62.mp2
blob: e8115ea3dd764e7d0a62d902b7bd648e47d098ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  1. Auflage
%% 
%%  Beispiel 15-02-62 auf Seite 769.
%% 
%%  Copyright (C) 2011 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}