summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/35-00-66.ltx
blob: 7c59b206f9a2899b78cc550bea74e2501dba6a08 (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 35-00-66 auf Seite 844.
%% 
%%  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.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage[table]{pstricks}
\usepackage{pstricks-add,amsmath}
\newsavebox\PstBox
%StopShownPreambleCommands
\begin{document}
\savebox\PstBox{%
  \begin{tabular}{p{3cm}*{6}{c}r}
  \rowcolor{cyan!50}
  Team & P & W & \rnode[tr]{ur1}{D} & L & F & A & \rnode[tr]{ur2}{Pts} \\\hline
  Manchester United & 6 & 4 & 0 & 2 & 10 & 5 & 12  \\
  Celtic            & 6 & 3 & 0 & 3 & 8  & 9 & 9   \\
  Benfica           & 6 & 2 & 1 & 3 & 7  & 8 & 7   \\
  FC Copenhagen & \rnode[bl]{ll1}{6} & 2 & 1 & 2 & 5 & \rnode[bl]{ll2}{8} & 7 \\
\end{tabular}}
\makebox[0pt][l]{\usebox\PstBox}\psframe*[linecolor=red!50,framearc=0.2]%
  ([angle=210,nodesep=10pt]ll1)([angle=60,nodesep=10pt]ur1)
\psframe*[linecolor=blue!50,framearc=0.2]([angle=210,nodesep=10pt]ll2)([angle=60,nodesep=10pt]ur2)%
\makebox[0pt][l]{\usebox\PstBox}
\end{document}