diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-27 18:44:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-27 18:44:23 +0000 |
commit | 5691eba007aa04de66f737f9e721b76d2d6b5454 (patch) | |
tree | e311d22644159d4c129bfe9291862d91eb7a0e18 /Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx | |
parent | 43a74c7594c1ac6be0685cc2339594b63536bd3b (diff) |
tabulars-e examples (25jan11)
git-svn-id: svn://tug.org/texlive/trunk@21191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx b/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx new file mode 100644 index 00000000000..bf19e5e1274 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tabulars-e/03-03-5.ltx @@ -0,0 +1,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} |