summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/2-3-11.ltx
blob: 3c02cee6189b3cef23ac7fd23071a38776cfe9e3 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
\documentclass{ppex}
\nonstopmode
\usepackage {epic,pspicture,array}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage {epic,pspicture,array}
\small
\setlength{\unitlength}{0.75mm}         %FMi was 1mm
       \begin{picture}(100,100)
%\graphpaper[5](0,0)(100,100)
       \thicklines
        \put(20,10){\framebox(50,80){}}
%%    label points in bounding box
        \put(20,10){\makebox(-1,-1)[tr]{\texttt{[lb]}}}
        \put(20,35){\makebox(-1,-1)[tr]{\texttt{[lB]}}}
        \put(20,35){\makebox(0,0){{\Large$\bullet$}}}
        \put(20,51){\makebox(-1,+2)[br]{\texttt{[lc]}}}
        \put(20,91){\makebox(-1,+2)[br]{\texttt{[lt]}}}
        \put(45,10){\makebox(0,-1)[tc]{\texttt{[cb]} or \texttt{[b]}}}
        \put(45,35){\makebox(0,-1)[tl]{\texttt{[cB]} or \texttt{[B]}}}
        \put(45,51){\makebox(0,+3)[bl]{\texttt{[c]}}}
        \put(45,50){\makebox(0,0){{\Large$\diamond$}}}
        \put(45,91){\makebox(0,+9)[bc]{\texttt{[ct]} or \texttt{[t]}}}
        \put(70,10){\makebox(1,-1)[tl]{\texttt{[rb]}}}
        \put(70,35){\makebox(1,-1)[tl]{\texttt{[rB]}}}
        \put(70,51){\makebox(1,+2)[bl]{\texttt{[rc]}}}
        \put(70,91){\makebox(1,+2)[bl]{\texttt{[rt]}}}
       \thinlines
%%    centerlines
        \dashline[+30]{3}(20,50)(70,50)
        \dashline[+30]{3}(45,10)(45,90)
%%    baseline
        \dottedline{1}(20,35)(85,35)
%%    material for vertical dimensions
        \dottedline{1}(70,10)(92,10) % bottom extension to right
        \dottedline{1}(70,90)(92,90) % top    extension to right
        \put(79,60){\Vector(0,-25)}
        \put(79,65){\Vector(0,25)}
        \put(79,62.5){\makebox(0,0){\texttt{height}}}
        \put(79,20){\Vector(0,-10)}
        \put(79,25){\Vector(0,10)}
        \put(79,22.5){\makebox(0,0){\texttt{depth}}}
        \put(90,48){\Vector(0,-38)}
        \put(90,52){\Vector(0,38)}
        \put(90,50){\makebox(0,0){\texttt{ totalheight}}}
%%    material for horizontal dimension
        \put(20,10){\Line(0,-8)}
        \put(70,10){\Line(0,-8)}
        \put(35,4){\Vector(-15,0)}
        \put(55,4){\Vector(15,0)}
        \put(45,4){\makebox(0,0){\texttt{length}}}
%%    material for labeling center and reference points
        \put(52.5,46){\Vector(-6,3.5)}
        \put(52.5,45){\makebox(0,0)[tc]{\shortstack{center\\point}}}
        \put(10,40){\Vector(9,-4)}
        \put(10,40){\makebox(0,0)[bc]{\shortstack{reference\\point}}}
%%    material for labels of axes and baseline
        \put(32.5,60){\Vector(5,-9)}
        \put(32.5,65){\Vector(12.,9)}
        \put(32.5,61){\makebox(0,0)[bc]{centerline}}
        \put(32.5,25){\Vector(5,9)}
        \put(32.5,24){\makebox(0,0)[tc]{baseline}}
       \end{picture}

\begin{tabular}{l*3{>{\ttfamily}ll}}
\emph{horizontal alignment} & l & left & r & right  & c & centre \\
\emph{vertical alignment}   & t & top  & b & bottom & B & baseline
\end{tabular}
\end{document}