Debian Codegraph @

texmf-dist/doc/latex/semioneside/figure.mp

raw
1 %%
2 %% This is file `figure.mp',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% semioneside.dtx (with options: `figure')
8 %%
9 %% This is a generated file.
10 %%
11 %% Copyright (C) 2005 by Stephan Hennig <[email protected]>
12 %%
13 %% This file may be distributed and/or modified under the conditions of
14 %% the LaTeX Project Public License, either version 1.2 of this license
15 %% or (at your option) any later version. The latest version of this
16 %% license is in:
17 %%
18 %% http://www.latex-project.org/lppl.txt
19 %%
20 %% and version 1.2 or later is part of all distributions of LaTeX version
21 %% 1999/12/01 or later.
22 %%
23 verbatimtex
24 \documentclass{article}
25 \begin{document}
26 \footnotesize
27 etex
28 prologues := 1;
29 beginfig(1);
30 numeric pwd, pht, pdx;
31 pwd = 110bp;
32 pht = 110bp;
33 pdy = .1*pht;
34 spht = .6pht;
35
36 pickup pencircle scaled .8bp;
37 draw ( (0bp,0bp)--(2pwd,0bp)--(2pwd,spht)..{dir 190}(pwd,spht)..(0bp,spht)--cycle ) shifted (0bp,pht+pdy);
38 draw ( (pwd,0bp)--(pwd,spht) ) shifted (0bp,pht+pdy);
39 draw unitsquare xscaled 2pwd yscaled pht;
40 draw (pwd,0bp)--(pwd,pht);
41 draw ( (0bp,0bp)--(2pwd,0bp)--(2pwd,-spht)..{dir 190}(pwd,-spht)..(0bp,-spht)--cycle ) shifted (0bp,-pdy);
42 draw ( (pwd,0bp)--(pwd,-spht) ) shifted (0bp,-pdy);
43
44 label.top(btex left hand page etex, (.5pwd,spht) shifted (0bp,pht+2pdy));
45 label.top(btex right hand page etex, (1.5pwd,spht) shifted (0bp,pht+2pdy));
46 label.top(btex \parbox{100pt}{\itshape\dotfill\ running text \dotfill} etex, (1.5pwd,0bp) shifted (0bp,pht+pdy));
47 label.rt(btex \begin{tabular}{@{}l@{}}page\\break\end{tabular} etex, (2pwd,0bp) shifted (.5pdy,pht+pdy));
48 label.llft(btex \begin{tabular}[c]{@{}l@{}}called via\\\texttt{\textbackslash afterpage}\end{tabular} $\left\{\mathrm{\raisebox{-2\baselineskip}{\rule{0pt}{4\baselineskip}}}\right.$ etex, (0bp,pht) shifted (-.25pdy,0bp));
49 label.bot(btex \parbox{100pt}{\ttfamily\textbackslash leftpagecontrolstart\par\textbackslash leftpagecontent\par\textbackslash leftpagecontrolend\par\textbackslash clearpage} etex, (.5pwd,pht));
50 label.bot(btex \parbox{100pt}{\texttt{\textbackslash rightpagecontrolstart}\par\dotfill\ \textit{running text} \dotfill} etex, (1.5pwd,pht));
51 label.top(btex \parbox{100pt}{\itshape\dotfill\ running text \dotfill} etex, (1.5pwd,0bp));
52 label.rt(btex \begin{tabular}{@{}l@{}}page\\break\end{tabular} etex, (2pwd,0bp) shifted (.5pdy,0bp));
53 label.llft(btex \begin{tabular}[c]{@{}l@{}}called via\\\texttt{\textbackslash afterpage}\end{tabular} $\left\{\mathrm{\raisebox{-2\baselineskip}{\rule{0pt}{4\baselineskip}}}\right.$ etex, (0bp,-pdy) shifted (-.25pdy,0bp));
54 label.bot(btex \parbox{100pt}{\ttfamily\textbackslash leftpagecontrolstart\par\textbackslash leftpagecontent\par\textbackslash leftpagecontrolend\par\textbackslash clearpage} etex, (.5pwd,-pdy));
55 label.bot(btex \parbox{100pt}{\texttt{\textbackslash rightpagecontrolstart}\par\dotfill\ \textit{running text} \dotfill} etex, (1.5pwd,-pdy));
56
57 pickup pencircle scaled .4bp;
58 drawarrow (.25pwd,pht-45pt){dir -45}..(.8pwd,pht-30pt)..{right}(.99pwd,.95pht);
59 drawarrow ( (.25pwd,pht-45pt){dir -45}..(.8pwd,pht-30pt)..{right}(.99pwd,.95pht) ) shifted (0bp,-pht-pdy);
60 endfig;
61
62 end
63 \endinput
64 %%
65 %% End of file `figure.mp'.