\subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Z backcolor
\pgfPTMoption{4}{Z backcolor}{black}{%
Sets the background color of the box where the atomic number is displayed.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=blue!70!black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=blue!70!black]}}%
\\ [0pt]\pgfPTendoption%
\newpage\ \\ [-32pt]%
% Z color
\pgfPTMoption{4}{Z color}{white}{%
Sets the color of the atomic number.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=black!30,Z color=black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=black!30,Z color=black]}}%
\\ [5pt]\pgfPTendoption%
% Z font
\pgfPTMoption{4}{Z font}{\string\tiny\string\bfseries}{%
Sets the font of the atomic number.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z font=\string\fontfamily{pag}\string\selectfont\string\tiny]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z font=\fontfamily{pag}\selectfont\tiny]}}%
\\ [5pt]\pgfPTendoption%
% Z use box width=false
\pgfPTMoption{4}{Z use box width}{false}{%
If true, the width specified in the constructed cell is used, otherwise, the \textit{natural} width of the box containing Z value is used.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width]}}%
\\ [5pt]\pgfPTendoption%
% Z align
\pgfPTMoption{4}{Z align}{left}{%
Sets the alignment of the atomic number value to \textit{left}, \textit{center} or \textit{right} with respect to its containing box. It only takes effect when \red{Z use box width} is \red{true}.}
\newpage%\\ [5pt]
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=center]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center]}}%
\\ [5pt]\pgfPTendoption%
% Z space
\pgfPTMoption{4}{Z padding}{0.25ex}{%
Sets the padding between the atomic number value and the box that contains it. It only takes effect when \red{Z use box width} is \red{true}.}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=right, Z padding=1em]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center,Z padding=1em]}}%
\\ [5pt]\pgfPTendoption%
\vfill%
%  Z box (style)
\pgfPTMstyletxt{4}{Z box}{no value}{%
Style equivalent to \red{Z use box width=true}.
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z box]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z box]}}%
\\ [5pt]\pgfPTendstyle%
\vfill%
% Z={bc=??,c=??,f=??,boxwd=??,align=??,space=??} TODO
%       Z/.default={bc=black,c=white,f=\tiny\bfseries,boxwd=false,align=left,space=.25ex}
\pgfPTMstyle{4}{Z}{\{bc=black,c=white,f=\string\tiny\string\bfseries,boxwd=false,align=left,pad=.25ex\}}%
{\ \\ [-3pt]\textit{Pseudo style} to set the keys: Z \textbf{b}ack\textbf{c}olor, Z \textbf{c}olor, Z \textbf{f}ont, Z use \textbf{box w}i\textbf{d}th, Z \textbf{align} and/or Z \textbf{pad}ding.
None of the \textit{keys} -- bc, c, f, boxwd, align and pad -- are mandatory.
%\\ [3pt]\makebox[\linewidth][c]{\use{Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,align=<left|center|right>,pad=<length>\}}}%
\\ [10pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=9cm] {Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,\\ %
\textcolor{cyan!10!white}{Z=\{}align=<left|center|right>,pad=<length>\}};}}}%
}%
\vfill\newpage%\\ [5pt]
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z={bc=blue,f=\string\tiny\string\bfseries\string\itshape}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z={bc=blue,f=\tiny\bfseries\itshape}]}}%
\\ [0pt]\pgfPTendstyle%
\endinput
