summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex-graphics-companion/5-3-9.ltx
blob: 5c9bf582317c8ddcdb1409ae2e0879ae7464bbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\documentclass{ppex}
\nonstopmode
\usepackage [frame]{xy}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage [frame]{xy}
\[
\newcommand{\smbf}{\small\bfseries}  \newcommand{\smit}{\small\itshape}
\begin{xy}
 0*=(22,14)!UR!(-10,-8)[F]\txt\smbf{center\\of box}="box";
  "box"+L*+!R\txt\small{Left\\side}
 ,"box"+R*+!L\txt\small{Right\\side}
 ,"box"+D*+!U\txt\small{Bottom side}
 ,"box"+U*+!D\txt\small{Top side}
 ,"box"+LD*@{*}*+!RU\txt<2cm>\smit{Lower left diagonal}
 ,"box"+RD*@{*}*+!LU\txt<2cm>\smit{Lower right diagonal}
 ,"box"+LU*@{*}*+!RD\txt<2cm>\smit{Upper left diagonal}
 ,"box"+RU*@{*}*+!LD\txt<2cm>\smit{Upper right diagonal}
\end{xy}\]
\end{document}