| 1 |
\vfill% |
| 2 |
\subsubsection{\texorpdfstring{\ding{224} Blocks and Families}{Blocks and Families}}\vspace{6pt}% |
| 3 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4 |
% show blocks=false |
| 5 |
\label{option_show blocks}% |
| 6 |
\pgfPTMoption{4}{show blocks}{false}% |
| 7 |
{When set to \red{true} the blocks \green{s}, \green{p}, \green{d} and \green{f} are drawn overlaying the Periodic Table and their labels are shown. \textit{Note that blocks are only shown when the \red{Z list} contains, at least, all elements of blocks s, p and d}.}% |
| 8 |
%\vfill% |
| 9 |
%\newpage% |
| 10 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show blocks=true,show title=false]% |
| 11 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show blocks=true,show title=false]}}% |
| 12 |
\newpage%\\ [10pt] |
| 13 |
\pgfPTMmacrobox{pgfPT}[show blocks,show title=false]% |
| 14 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show blocks,show title=false]}}% |
| 15 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=spd,show blocks,show title=false]% |
| 16 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=spd,show blocks,show title=false]}}% |
| 17 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=spd,show blocks,show title=false,IUPAC=false]% |
| 18 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=spd,show blocks,show title=false,IUPAC=false]}}% |
| 19 |
\\ [0pt]\pgfPTendoption% |
| 20 |
% blocks font |
| 21 |
\newpage\enlargethispage{\baselineskip}\ \\ [-32pt]% |
| 22 |
\label{option_blocks font}% |
| 23 |
\pgfPTMoption{4}{blocks font}{\string\small\string\bfseries}% |
| 24 |
{Sets the font used in the block labels.}% |
| 25 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=spd,show blocks,show title=false,blocks font=\string\small\string\bfseries\string\fontfamily{ptm}\string\selectfont]% |
| 26 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=spd,show blocks,show title=false,blocks font=\small\bfseries\fontfamily{ptm}\selectfont]}}% |
| 27 |
\\ [0pt]\pgfPTendoption% |
| 28 |
% s block color |
| 29 |
\label{option_s block color}% |
| 30 |
\pgfPTMoption{4}{s block color}{\pgfPTMcolorDemo{blocos}{RGB: 255,231,132}}% |
| 31 |
{Sets the block s color.}\vspace{-2pt}% |
| 32 |
% s block font color |
| 33 |
\label{option_s block_font color}% |
| 34 |
\pgfPTMoption{4}{s block font color}{\{\}}% |
| 35 |
{Sets the s block label font color. If no color is provided, the \red{s block color} will be used as the font color.}\vspace{-2pt}% |
| 36 |
% s block line width |
| 37 |
\label{option_s block line width}% |
| 38 |
\pgfPTMoption{4}{s block line width}{0.8pt}% |
| 39 |
{Sets the width of the line surrounding the s block.}\vspace{-2pt}% |
| 40 |
% p block color |
| 41 |
\label{option_p block color}% |
| 42 |
\pgfPTMoption{4}{p block color}{\pgfPTMcolorDemo{blocop}{RGB: 170,255,172}}% |
| 43 |
{Sets the block p color.}\vspace{-2pt}% |
| 44 |
% p block font color |
| 45 |
\label{option_p block_font color}% |
| 46 |
\pgfPTMoption{4}{p block font color}{\{\}}% |
| 47 |
{Sets the p block label font color. If no color is provided, the \red{p block color} will be used as the font color.}\vspace{-2pt}% |
| 48 |
% p block line width |
| 49 |
\label{option_p block line width}% |
| 50 |
\pgfPTMoption{4}{p block line width}{0.8pt}% |
| 51 |
{Sets the width of the line surrounding the p block.}\vspace{-2pt}% |
| 52 |
% d block color |
| 53 |
\label{option_d block color}% |
| 54 |
\pgfPTMoption{4}{d block color}{\pgfPTMcolorDemo{blocod}{RGB: 255,187,187}}% |
| 55 |
{Sets the block d color.}\vspace{-2pt}% |
| 56 |
% d block font color |
| 57 |
\label{option_d block_font color}% |
| 58 |
\pgfPTMoption{4}{d block font color}{\{\}}% |
| 59 |
{Sets the d block label font color. If no color is provided, the \red{d block color} will be used as the font color.}\vspace{-2pt}% |
| 60 |
% d block line width |
| 61 |
\label{option_d block line width}% |
| 62 |
\pgfPTMoption{4}{d block line width}{0.8pt}% |
| 63 |
{Sets the width of the line surrounding the d block.}\vspace{-2pt}% |
| 64 |
% f block color |
| 65 |
\label{option_f block color}% |
| 66 |
\pgfPTMoption{4}{f block color}{\pgfPTMcolorDemo{blocof}{RGB: 177,203,228}}% |
| 67 |
{Sets the block f color.}\vspace{-2pt}% |
| 68 |
% f block font color |
| 69 |
\label{option_f block_font color}% |
| 70 |
\pgfPTMoption{4}{f block font color}{\{\}}% |
| 71 |
{Sets the f block label font color. If no color is provided, the \red{f block color} will be used as the font color.}\vspace{-2pt}% |
| 72 |
\newpage\ \\ [-32pt]% |
| 73 |
% f block line width |
| 74 |
\label{option_f block line width}% |
| 75 |
\pgfPTMoption{4}{f block line width}{0.8pt}% |
| 76 |
{Sets the width of the line surrounding the f block.}% |
| 77 |
%\vfill% |
| 78 |
% blocks font color (style) |
| 79 |
\label{style_blocks font color}% |
| 80 |
\pgfPTMstyle{4}{blocks font color}{black}% |
| 81 |
{Style to set a common color for the labels of s, p, d and f blocks. The key \red{show blocks} is set to \red{true}. |
| 82 |
}% |
| 83 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[blocks font color,show title=false]% |
| 84 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks font color,show title=false]}}% |
| 85 |
\\ [-5pt]\pgfPTendstyle% |
| 86 |
% blocks={sc=??,pc=??,dc=??,fc=??,lw=??,slw=??,plw=??,dlw=??,flw=??,f=??} (pseudo style) |
| 87 |
% blocks line width (style) |
| 88 |
\label{style_blocks line width}% |
| 89 |
\pgfPTMstyle{4}{blocks line width}{0.8pt}% |
| 90 |
{Style to set a common width of the lines surrounding the s, p, d and f blocks. The key \red{show blocks} is set to \red{true}.}% |
| 91 |
%\vfill% |
| 92 |
%\newpage% |
| 93 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[blocks line width=1.5pt]% |
| 94 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks line width=1.5pt]}}% |
| 95 |
\\ [-5pt]\pgfPTendstyle% |
| 96 |
\newpage\ \\ [-32pt]% |
| 97 |
\label{style_blocks}% |
| 98 |
\pgfPTMstyle{4}{blocks}{\{sc=blocos,pc=blocop,dc=blocod,fc=blocof,lw=.8pt,font=\string\small\string\bfseries\}}% |
| 99 |
{\textit{Pseudo style} to set the keys: block \textbf{s c}olor, block \textbf{p c}olor, block \textbf{d c}olor, block \textbf{f c}olor, the common \textbf{l}ine \textbf{w}idths of the blocks, the \textbf{s} block \textbf{l}ine \textbf{w}idth, the \textbf{p} block \textbf{l}ine \textbf{w}idth, the \textbf{d} block \textbf{l}ine \textbf{w}idth, the \textbf{f} block \textbf{l}ine \textbf{w}idth, blocks \textbf{f}ont, \textbf{s} block \textbf{f}ont \textbf{c}olor, \textbf{p} block \textbf{f}ont \textbf{c}olor, \textbf{d} block \textbf{f}ont \textbf{c}olor and/or \textbf{f} block \textbf{f}ont \textbf{c}olor. None of the \textit{keys} -- sc, pc, dc, fc, lw, slw, plw, dlw, flw, sfc, pfc, dfc and ffc -- are mandatory. |
| 100 |
The key \red{show blocks} is set to \red{true}. |
| 101 |
\\ [5pt]\tikz{\node[text width=\linewidth-.6666em,fill=cyan!5!white,draw=cyan,rounded corners=2pt] {\textbf{\blue{NOTE}}:\\ The colors provided to the color keys of the blocks -- \red{sc}, \red{pc}, \red{dc} and \red{fc} -- could be any defined color via the command \texttt{\normalsize\textbackslash definecolor} or by \textit{mixing} colors, using, for instance, the syntax \texttt{\normalsize color1!value!color2} or \texttt{\normalsize color1!value}, as explained in the \href{https://ctan.org/pkg/xcolor}{xcolor} package documentation.};} |
| 102 |
\\ [5pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=11.4cm] {blocks=\{sc=<color>,pc=<color>,dc=<color>,fc=<color>,lw=<lenght>,\\ % |
| 103 |
\textcolor{cyan!10!white}{blocks=\{}slw=<lenght>,plw=<lenght>,dlw=<lenght>,flw=<lenght>,f=<font commands>,\\ % |
| 104 |
\textcolor{cyan!10!white}{blocks=\{}sfc=<color>,pfc=<color>,dfc=<color>,ffc=<color>\}};}}}% |
| 105 |
}% |
| 106 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[blocks={sc=red!70!white,pc=green!70!white,dc=yellow!70!white,lw=2pt}, show title=false,Z list=spd]% |
| 107 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks={sc=red!70!white,pc=green!70!white,dc=yellow!70!white,lw=2pt},show title=false,Z list=spd]}}% |
| 108 |
%\\ [10pt]\pgfPTMmacrobox{pgfPT}[blocks={sc=red,pc=green!70!white,dc=yellow!70!white,slw=2pt}]% |
| 109 |
%\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks={sc=red,pc=green!70!white,dc=yellow!70!white,slw=2pt}]}}% |
| 110 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[blocks={sc=red!70!white,pc=green!70!white,dc=yellow!70!white, dfc=yellow!70!black,lw=2pt},show title=false]% |
| 111 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks={sc=red!70!white,pc=green!70!white,dc=yellow!70!white, dfc=yellow!70!black,lw=2pt},show title=false]}}% |
| 112 |
%\\ [10pt]\pgfPTMmacrobox{pgfPT}[blocks={sc=red,pc=green!70!white,dc=yellow!70!white,slw=2pt}]% |
| 113 |
%\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[blocks={sc=red,pc=green!70!white,dc=yellow!70!white,slw=2pt}]}}% |
| 114 |
\\ [0pt]\pgfPTendstyle% |
| 115 |
%\vfill% |
| 116 |
\newpage%\ \\ [-32pt]% |
| 117 |
% show families=false |
| 118 |
\label{option_show families}% |
| 119 |
\pgfPTMoption{4}{show families}{false}% |
| 120 |
{When set to \red{true} the main families -- \green{r}epresentative elements, \green{t}ransition metals and \green{i}nternal transition metals -- are drawn overlaying the Periodic Table and their labels are shown. \textit{Note that families are only shown when the \red{Z list} contains, at least, all elements of blocks s, p and d}. |
| 121 |
}% |
| 122 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,111},show families]% |
| 123 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,111},show families]}}% |
| 124 |
%\vfill% |
| 125 |
%\newpage% |
| 126 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[show families]% |
| 127 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show families]}}% |
| 128 |
%\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list=spd,show families]% |
| 129 |
%\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=spd,show families]}}% |
| 130 |
\newpage%\\ [10pt] |
| 131 |
\pgfPTMmacrobox{pgfPT}[show families,show title=false,IUPAC=false]%Z list=spd, |
| 132 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show families,show title=false,IUPAC=false]}}%Z list=spd, |
| 133 |
\\ [0pt]\pgfPTendoption% |
| 134 |
%\vfill% |
| 135 |
% families font |
| 136 |
\label{option_families font}% |
| 137 |
\pgfPTMoption{4}{families font}{\string\small\string\bfseries}% |
| 138 |
{Sets the font used in the family labels.}% |
| 139 |
%\vfill% |
| 140 |
%\newpage% |
| 141 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[show families,show title=false,families font=\string\normalsize]% |
| 142 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show families,show title=false,families font=\normalsize]}}% |
| 143 |
\\ [0pt]\pgfPTendoption% |
| 144 |
%\vfill% |
| 145 |
% r family color |
| 146 |
\label{option_r family color}% |
| 147 |
\pgfPTMoption{4}{r family color}{\pgfPTMcolorDemo{blocor}{RGB: 170,255,172}}% |
| 148 |
{Sets the representative elements \textit{block} color.}% |
| 149 |
% r family font color |
| 150 |
\label{option_r fanily_font color}% |
| 151 |
\pgfPTMoption{4}{r family font color}{\{\}}% |
| 152 |
{Sets the representative elements \textit{block} label font color. If no color is provided, the \red{r family color} will be used as the font color.}% |
| 153 |
\newpage\ \\ [-32pt]% |
| 154 |
% r family line width |
| 155 |
\label{option_r family line width}% |
| 156 |
\pgfPTMoption{4}{r family line width}{0.8pt}% |
| 157 |
{Sets the width of the line surrounding the representative elements \textit{block}.}% |
| 158 |
% tm family color |
| 159 |
\label{option_tm family color}% |
| 160 |
\pgfPTMoption{4}{tm family color}{\pgfPTMcolorDemo{blocot}{RGB: 255,187,187}}% |
| 161 |
{Sets the transition metals \textit{block} color.}% |
| 162 |
% tm family font color |
| 163 |
\label{option_tm fanily_font color}% |
| 164 |
\pgfPTMoption{4}{tm family font color}{\{\}}% |
| 165 |
{Sets the transition metals \textit{block} label font color. If no color is provided, the \red{tm family color} will be used as the font color.}% |
| 166 |
% tm family line width |
| 167 |
\label{option_tm family line width}% |
| 168 |
\pgfPTMoption{4}{tm family line width}{0.8pt}% |
| 169 |
{Sets the width of the line surrounding the transition metals \textit{block}.}% |
| 170 |
% itm family color |
| 171 |
\label{option_itm family color}% |
| 172 |
\pgfPTMoption{4}{itm family color}{\pgfPTMcolorDemo{blocoi}{RGB: 177,203,228}}% |
| 173 |
{Sets the internal transition metals \textit{block} color.}% |
| 174 |
% itm fanily font color |
| 175 |
\label{option_itm family_font color}% |
| 176 |
\pgfPTMoption{4}{itm family font color}{\{\}}% |
| 177 |
{Sets the internal transition metals \textit{block} label font color. If no color is provided, the \red{itm family color} will be used as the font color.}% |
| 178 |
% itm family line width |
| 179 |
\label{option_itm family line width}% |
| 180 |
\pgfPTMoption{4}{itm family line width}{0.8pt}% |
| 181 |
{Sets the width of the line surrounding the internal transition metals \textit{block}.}% |
| 182 |
%\vfill% |
| 183 |
%\newpage\ \\ [-32pt]% |
| 184 |
% families font color (style) |
| 185 |
\label{style_families_font_color}% |
| 186 |
\pgfPTMstyle{4}{families font color}{black}% |
| 187 |
{Style to set a common color for the labels of representative elements, transition metals and internal transition metals \textit{blocks}. The key \red{show blocks} is set to \red{true}. |
| 188 |
}% |
| 189 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[show title=false,families font color=blue!50!black]% |
| 190 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show title=false,families font color=blue!50!black]}}% |
| 191 |
\\ [0pt]\pgfPTendstyle% |
| 192 |
% families line width (style) |
| 193 |
\label{style_families line width}% |
| 194 |
\pgfPTMstyle{4}{families line width}{0.8pt}% |
| 195 |
{Style to set a common width of the lines surrounding the representative elements, transition metals and internal transition metals \textit{blocks}. |
| 196 |
The key \red{show families} is set to \red{true}. |
| 197 |
}% |
| 198 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[show title=false,show families,families line width=1.5pt]% |
| 199 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[show title=false,show families,families line width=1.5pt]}}% |
| 200 |
\\ [0pt]\pgfPTendstyle% |
| 201 |
%\newpage\ \\ [-32pt]% |
| 202 |
% families={rc=??,tc=??,ic=??,lw=??,rlw=??,tlw=??,ilw=??,f=??,rfc=??,tfc=??,ifc=??} (pseudo style) |
| 203 |
\label{style_families}% |
| 204 |
\pgfPTMstyle{4}{families}{\{rc=blocor,tc=blocot,ic=blocoi,lw=.8pt,f=\string\small\string\bfseries\}}% |
| 205 |
{\textit{Pseudo style} to set the keys: \textbf{r} family \textbf{c}olor, \textbf{t}m family \textbf{c}olor, \textbf{i}tm family \textbf{c}olor, the common \textbf{l}ine \textbf{w}idths of the families, the \textbf{r} family \textbf{l}ine \textbf{w}idth, the \textbf{t}m family \textbf{l}ine \textbf{w}idth, the \textbf{i}tm family \textbf{l}ine \textbf{w}idth, the families \textbf{f}ont, \textbf{r} family \textbf{f}ont \textbf{c}olor, \textbf{t}m family \textbf{f}ont \textbf{c}olor and/or \textbf{i}tm family \textbf{f}ont \textbf{c}olor. None of the \textit{keys} -- rc, tc, ic, lw, rlw, tlw, ilw, f,rfc, tfc and ifc -- are mandatory. |
| 206 |
The key \red{show families} is set to \red{true}. |
| 207 |
\\ [5pt]\tikz{\node[text width=\linewidth-.6666em,fill=cyan!5!white,draw=cyan,rounded corners=2pt] {\textbf{\blue{NOTE}}:\\ The colors provided to the color keys of the families could be any defined color via the command \texttt{\normalsize\textbackslash definecolor} or by \textit{mixing} colors, using, for instance, the syntax \texttt{\normalsize color1!value!color2}, as explained in the \href{https://ctan.org/pkg/xcolor}{xcolor} package documentation.};} |
| 208 |
\\ [5pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=10.2cm] {families=\{rc=<color>,tc=<color>,ic=<color>,lw=<lenght>,rlw=<lenght>,\\ % |
| 209 |
\textcolor{cyan!10!white}{families=\{}tlw=<lenght>,ilw=<lenght>,f=<font commands>,rfc=<color>,\\ % |
| 210 |
\textcolor{cyan!10!white}{families=\{}tfc=<color>,ifc=<color>\}};}}}% |
| 211 |
}% |
| 212 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[families={rc=red!70!white,ic=yellow!70!white,lw=2pt},show title=false]% |
| 213 |
\\ [5pt]\vbox to 0pt{\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[families={rc=red!70!white,ic=yellow!70!white,lw=2pt},show title=false]}}}% |
| 214 |
\newpage%\\ [10pt] |
| 215 |
\pgfPTMmacrobox{pgfPT}[families={rc=blue,ic=yellow!70!white,rlw=2pt},show title=false]% |
| 216 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[families={rc=blue,ic=yellow!70!white,rlw=2pt},show title=false]}}% |
| 217 |
%\newpage% |
| 218 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[families={rc=blue,ic=yellow!70!white,rlw=2pt,ifc=yellow!70!black},show title=false]% |
| 219 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[families={rc=blue,ic=yellow!70!white,rlw=2pt,ifc=yellow!70!black},show title=false]}}% |
| 220 |
\\ [0pt]\pgfPTendstyle% |
| 221 |
\endinput |