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
45
46
47
48
49
50
51
52
53
|
%%
%% A DANTE-Edition example
%%
%% Example 03-03-4 on page 123.
%%
%% 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}
\AtBeginDocument{\definecolor{RAL1023}{cmyk}{0.0,0.1,0.9,0.0} \definecolor{RAL2009}{cmyk}{0.05,0.7,1.0,0.0}
\definecolor{RAL3020}{cmyk}{0.0,1.0,1.0,0.1} \definecolor{RAL4006}{cmyk}{0.5,1.0,0.0,0.1}
\definecolor{RAL5017}{cmyk}{1.0,0.2,0.05,0.4}\definecolor{RAL6024}{cmyk}{0.9,0.1,0.8,0.1}
\definecolor{RAL7042}{cmyk}{0.3,0.1,0.2,0.4} \definecolor{RAL7043}{cmyk}{0.3,0.1,0.2,0.8}
\definecolor{RAL9016}{cmyk}{0.03,0.0,0.0,0.0}\definecolor{RAL9017}{cmyk}{1.0,0.9,1.0,0.95}
\footnotesize}
\newcommand\TZeile[9]{%
\cellcolor{#1} & \cellcolor{cyan!#2}#2 & \cellcolor{magenta!#3}#3
&\cellcolor{yellow!#4}#4 &\cellcolor{black!#5}\ifnum#5>60 \color{white}\fi#5 \mbox{#6}
&\cellcolor{red!#7}#7 &\cellcolor{green!#8}#8 &\cellcolor{blue!#9}#9 }
\usepackage[table]{xcolor}\usepackage{ragged2e}% see preamble -> CTAN!
\begin{document}
\begin{tabular}{>{\Centering}p{1.75cm}>{\columncolor{cyan}}c>{\columncolor{magenta}}c
>{\columncolor{yellow}}c>{\columncolor{black}}c >{\Centering}p{2.5cm}
>{\columncolor{red}}c>{\columncolor{green}}c>{\columncolor{blue}}c >{\Centering}p{1.75cm}}
CMYK & C & M & Y & \color{white}K & name & R & G & \color{white}B & RGB\\\hline
\TZeile{RAL1023}{0}{10}{90}{0}{traffic yellow}{100}{90}{10} & \cellcolor[rgb]{1,0.9,0.1}\\
\TZeile{RAL2009}{5}{70}{100}{0}{traffic orange}{95}{30}{0} & \cellcolor[rgb]{0.95,0.3,0}\\
\TZeile{RAL3020}{0}{100}{100}{10}{traffic red}{90}{0}{0} & \cellcolor[rgb]{0.9,0,0}\\
\TZeile{RAL4006}{50}{100}{0}{10}{traffic purple}{40}{0}{90} & \cellcolor[rgb]{0.4,0,0.9}\\
\TZeile{RAL5017}{100}{20}{5}{40}{traffic blue}{0}{40}{55} & \cellcolor[rgb]{0,0.4,0.55}\\
\TZeile{RAL6024}{90}{10}{80}{10}{traffic green}{0}{80}{10} & \cellcolor[rgb]{0,0.8,0.1}\\
\TZeile{RAL7042}{30}{10}{20}{40}{traffic grey A}{30}{50}{40} & \cellcolor[rgb]{0.3,0.5,0.4}\\
\TZeile{RAL7043}{30}{10}{20}{80}{traffic grey B}{0}{10}{0} & \cellcolor[rgb]{0,0.1,0}\\
\TZeile{RAL9016}{3}{0}{0}{0}{traffic white}{97}{100}{100} & \cellcolor[rgb]{0.97,1,1}\\
\TZeile{RAL9017}{100}{90}{100}{95}{traffic black}{0}{0}{0} & \cellcolor[rgb]{0,0,0}
\end{tabular}
\end{document}
|