\subsection*{}{\normalfont\large\bfseries\raisebox{1.25pt}{$\mathbf{\blacktriangleright}$}\ Override Library}%
\label{lib:pgfPT_OR}\addcontentsline{toc}{subsection}{\texorpdfstring{Override Library}{override}}%
\index{LIBRARIES@\textbf{\cyan{LIBRARIES}}!override@\textbf{\red{Override Library}}}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Override Library
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\\ [4pt]\pgfPTlib{fittowidth}{This library offers the user the possibility to change the default acronyms or names of the elements. Two sets of commands are defined, one for acronyms and another for element names. Each set has a command to override and a command to restore the default values.
\begin{itemize}
\item\bs{pgfPToverrideacros}\lp\red{language flag}\rp\lb\red{override list}\rb%
\item\bs{pgfPTrestoreacros}\lp\red{language flag}\rp\lb\red{override list}\rb%
\item\bs{pgfPToverridenames}\lp\red{language flag}\rp\lb\red{override list}\rb%
\item\bs{pgfPTrestorenames}\lp\red{language flag}\rp\lb\red{override list}\rb%
\end{itemize}
}% \pgfPTlib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\tmpSectionORI{\bs{pgfPToverrideacros}}%
\def\tmpSectionOR{\bs{pgfPToverrideacros}\lp\red{language flag}\rp\lb\red{override list}\rb}%
\subsubsection*{}{\pgfPTMlibsubsubsection{\tmpSectionOR}}\vspace{6pt}%
\label{command:pgfPToverrideacros}\addcontentsline{toc}{subsubsection}{\texorpdfstring{\tmpSectionORI{}}{\textbackslash pgfPToverrideacros}}%
\index{LIBRARIES@\textbf{\cyan{LIBRARIES}}!override@\textbf{\red{Override Library}}!\tmpSectionORI}%
\\ [10pt]This command can be used to override the acronyms -- defined at package level -- used in the legend of the contents of the Periodic Table cells. It has one optional argument and one mandatory argument:
\vspace{4pt}
\begin{itemlist}
\item\red{language flag}: this is the optional argument that specifies the language in which the acronym replacement will occur. If not provided, the default language will be used.
\item\red{override list}: this mandatory argument is a comma separated list of the form \red{what/new acronym}, where \red{what} is one of the cell contents (Z, name, CS, Ar, Ar*, radio, R, Rcov, Rion, Ei, eneg, eaff, O, Tmelt, TmeltC, Tboil, TboilC, eDist, eConfign, eConfignl, d, Cp, kT, ls, lsa, lsb, lsc, lsca, DiscY, DiscC or spectra).
\end{itemlist}
% examples --------
\vfill%
\pgfPTMlibexampleBreakBot{%
\\ \textcolor{black!50}{\% For example, in German, electronegativity is }
\\ \textcolor{black!50}{\% often/sometimes abbreviated as }
\\ \textcolor{black!50}{\% ``EN'' instead of ``en'' and ``Z'' as ``OZ''}
\\ \bs{pgfPTbuildcellstyle}\lb\red{exAcroDE}\rb\blue{(}\red{5,3}\blue{)}\textcolor{black!50}{\%}
\\ \lp\red{(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;Ar),(5;2.5-3;eneg)}\rp%
\\ \pgfPTMmacro{pgfPT}[Z list={1,...,36},cell style=exAcroDE,languages=de]
\\ \pgfPTMmacro{pgfPToverrideacros}[de]\lb\red{Z/OZ,eneg/EN}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={1,...,36},cell style=exAcroDE,languages=de]
}{%
\pgfPTbuildcellstyle{exAcroDE}(5,3)%
[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;Ar),(5;2.5-3;eneg)]
\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=exAcroDE,languages=de]}%
}%
\newpage\pgfPTMlibexampleBreakTop{%
\pgfPToverrideacros[de]{Z/OZ,eneg/EN}%
\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=exAcroDE,languages=de]}
}% -----
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vfill%
\def\tmpSectionORII{\bs{pgfPTrestoreacros}}%
\def\tmpSectionOR{\bs{pgfPTrestoreacros}\lp\red{language flag}\rp\lb\red{restore list}\rb}%
\subsubsection*{}{\pgfPTMlibsubsubsection{\tmpSectionOR}}\vspace{6pt}%
\label{command:pgfPTrestoreacros}\addcontentsline{toc}{subsubsection}{\texorpdfstring{\tmpSectionORII{}}{\textbackslash pgfPTrestoreacros}}%
\index{LIBRARIES@\textbf{\cyan{LIBRARIES}}!override@\textbf{\red{Override Library}}!\tmpSectionORII}%
\\ [10pt]This command restores the acronyms used in the legend to the default ones, defined at package level. It has one optional argument and one mandatory argument:
\vspace{4pt}
\begin{itemlist}
\item\red{language flag}: this is the optional argument that specifies the language in which the acronyms replacement will occur. If not provided, the default language will be used.
\item\red{restore list}: this mandatory argument is a comma separated list containing the contents of \red{what}'s to be restored (Z, name, CS, Ar, Ar*, radio, R, Rcov, Rion, Ei, eneg, eaff, O, Tmelt, TmeltC, Tboil, TboilC, eDist, eConfign, eConfignl, d, Cp, kT, ls, lsa, lsb, lsc, lsca, DiscY, DiscC or spectra).
\end{itemlist}
% examples --------
\vfill%
\pgfPTMlibexampleBreakBot{%
\\ \textcolor{black!50}{\% For example, in German, electronegativity is }
\\ \textcolor{black!50}{\% often/sometimes abbreviated as }
\\ \textcolor{black!50}{\% ``EN'' instead of ``en'' and ``Z'' as ``OZ''}
\\ \bs{pgfPTbuildcellstyle}\lb\red{exAcroDE}\rb\blue{(}\red{5,3}\blue{)}\textcolor{black!50}{\%}
\\ \lp\red{(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;Ar),(5;2.5-3;eneg)}\rp%
\\ \pgfPTMmacro{pgfPToverrideacros}[de]\lb\red{Z/OZ,eneg/EN}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={1,...,36},cell style=exAcroDE,languages=de]
\\ \pgfPTMmacro{pgfPTrestoreacros}[de]\lb\red{Z}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={1,...,36},cell style=exAcroDE,languages=de]
\\ \pgfPTMmacro{pgfPTrestoreacros}[de]\lb\red{eneg}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={1,...,36},cell style=exAcroDE,languages=de]
}{%
\pgfPTbuildcellstyle{exAcroDE}(5,3)%
[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;Ar),(5;2.5-3;eneg)]
\pgfPToverrideacros[de]{Z/OZ,eneg/EN}%
\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=exAcroDE,languages=de]}%
}%
\newpage\pgfPTMlibexampleBreakTop{%
\pgfPToverrideacros[de]{Z/OZ,eneg/EN}%
\pgfPTrestoreacros[de]{Z}%
\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=exAcroDE,languages=de]}
\pgfPTrestoreacros[de]{eneg}%
\\ [10pt]\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=exAcroDE,languages=de]}
}% -----
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\vfill\vfill%
\def\tmpSectionORIII{\bs{pgfPToverridenames}}%
\def\tmpSectionOR{\bs{pgfPToverridenames}\lp\red{language flag}\rp\lb\red{override list}\rb}%
\subsubsection*{}{\pgfPTMlibsubsubsection{\tmpSectionOR}}\vspace{6pt}%
\label{command:pgfPToverridenames}\addcontentsline{toc}{subsubsection}{\texorpdfstring{\tmpSectionORIII{}}{\textbackslash pgfPToverridenames}}%
\index{LIBRARIES@\textbf{\cyan{LIBRARIES}}!override@\textbf{\red{Override Library}}!\tmpSectionORIII}%
\\ [10pt]This command can be used to override the names -- defined at package level -- of the elements in the Periodic Table. It has one optional argument and one mandatory argument:
\vspace{4pt}
\begin{itemlist}
\item\red{language flag}: this is the optional argument that specifies the language in which the name replacement will occur. If not provided, the default language will be used.
\item\red{override list}: this mandatory argument is a comma separated list of the form \red{Z/new name}.
\end{itemlist}
\vfill%
\pgfPTMlibexample{%
\\ \textcolor{black!50}{\% In Spain, both names ``tungsteno'' and ``wolframio'' are used.}
\\ \textcolor{black!50}{\% In fact, in northwest region, there were some tungsten mines and }
\\ \textcolor{black!50}{\% traditionally old people use ``wolframio'' for historical reasons.}
\\ \pgfPTMmacro{pgfPT}[Z list={73,74,75},show legend=false,show title=false,languages=es]
\\ \pgfPTMmacro{pgfPToverridenames}[es]\lb\red{74/wolframio}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={73,74,75},show legend=false,show title=false,languages=es]
}{%
\scalebox{1}{\pgfPT[Z list={73,74,75},show legend=false,show title=false,languages=es]}%
\pgfPToverridenames[es]{74/wolframio}%
\\ [10pt]\scalebox{1}{\pgfPT[Z list={73,74,75},show legend=false,show title=false,languages=es]}%
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage%
\def\tmpSectionORIV{\bs{pgfPTrestorenames}}%
\def\tmpSectionOR{\bs{pgfPTrestorenames}\lp\red{language flag}\rp\lb\red{override list}\rb}%
\subsubsection*{}{\pgfPTMlibsubsubsection{\tmpSectionOR}}\vspace{6pt}%
\label{command:pgfPTrestorenames}\addcontentsline{toc}{subsubsection}{\texorpdfstring{\tmpSectionORIV{}}{\textbackslash pgfPTrestorenames}}%
\index{LIBRARIES@\textbf{\cyan{LIBRARIES}}!override@\textbf{\red{Override Library}}!\tmpSectionORIV}%
\\ [10pt]This command restores the names of the elements to the default ones, defined at package level. It has one optional argument and one mandatory argument:
\vspace{4pt}
\begin{itemlist}
\item\red{language flag}: this is the optional argument that specifies the language in which the name replacement will occur. If not provided, the default language will be used.
\item\red{restore list}: this mandatory argument is a comma separated list containing the atomic numbers, \red{Z}, to be restored.
\end{itemlist}
\vspace{10pt}%
\pgfPTMlibexample{%
\\ \textcolor{black!50}{\% In Spain, both names ``tungsteno'' and ``wolframio'' are used.}
\\ \textcolor{black!50}{\% In fact, in northwest region, there were some tungsten mines and }
\\ \textcolor{black!50}{\% traditionally old people use ``wolframio'' for historical reasons.}
\\ \pgfPTMmacro{pgfPT}[Z list={73,74,75},show legend=false,show title=false,languages=es]
\\ \pgfPTMmacro{pgfPTrestorenames}[es]\lb\red{74}\rb%
\\ \pgfPTMmacro{pgfPT}[Z list={73,74,75},show legend=false,show title=false,languages=es]
}{%
\pgfPToverridenames[es]{74/wolframio}%
\scalebox{1}{\pgfPT[Z list={73,74,75},show legend=false,show title=false,languages=es]}%
\pgfPTrestorenames[es]{74}
\\ [10pt]\scalebox{1}{\pgfPT[Z list={73,74,75},show legend=false,show title=false,languages=es]}%
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
