| 1 |
\vfill% |
| 2 |
\subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}}%\vspace{6pt}% |
| 3 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4 |
% Z backcolor |
| 5 |
\pgfPTMoption{4}{Z backcolor}{black}{% |
| 6 |
Sets the background color of the box where the atomic number is displayed. |
| 7 |
} |
| 8 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=blue!70!black]% |
| 9 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=blue!70!black]}}% |
| 10 |
\\ [0pt]\pgfPTendoption% |
| 11 |
\newpage\ \\ [-32pt]% |
| 12 |
% Z color |
| 13 |
\pgfPTMoption{4}{Z color}{white}{% |
| 14 |
Sets the color of the atomic number. |
| 15 |
} |
| 16 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=black!30,Z color=black]% |
| 17 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=black!30,Z color=black]}}% |
| 18 |
\\ [5pt]\pgfPTendoption% |
| 19 |
% Z font |
| 20 |
\pgfPTMoption{4}{Z font}{\string\tiny\string\bfseries}{% |
| 21 |
Sets the font of the atomic number. |
| 22 |
} |
| 23 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z font=\string\fontfamily{pag}\string\selectfont\string\tiny]% |
| 24 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z font=\fontfamily{pag}\selectfont\tiny]}}% |
| 25 |
\\ [5pt]\pgfPTendoption% |
| 26 |
% Z use box width=false |
| 27 |
\pgfPTMoption{4}{Z use box width}{false}{% |
| 28 |
If true, the width specified in the constructed cell is used, otherwise, the \textit{natural} width of the box containing Z value is used. |
| 29 |
} |
| 30 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width]% |
| 31 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width]}}% |
| 32 |
\\ [5pt]\pgfPTendoption% |
| 33 |
% Z align |
| 34 |
\pgfPTMoption{4}{Z align}{left}{% |
| 35 |
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}.} |
| 36 |
\newpage%\\ [5pt] |
| 37 |
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=center]% |
| 38 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center]}}% |
| 39 |
\\ [5pt]\pgfPTendoption% |
| 40 |
% Z space |
| 41 |
\pgfPTMoption{4}{Z padding}{0.25ex}{% |
| 42 |
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}.} |
| 43 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=right, Z padding=1em]% |
| 44 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center,Z padding=1em]}}% |
| 45 |
\\ [5pt]\pgfPTendoption% |
| 46 |
\vfill% |
| 47 |
% Z box (style) |
| 48 |
\pgfPTMstyletxt{4}{Z box}{no value}{% |
| 49 |
Style equivalent to \red{Z use box width=true}. |
| 50 |
}% |
| 51 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z box]% |
| 52 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z box]}}% |
| 53 |
\\ [5pt]\pgfPTendstyle% |
| 54 |
\vfill% |
| 55 |
% Z={bc=??,c=??,f=??,boxwd=??,align=??,space=??} TODO |
| 56 |
% Z/.default={bc=black,c=white,f=\tiny\bfseries,boxwd=false,align=left,space=.25ex} |
| 57 |
\pgfPTMstyle{4}{Z}{\{bc=black,c=white,f=\string\tiny\string\bfseries,boxwd=false,align=left,pad=.25ex\}}% |
| 58 |
{\ \\ [-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. |
| 59 |
None of the \textit{keys} -- bc, c, f, boxwd, align and pad -- are mandatory. |
| 60 |
%\\ [3pt]\makebox[\linewidth][c]{\use{Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,align=<left|center|right>,pad=<length>\}}}% |
| 61 |
\\ [10pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=9cm] {Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,\\ % |
| 62 |
\textcolor{cyan!10!white}{Z=\{}align=<left|center|right>,pad=<length>\}};}}}% |
| 63 |
}% |
| 64 |
\vfill\newpage%\\ [5pt] |
| 65 |
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z={bc=blue,f=\string\tiny\string\bfseries\string\itshape}]% |
| 66 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z={bc=blue,f=\tiny\bfseries\itshape}]}}% |
| 67 |
\\ [0pt]\pgfPTendstyle% |
| 68 |
\endinput |