\subsubsection{\texorpdfstring{\ding{224} Periods and Groups}{Periods and Groups}}%\vspace{6pt}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% show period numbers
\label{option_show period numbers}%
\pgfPTMoption{4}{show period numbers}{true}%
{When set to \red{true} the period numbers are shown, otherwise they are not shown.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show period numbers=false]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show period numbers=false]}}%
\\ [5pt]\pgfPTendoption%
% show group numbers
\newpage\vspace{-34pt}\ %
\label{option_show group numbers}%
\pgfPTMoption{4}{show group numbers}{true}%
{When set to \red{true} the group numbers are shown, otherwise they are not shown.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show group numbers=false]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show group numbers=false]}}%
\\ [-5pt]\pgfPTendoption%
\vfill%
% group numbers
\label{option_group numbers}%
\pgfPTMoption[\pgfPTnewinversion{2.1.1} -- \pgfPTchangedinversion{2.1.6}]{4}{group numbers}{arabic}%
{This key controls how group numbering is displayed:
\vspace{4pt}\begin{itemlist}
\item\red{\textbf{arabic}}: group numbers are shown in arabic numerals as recommended by IUPAC since 1988.
\item\red{\textbf{CAS}}: group numbers are shown in Roman numerals and `A' or `B' suffix. This is an older naming scheme, used by the Chemical Abstract Service (CAS), more popular in the United States.
\item\red{\textbf{IUPAC}}: group numbers are shown in Roman numerals and `A' or `B' suffix. This is an older naming scheme, used by IUPAC before 1988, more popular in Europe.
\item\red{\textbf{CAS*}}: combines the option \red{CAS} and \red{arabic}. Roman numerals and `A' or `B' suffix are above the group and the arabic numerals above them.
\item\red{\textbf{IUPAC*}}: combines the option \red{IUPAC} and \red{arabic}. Roman numerals and `A' or `B' suffix are above the group and the arabic numerals above them.
\item USER DEFINED LIST: a comma separated list with groups labels. The list can be of any size, and the labels will be set in the order in which they appear. \textit{If less than eighteen labels are provided, the remaining groups will have no label. In the same way, if more than eighteen labels are provided, only the first eighteen will be used}.
\end{itemlist}
}%
\newpage%\vspace{-34pt}\ %
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=CAS]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=CAS]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=IUPAC]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=IUPAC]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=CAS*]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=CAS*]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=IUPAC*]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=IUPAC*]}}%
\newpage\vspace{-34pt}\ %\\ [10pt]
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers={1,2,3}]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers={1,2,3}]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}]}}%
\\ [10pt]\pgfPTMmacrobox[l]{def\string\mylabels}[{I,II,,,,,,,,,,,III,IV,V,VI,VII,VIII}]%
\\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=\string\mylabels]%
\def\mylabels{I,II,,,,,,,,,,,III,IV,V,VI,VII,VIII}%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=\mylabels]}}%
\\ [0pt]\pgfPTendoption%
% period label color
\vfill%
\label{option_period label color}%
\pgfPTMoption{4}{period label color}{red!50!black}%
{Sets the period label color.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},period label color=black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},period label color=black]}}%
\\ [0pt]\pgfPTendoption%
\newpage\vspace{-34pt}\ %
% group label color
\label{option_group label color}%
\pgfPTMoption{4}{group label color}{blue!50!black}%
{Sets the group label color.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group label color=black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group label color=black]}}%
\\ [0pt]\pgfPTendoption%
\vfill%
% Roman label color
\label{option_Roman label color}%
\pgfPTMoption[\pgfPTnewinversion{2.1.1}]{4}{Roman label color}{blue!70!black}%
{Sets the Roman group label color.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=CAS*,Roman label color=purple]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=CAS*,Roman label color=purple]}}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group numbers=CAS*,Roman label color=purple, group label color=teal]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group numbers=CAS*,Roman label color=purple,group label color=teal]}}%
\\ [0pt]\pgfPTendoption%
\newpage\vspace{-34pt}\ %\vfill%
% label font
\label{option_label font}%
\pgfPTMoption{4}{label font}{\string\small\string\bfseries}%
{Sets the label font.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},label font=\string\itshape]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},label font=\itshape]}}%
\\ [0pt]\pgfPTendoption%
\vfill%
% per={gr=??,c=??,f=??} -> auto sets 'show period numbers=true'; 'show group numbers' can be set to 'false' by the user
%       per/.default={gr=true,c=red!50!black,f=\small\bfseries}
% legend (pseudo style)
\label{style_per}%
\pgfPTMstyle{4}{per}{\{gr=true,c=red!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style} to set the keys: show \textbf{gr}oup numbers, period label \textbf{c}olor and/or label \textbf{f}ont. None of the \textit{keys} -- gr, c and f -- are mandatory.
The key \red{show period numbers} is set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{per=\{gr=<true|false>,c=<color>,f=<font commands>\}}}%
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},per={gr=false,c=green!50!black}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},per={gr=false,c=green!50!black}]}}%
\\ [0pt]\pgfPTendstyle%
\vfill%
% gr={per=??,c=??,f=??} -> auto sets 'show groups numbers=true'; 'show period numbers' can be set to 'false' by the user
%       gr/.default={per=true,c=blue!50!black,f=\small\bfseries}
% gr (pseudo style)
\label{style_gr}%
\pgfPTMstyle{4}{gr}{\{per=true,c=blue!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style} to set the keys: show \textbf{per}iod numbers, group label \textbf{c}olor and/or label \textbf{f}ont. None of the \textit{keys} -- per, c and f -- are mandatory.
The key \red{show group numbers} is set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{gr=\{per=<true|false>,c=<color>,f=<font commands>\}}}%
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},gr={per=false,c=green!50!black}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},gr={per=false,c=green!50!black}]}}%
\\ [0pt]\pgfPTendstyle%
\newpage\vspace{-34pt}\ %%
% per+gr={c=??,pc=??,gc=??,f=??} -> auto sets 'show period numbers=true' & 'show groups numbers=true'
%       per+gr/.default={pc=red!50!black,gc=blue!50!black,f=\small\bfseries}
% per+gr (pseudo style)
\label{style_per+gr}%
\pgfPTMstyle{4}{per+gr}{\{pc=red!50!black,gc=blue!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style}: use \textbf{c} to set both keys group label color and period label color with the same color; use \textbf{pc} to set period label color, \textbf{gc} to set group label color and/or \textbf{f } to set label \textbf{f}ont. None of the \textit{keys} -- c, pc, gc and f -- are mandatory.
The keys \red{show period numbers} and \red{show group numbers} are set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{per+gr=\{c=<color>,pc=<color>,gc=<color>,f=<font commands>\}}}%
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},per+gr={c=green!50!black, f=\string\fontfamily{frc}\string\selectfont\string\normalsize\string\bfseries}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},per+gr={c=green!50!black,f=\fontfamily{frc}\selectfont\normalsize\bfseries}]}}%
\\ [0pt]\pgfPTendstyle%
\endinput
