summaryrefslogtreecommitdiff
path: root/info/examples/tabulars-e/03-03-5.ltx
blob: bf19e5e12744256becf0560c56da3fade5d6f68c (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 03-03-5 on page 124.
%% 
%%  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{201.70511pt}
\setlength\parindent{0pt}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}

\usepackage{array,booktabs,ragged2e}
\usepackage[table]{xcolor}     \definecolor{gold}{rgb}{.99,1,.9}
\definecolor{lgrey}{gray}{.95} \definecolor{lblue}{rgb}{.92,.97,1}
\newcolumntype{C}[1]{>{\columncolor{#1}[0pt][\tabcolsep]\Centering$}c<{$}}
\newcolumntype{M}[2]{>{\columncolor{#1}[2\tabcolsep][0pt]\Centering$}m{#2}<{$}}

\begin{document}
\begin{tabular}{@{}C{yellow!40}*{10}{>{$}m{12pt}<{$}}M{lgrey}{14pt}M{lgrey}{12pt}@{}}\toprule
\rowcolor{blue!40}Tabelle&\mathsf{1}&\mathsf{2}&\mathsf{3}&\mathsf{4}&\mathsf{5}&\mathsf{6}
  &\mathsf{7} &\mathsf{8}&\mathsf{9}&\mathsf{10}&Y_{t}  &Z_{t}\\\midrule
0 &\circ&\circ&\circ&\circ&\circ  &\circ  &\circ&\ast   &\circ  &\circ&1&\mbox{---} \\
1 &\circ&\circ&\circ&\circ&\circ  &\circ  &\circ&\dagger&\ast   &\circ&1&1\\
2 &\circ&\circ&\circ&\circ&\ast   &\ast   &\circ&\dagger&\dagger&\circ&2&2\\
3 &\circ&\circ&\circ&\circ&\dagger&\ast   &\circ&\dagger&\dagger&\circ&1&0\\
4 &\circ&\circ&\circ&\circ&\dagger&\dagger&\circ&\dagger&\dagger&\circ&0&0\\\bottomrule
\end{tabular}
\end{document}