summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tabulars-e/06-00-4.ltxps
blob: 58f6b34964779339d622ec121bb354902f8ee965 (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
%% 
%%  A DANTE-Edition example
%% 
%%  Example 06-00-4 on page 180.
%% 
%%  Copyright (C) 2010 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[]{article}
\pagestyle{empty}
\setlength\textwidth{129.70511pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}

\usepackage[table]{pstricks}
\usepackage{pst-3d,pst-node}\SpecialCoor

\begin{document}
\begin{tabular}{l}
\pstilt{60}{\begin{tabular}{|p{1em}|p{1em}|p{1em}|}\hline
  \rowcolor{magenta!10}\psrotateleft{\rnode{col1}{\hspace{2cm}}} &
  \psrotateleft{\rnode{col2}{\hspace{2cm}}} &
  \psrotateleft{\rnode{col3}{\hspace{2cm}}}
 \end{tabular}}\\% end head
\rput[t]{60}(col1){column 1}\rput[t]{60}(col2){column 2}%
\rput[t]{60}(col3){column 3}%
 \begin{tabular}{|p{1em}|p{1em}|p{1em}|}\hline
  \rowcolor{green!10} 1 & 2 & 3 \\\rowcolor{blue!10}  4 & 5 & 6 \\
  \rowcolor{green!10} 7 & 8 & 9 \\\hline
 \end{tabular}
\end{tabular}
\end{document}