summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-spectra/pgf-spectraManual_defs.tex
blob: 268fbee0667f7bc8a36c7e630f412b173b6a361c (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% pgf-spectraManual documentation definitions
% the code is not optimized, made by «chunks»
% to carry out the development of the package
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{makeidx}
\makeindex%
\usepackage{listings}
\lstdefinestyle{numbers}
    {numbers=left, stepnumber=1, numberstyle=\tiny\color{black!70}, numbersep=10pt}
\lstset{%
    keywordstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize\color{blue!50!black},%
    basicstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize,%
    style=numbers,%
    breaklines=true,%
    breakindent=10pt,%
    commentstyle=\fontfamily{Roboto-LF}\selectfont\itshape\footnotesize\color{green!50!black},%
    stringstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize,%
    showstringspaces=false,%
    language=[LaTeX]TeX,%
    defaultdialect=[LaTeX]TeX,%
    deletekeywords={gamma,Gamma},%
    classoffset=0,%
    texcsstyle=*[0]{\fontfamily{Roboto-LF}\selectfont\footnotesize\color{blue!50!black}},
    morekeywords={PackageError,RequirePackage,DeclareOption,ExecuteOptions,ProcessOptions,%
                              @Roman,@for,ProvidesPackage,setlength},%
    keywordstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize\color{blue!50!black},%
    classoffset=1,%
    texcsstyle=*[1]{\fontfamily{Roboto-LF}\selectfont\footnotesize\color{orange!50!black}},%
    morekeywords={PreviewEnvironment,definecolor,colorlet,pgfkeys,tikz,%
                              foreach,pgfmathparse,pgfmathresult,pgfmathprintnumberto,pgfdeclarehorizontalshading,draw,node,%
                              pgfdeclareradialshading,pgfdeclareverticalshading,clip},%
    keywordstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize\color{orange!50!black},%
    classoffset=2,%
    texcsstyle=*[2]{\fontfamily{Roboto-LF}\selectfont\footnotesize\color{red!55!black}},%
    morekeywords={wlcolor,tempercolor,pgfspectra,pgfspectraStyle,pgfspectraStyleReset,pgfspectrashade,%
                               pgfspectraplotshade,pgfspectraplotmap,pgfspectrarainbow},%
    keywordstyle=\fontfamily{Roboto-LF}\selectfont\footnotesize\color{red!55!black},%
    classoffset=0%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter%
\renewenvironment{theindex}%
               {\if@twocolumn%
                  \@restonecolfalse%
                \else%
                  \@restonecoltrue%
                \fi%
%             \twocolumn[\section*{\indexname}]%
                \twocolumn[\section{\indexname}]%
                \@mkboth{\MakeUppercase\indexname}%
                        {\MakeUppercase\indexname}%
                \thispagestyle{pgfSpectraManual}\parindent\z@%
                \parskip\z@ \@plus .3\p@\relax%
                \columnseprule \z@%
                \columnsep 35\p@%
                \let\item\@idxitem}%
               {\if@restonecol\onecolumn\else\clearpage\fi}%
\makeatother%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\bs#1{\textcolor{blue!50!black}{\textbackslash#1}}%
\def\txttikz{\textsf{Ti\textit{k}Z}}%
\def\txtPGFPLOTS{\textsf{\small PGFPLOTS}}%
\def\txtspec{\textcolor{blue!50!black}{\textbackslash pgfspectra}}%
\def\txtspecopt[#1]{\textcolor{blue!50!black}{\textbackslash pgfspectra[}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{]}}%
\def\txtwlcolor#1{\textcolor{blue!50!black}{\textbackslash wlcolor\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}}%
\def\txtwlcolorname{\textcolor{blue!50!black}{\textbackslash wlcolor}}%
\def\txttempercolor#1{\textcolor{blue!50!black}{\textbackslash tempercolor\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}}
\def\txtshadename{\textcolor{blue!50!black}{\textbackslash pgfspectrashade}}%
\def\txtshade{\textcolor{blue!50!black}{\textbackslash pgfspectrashade[}\textcolor{red!50!black}{<h|v>\textcolor{blue!50!black}{](}\textcolor{red!50!black}{start,end}\textcolor{blue!50!black}{)\{}\textcolor{red!50!black}{name}\textcolor{blue!50!black}{\}}}}%
\def\txtshadecom(#1,#2)#3{\textcolor{blue!50!black}{\textbackslash pgfspectrashade(}\textcolor{red!50!black}{#1,#2}\textcolor{blue!50!black}{)\{}\textcolor{red!50!black}{#3}\textcolor{blue!50!black}{\}}}%
\def\txtshadecomoption[#1](#2,#3)#4{\textcolor{blue!50!black}{\textbackslash pgfspectrashade[}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{](}\textcolor{red!50!black}{#2,#3}\textcolor{blue!50!black}{)\{}\textcolor{red!50!black}{#4}\textcolor{blue!50!black}{\}}}%
\def\txtshadelogname{\textcolor{blue!50!black}{\textbackslash pgfspectralogshade}}%
\def\txtshadetikz#1#2#3{\texttt{\textbackslash tikz\{\textbackslash\string f{i}ll[#1] (#2) rectangle (#3);\}}}%
\def\txtnewline{\textbackslash\textbackslash\ }%
\def\txtplotshadename{\textcolor{blue!50!black}{\textbackslash pgfspectraplotshade}}%
\def\txtplotshade{\textcolor{blue!50!black}{\textbackslash pgfspectraplotshade[}\textcolor{red!50!black}{options}\textcolor{blue!50!black}{]\{}\textcolor{red!50!black}{name}\textcolor{blue!50!black}{\}}}%
\def\txtplotshadecom#1{\textcolor{blue!50!black}{\textbackslash pgfspectraplotshade\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}}%
\def\txtplotshadecomoption[#1]#2{\textcolor{blue!50!black}{\textbackslash pgfspectraplotshade[}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{]\{}\textcolor{red!50!black}{#2}\textcolor{blue!50!black}{\}}}%
\def\txtplotmapname{\textcolor{blue!50!black}{\textbackslash pgfspectraplotmap}}%
\def\txtplotmap{\textcolor{blue!50!black}{\textbackslash pgfspectraplotmap[}\textcolor{red!50!black}{<l|h>}\textcolor{blue!50!black}{]\{}\textcolor{red!50!black}{name}\textcolor{blue!50!black}{\}}}%
\def\txtplotmapcom#1{\textcolor{blue!50!black}{\textbackslash pgfspectraplotmap\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}}%
\def\txtplotmapcomoption[#1]#2{\textcolor{blue!50!black}{\textbackslash pgfspectraplotmap[}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{]\{}\textcolor{red!50!black}{#2}\textcolor{blue!50!black}{\}}}%
\def\txtrainbow{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{red!50!black}{<[tikz options]><(rainbow options)>}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{radius}\textcolor{blue!50!black}{\}}}%
\def\txtrainbowtitle{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{red!50!black}{<[tikz options]><(rainbow\\ [2pt]\makebox[1.1em][s]{}options)>}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{radius}\textcolor{blue!50!black}{\}}}%
\def\txtrainbowname{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}}%2em
\def\txtrainbowcom#1{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}}%
\def\txtrainbowcomoptions[#1](#2)#3{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{red!50!black}{[#1](#2)}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{#3}\textcolor{blue!50!black}{\}}}%
\def\txtrainbowcomoptiontikz[#1]#2{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{red!50!black}{[#1]}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{#2}\textcolor{blue!50!black}{\}}}%
\def\txtrainbowcomoptionrainbow(#1)#2{\textcolor{blue!50!black}{\textbackslash pgfspectrarainbow}\textcolor{red!50!black}{(#1)}\textcolor{blue!50!black}{\{}\textcolor{red!50!black}{#2}\textcolor{blue!50!black}{\}}}%
\def\pack{\large\texttt{pgf-spectra}\normalsize}%
\def\txtspecsty{\textcolor{blue!50!black}{\textbackslash pgfspectraStyle}}%
\def\txtspecstyle[#1]{\textcolor{blue!50!black}{\textbackslash pgfspectraStyle[}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{]}}%
\def\txtspecstylereset{\textcolor{blue!50!black}{\textbackslash pgfspectraStyleReset}}%
\def\sectioncom#1#2#3{% #3 -> space before the spectra
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em] at (0,0) {#1};}}%
\\ [1pt]\makebox[#3][s]{}#2\relax%
\\ [-6pt]\makebox[\textwidth][c]{\tikz{\draw[fill=black!20,draw=black!20,rounded corners=1pt] (0,0) rectangle ++(\textwidth,-3pt);}}%
\smallskip}%
%
\def\bigsectioncom#1#2#3#4{% #4 -> space before the spectra
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em] at (0,0) {#1};}}%
\newpage%
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em] at (0,0) {#2};}}%
\\ [1pt]\makebox[#4][s]{}#3\relax%
\\ [-6pt]\makebox[\textwidth][c]{\tikz{\draw[fill=black!20,draw=black!20,rounded corners=1pt] (0,0) rectangle ++(\textwidth,-3pt);}}%
\smallskip}%
%
\makeatletter%
\def\com{\@ifnextchar[\@com{\@com[0pt]}}%
\def\@com[#1]#2#3{%
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em-5mm] at (0,0) {#2};}}%
\\ [1pt]\makebox[\textwidth][c]{#3\relax}%
\pgfmathparse{-6pt+#1}\edef\myparskip{\pgfmathresult pt}%
\\ [\myparskip]\makebox[\textwidth][c]{\tikz{\draw[fill=black!20,draw=black!20,rounded corners=1pt] (0,0) rectangle ++(\textwidth-5mm,-3pt);}}%
\smallskip}%
\makeatother%
\def\comnewpage#1#2{%
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em-5mm] at (0,0) {#1};}}%
\newpage\makebox[\textwidth][c]{#2\relax}%
\\ [-6pt]\makebox[\textwidth][c]{\tikz{\draw[fill=black!20,draw=black!20,rounded corners=1pt] (0,0) rectangle ++(\textwidth-5mm,-3pt);}}%
\smallskip}%
\def\bigexample#1#2{%
\makebox[\textwidth][c]{\tikz{\node[fill=black!20,draw=black!20,rounded corners=1pt,right,text width=\textwidth-.6666em-5mm] at (0,0) {#1};}}%
\\ [1pt]\makebox[.025\textwidth][s]{}\begin{minipage}{.9\linewidth}
#2\relax\end{minipage}%
\\ \makebox[\textwidth][c]{\tikz{\draw[fill=black!20,draw=black!20,rounded corners=1pt] (0,0) rectangle ++(\textwidth-5mm,-3pt);}}%
\smallskip}%
%%%%%%%%%%%%%%%%
\pgfdeclarelayer{back}
\pgfsetlayers{back,main}
\def\option#1#2#3{\index{OPTIONS@\textbf{OPTIONS}\addtoind!#1}% option,default,description
% before skip in class 3.25ex plus -1ex minus -0.2ex after skip in class1.5ex plus 0.2ex ->
\vskip-4.75ex\vskip-18pt\ \subsection*{}\addcontentsline{toc}{subsection}{\texorpdfstring{$\rightsquigarrow$ #1}{#1}}%
\begin{tikzpicture}%
\node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#1}{#1}};%
\node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#2};
\node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) {#3};
\begin{pgfonlayer}{back}
\path[left color=orange!20,right color=black!30!orange!50,rounded corners=2pt] (a.north west) rectangle (c.south east);
\end{pgfonlayer}
\end{tikzpicture}%
}%
\def\newoption#1#2#3{\index{OPTIONS@\textbf{OPTIONS}\addtoind!#1}% option,default,description
\vskip-4.75ex\vskip-18pt\ \subsection*{}\addcontentsline{toc}{subsection}{\texorpdfstring{$\rightsquigarrow$ #1}{#1}}%
\begin{tikzpicture}%
\node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#1}{#1}};%
\node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#2};
\node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) {#3\hfill\textit{\textcolor{blue}{(new in v2.0.0)}}};
\begin{pgfonlayer}{back}
\path[left color=orange!20,right color=black!30!orange!50,rounded corners=2pt] (a.north west) rectangle (c.south east);
\end{pgfonlayer}
\end{tikzpicture}%
}%
\def\newminoroption#1#2#3{\index{OPTIONS@\textbf{OPTIONS}\addtoind!#1}% option,default,description
\vskip-4.75ex\vskip-18pt\ \subsection*{}\addcontentsline{toc}{subsection}{\texorpdfstring{$\rightsquigarrow$ #1}{#1}}%
\begin{tikzpicture}%
\node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#1}{#1}};%
\node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#2};
\node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) {#3\hfill\textit{\textcolor{blue}{(new in v\minorversion)}}};
\begin{pgfonlayer}{back}
\path[left color=orange!20,right color=black!30!orange!50,rounded corners=2pt] (a.north west) rectangle (c.south east);
\end{pgfonlayer}
\end{tikzpicture}%
}%
\def\newminorrevoption#1#2#3{\index{OPTIONS@\textbf{OPTIONS}\addtoind!#1}% option,default,description
\vskip-4.75ex\vskip-18pt\ \subsection*{}\addcontentsline{toc}{subsection}{\texorpdfstring{$\rightsquigarrow$ #1}{#1}}%
\begin{tikzpicture}%
\node[below right,font=\small\bfseries] (a) at (0,0) {\hypertarget{option:#1}{#1}};%
\node[below left,font=\small] (b) at (\textwidth-.3333em,0) {default: \itshape#2};
\node[below right,text=black!80,font=\small,text width=\textwidth-.6666em] (c) at (a.south west) {#3\hfill\mbox{\textit{\textcolor{blue}{(new in v\minorrevversion)}}}};
\begin{pgfonlayer}{back}
\path[left color=orange!20,right color=black!30!orange!50,rounded corners=2pt] (a.north west) rectangle (c.south east);
\end{pgfonlayer}
\end{tikzpicture}%
}%
\def\endoption{\\ [-9pt]\tikz{\path[left color=orange!20,right color=black!30!orange!50,rounded corners=2pt] (0,0) rectangle ++(\textwidth,-4.5pt);}}
% for options table
%
\newdimen\cellht%
\newdimen\wdbi\newdimen\wdbii\newdimen\wdbiii\newdimen\wdbiv\newdimen\wdbv%\newdimen\wdbvi%
\newdimen\boxinnersep\boxinnersep=8pt\relax%
%
\def\header{%
\wdbi=.16\linewidth\wdbii=.42\linewidth\wdbiii=.09\linewidth\wdbiv=.15\linewidth\wdbv=.18\linewidth%\wdbvi=.08\linewidth%
\begin{tikzpicture}[every node/.style={inner sep=0pt,font=\scriptsize\bfseries,draw=black!75,fill=black!20,below right,text height=10pt,text depth=4pt}]
\node[text width=\wdbi] (key) at (0,0) {\ key};% 1
\node[text width=\wdbii] (desc) at ([xshift=-1pt]key.north east) {\ description};% 2
\node[text width=\wdbiii] (type) at ([xshift=-1pt]desc.north east) {\ type};% 3
\node[text width=\wdbiv] (default) at ([xshift=-1pt]type.north east) {\ default};% 4
\node[text width=\wdbv] (values) at ([xshift=-1pt]default.north east) {\ value(s)};% 5
\end{tikzpicture}%
}%
\def\linhaimpar#1#2#3#4#5{%
\wdbi=.16\linewidth\wdbii=.42\linewidth\wdbiii=.09\linewidth\wdbiv=.15\linewidth\wdbv=.18\linewidth%\wdbvi=.08\linewidth%
\advance\wdbi  by-\boxinnersep\relax%
\advance\wdbii  by-\boxinnersep\relax%
\advance\wdbiii  by-\boxinnersep\relax%
\advance\wdbiv  by-\boxinnersep\relax%
\advance\wdbv  by-\boxinnersep\relax%
\setbox0=\vbox{\hsize=\wdbi\scriptsize#1}%
\setbox1=\vbox{\hsize=\wdbii\scriptsize#2}%
\setbox2=\vbox{\hsize=\wdbiii\scriptsize#3}%
\setbox3=\vbox{\hsize=\wdbiv\scriptsize#4}%
\setbox4=\vbox{\hsize=\wdbv\scriptsize#5}%
\cellht=\ht0\relax%
\ifdim\cellht<\ht1\relax\cellht=\ht1\relax\fi%
\ifdim\cellht<\ht2\relax\cellht=\ht2\relax\fi%
\ifdim\cellht<\ht3\relax\cellht=\ht3\relax\fi%
\ifdim\cellht<\ht4\relax\cellht=\ht4\relax\fi%
\setbox0=\vbox to \cellht{\hsize=\wdbi\scriptsize#1\vfill}%
\setbox1=\vbox to \cellht{\hsize=\wdbii\scriptsize#2\vfill}%
\setbox2=\vbox to \cellht{\hsize=\wdbiii\scriptsize#3\vfill}%
\setbox3=\vbox to \cellht{\hsize=\wdbiv\scriptsize#4\vfill}%
\setbox4=\vbox to \cellht{\hsize=\wdbv\scriptsize#5\vfill}%
\begin{tikzpicture}[every node/.style={inner xsep=.225\boxinnersep,draw=black!75,fill=black!5,below right,text height=\cellht,text depth=2pt}]
\node[text width=\wdbi+.55\boxinnersep] (key) at (0,0) {\color{red!50!black}\usebox0};
\node[text width=\wdbii+.55\boxinnersep] (desc) at ([xshift=-1pt]key.north east) {\usebox1};
\node[text width=\wdbiii+.55\boxinnersep] (type) at ([xshift=-1pt]desc.north east) {\usebox2};
\node[text width=\wdbiv+.55\boxinnersep] (default) at ([xshift=-1pt]type.north east) {\usebox3};
\node[text width=\wdbv+.55\boxinnersep] (values) at ([xshift=-1pt]default.north east) {\usebox4};
%\node[text width=\wdbvi+.55\boxinnersep] at ([xshift=-1pt]values.north east) {\usebox5};
\end{tikzpicture}%
}%
\def\linhapar#1#2#3#4#5{%
\wdbi=.16\linewidth\wdbii=.42\linewidth\wdbiii=.09\linewidth\wdbiv=.15\linewidth\wdbv=.18\linewidth%\wdbvi=.08\linewidth%
\advance\wdbi  by-\boxinnersep\relax%
\advance\wdbii  by-\boxinnersep\relax%
\advance\wdbiii  by-\boxinnersep\relax%
\advance\wdbiv  by-\boxinnersep\relax%
\advance\wdbv  by-\boxinnersep\relax%
\setbox0=\vbox{\hsize=\wdbi\scriptsize#1}%
\setbox1=\vbox{\hsize=\wdbii\scriptsize#2}%
\setbox2=\vbox{\hsize=\wdbiii\scriptsize#3}%
\setbox3=\vbox{\hsize=\wdbiv\scriptsize#4}%
\setbox4=\vbox{\hsize=\wdbv\scriptsize#5}%
\cellht=\ht0\relax%
\ifdim\cellht<\ht1\relax\cellht=\ht1\relax\fi%
\ifdim\cellht<\ht2\relax\cellht=\ht2\relax\fi%
\ifdim\cellht<\ht3\relax\cellht=\ht3\relax\fi%
\ifdim\cellht<\ht4\relax\cellht=\ht4\relax\fi%
\setbox0=\vbox to \cellht{\hsize=\wdbi\scriptsize#1\vfill}%
\setbox1=\vbox to \cellht{\hsize=\wdbii\scriptsize#2\vfill}%
\setbox2=\vbox to \cellht{\hsize=\wdbiii\scriptsize#3\vfill}%
\setbox3=\vbox to \cellht{\hsize=\wdbiv\scriptsize#4\vfill}%
\setbox4=\vbox to \cellht{\hsize=\wdbv\scriptsize#5\vfill}%
\begin{tikzpicture}[every node/.style={inner xsep=.225\boxinnersep,draw=black!75,fill=black!10,below right,text height=\cellht,text depth=2pt}]
\node[text width=\wdbi+.55\boxinnersep] (key) at (0,0) {\color{red!50!black}\usebox0};
\node[text width=\wdbii+.55\boxinnersep] (desc) at ([xshift=-1pt]key.north east) {\usebox1};
\node[text width=\wdbiii+.55\boxinnersep] (type) at ([xshift=-1pt]desc.north east) {\usebox2};
\node[text width=\wdbiv+.55\boxinnersep] (default) at ([xshift=-1pt]type.north east) {\usebox3};
\node[text width=\wdbv+.55\boxinnersep] (values) at ([xshift=-1pt]default.north east) {\usebox4};
\end{tikzpicture}%
}%
\endinput%