texlive[69924] branches/branch2023.final/Master/texmf-dist:

commits+karl at tug.org commits+karl at tug.org
Fri Feb 16 22:16:09 CET 2024


Revision: 69924
          https://tug.org/svn/texlive?view=revision&revision=69924
Author:   karl
Date:     2024-02-16 22:16:08 +0100 (Fri, 16 Feb 2024)
Log Message:
-----------
pgf-periodictable (branch) (15feb24)

Modified Paths:
--------------
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/README
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Examples.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_density.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_eDist.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_name.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.buildcell.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.labels.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex
    branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.process.language.tex

Added Paths:
-----------
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.nl.tex
    branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.undefined.tex

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/README
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/README	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/README	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,10 +1,11 @@
-This is pgf-PeriodicTable, version 2.0.1 (2023/05/29).
+This is pgf-PeriodicTable, version 2.1.0 (2024/02/14).
 
 The purpose of this package is to provide the Periodic Table of Elements in
 a simple way. It relies on pgf/TikZ to offer a full or partial periodic table with
 a variety of options and displaying the desired data for all the 118
-elements. It can be done in six languages: English, French, German,
-Portuguese (from Portugal and from Brazil), Spanish and Italian.
+elements. It can be done in different languages: English, French, German,
+Portuguese (from Portugal and from Brazil), Spanish, Italian and translations
+by user contributions (currently Dutch).
 ____________________________________________________________
 
 Just typeset \pgfPT to get a Periodic Table of Elements or \pgfPT[<options list>]
@@ -11,15 +12,28 @@
 to do it at your custom way.
 ____________________________________________________________
 
-** Requirements: TikZ package.
+** Requirements: TikZ and fontenc (pdfLaTeX) or fontspec (XeLaTeX or LuaLaTeX) packages.
 ** Installation: unpack everything in a directory in the TeX search path and refresh the TeX database.
 ** Usage: just place \usepackage{pgf-PeriodicTable} in the preamble.
 ** Contact the author: Hugo Gomes (hugo.parelho at gmail.com)
 ** Licence: released under the LaTeX Project Public License v1.3 or later, see http://www.latex-project.org/lppl.txt
-
 ____________________________________________________________
+____________________________________________________________
 
 Major changes:
+
+*** v2.1.0 (14/02/2024) ***
+New options for package loading:
+- numerals (supporting Devanagari or Mandarin numerals);
+- userlang (supporting a user defined language, currently only Dutch translation, provided by Wim De Borggraeve).
+New commands:
+- \pgfPTdvnfont (provides font selection for use with Devanagari);
+- \pgfPTzhfont (provides font selection for use with Mandarin numerals);
+- \pgfPTzhnumber (to enable/disable showing the atomic number, period or group number in Mandarin numerals).
+Fixed wrong interaction with fontspec and babel packages: font selection schemes and \babelfont usage now work as expected.
+Fixed incorrect capitalization of some elements in German.
+Correction of the title in Spanish.
+
 *** v2.0.1 (29/05/2023) ***
 Capitalized element names (in German) and improved German language after suggestions made by Ole Schwen
 

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Examples.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Examples.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Examples.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -168,9 +168,9 @@
 \item identify group 2 elements of the Periodic Table.%: \hrulefill
 \item identify the elements of the 2\raisebox{3pt}{\scriptsize nd} period of the Periodic Table.%: \hrulefill
 \item identify group 17 elements of the Periodic Table.%: \hrulefill
-\item identify the elements of block s.%: \hrulefill
-\item identify the elements of block p.%: \hrulefill
-\item identify the elements of block d.%: \hrulefill
+\item identify the elements of s-block.%: \hrulefill
+\item identify the elements of p-block.%: \hrulefill
+\item identify the elements of d-block.%: \hrulefill
 \item identify the metallic elements.%: \hrulefill
 \item identify the non-metallic elements.%: \hrulefill
 \item identify the transition metals.%: \hrulefill
@@ -189,9 +189,9 @@
 \blue{\textit{For the source of this example please see the file} pgf-PeriodicTableManual\_Examples.tex}
 \vfill%
 \newpage
-\def\xbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt] (x) {\vbox to 15pt{\vfil\color{gray}x\vfil}};}}%
-\def\obox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,draw,thick,rounded corners=.5pt,inner sep=0pt] (x) {\vbox to 15pt{\vfil\color{gray}$\bigcirc$\vfil}};}}%
-\def\dbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt] (x) {\vbox to 15pt{\vfil\color{gray}$\Delta$\vfil}};}}%
+\def\xbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}x\vfil}};}}%
+\def\obox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}$\bigcirc$\vfil}};}}%
+\def\dbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}$\Delta$\vfil}};}}%
 \mymfbox{%
 \textbf{\underline{EXERCISE}:}
 \\ [3pt]Using the following notation,

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,4 +1,4 @@
-\subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}}\vspace{6pt}%
+\subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}}%\vspace{6pt}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Z backcolor
 \pgfPTMoption{4}{Z backcolor}{black}{%

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -189,7 +189,7 @@
 \subsection*{}{\normalfont\large\bfseries\raisebox{1.25pt}{$\mathbf{\blacktriangleright}$}\ Utilization of \tmpSection}%
 \index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTsetLanguage}%
 \label{command:pgfPTsetLanguage}\addcontentsline{toc}{subsection}{\texorpdfstring{\tmpSection{}}{\textbackslash pgfPTsetLanguage}}%
-\\ [4pt]This command globally changes the default language of the Periodic Table.
+\\ [4pt]This command globally changes the default language of the Periodic Table. If a user language has been loaded, the corresponding ISO 639-1 code can also be used as a \red{language flag}.
 \\ [10pt]\pgfPTMsetLanguage{pt}%
 \pgfPTsetLanguage{pt}%
 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
@@ -199,4 +199,11 @@
 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[]}}%
 \\ [5pt]\pgfPTMline%
+\newpage
+\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
+{\small\textcolor{black!50}{\%\ \string\usepackage[userlang=nl]\{pgf-PeriodicTable\}}};}%
+\\ [-4pt]\pgfPTMsetLanguage{nl}%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_nl.pdf}}}%
+\\ [5pt]\pgfPTMline%
 \endinput

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_density.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_density.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_density.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,4 +1,4 @@
-\subsubsection{\texorpdfstring{\ding{224} The density}{The density}}\vspace{6pt}%
+\subsubsection{\texorpdfstring{\ding{224} The density}{The density}}%\vspace{6pt}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % d color
 \pgfPTMoption{4}{d color}{black}{%

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_eDist.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_eDist.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_eDist.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -2,6 +2,7 @@
 \subsubsection{\texorpdfstring{\ding{224} \itshape The electron distribution}{The electron distribution}}\vspace{6pt}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % eDist color
+\pgfPTresetstyle\pgfPTresetcell%
 \pgfPTMbuildcellstyle{electron}(6,3)%
 [(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name), %
 (5;1-3;eDist),(6;1-3;eConfignl)]%
@@ -32,7 +33,8 @@
 }%
 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=electron,eDist sep=-]%
 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=electron,eDist sep=-]}}%
-\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=electron,eDist sep={,}]%
+\newpage%\\ [10pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=electron,eDist sep={,}]%
 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=electron,eDist sep={,}]}}%
 \\ [0pt]\pgfPTendoption%
 \endinput

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -29,7 +29,7 @@
 \\ [5pt]\pgfPTendoption%
 \vfill%
 % only cells with periods and group numbers=false
-\pgfPTMoption{4}{only cells with periods and group numbers\ \ \ }{false}%
+\pgfPTMoption{4}{only cells with periods and group numbers}{false}%
 {When set to \red{true} the Periodic Table is drawn with only the cells without any contents. The period and group numbers are shown.
 \\ [10pt]\tikz{\node[text width=\linewidth-.6666em,fill=orange!5!white,draw=orange,rounded corners=2pt] {\textbf{\orange{NOTE}}:
 \\ The following \red{keys} are also set: \red{back color scheme=solid, show title=false, show legend=false, show MNM line=false}};}

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,4 +1,4 @@
-\subsubsection{\texorpdfstring{\ding{224} General layout}{General layout}}\vspace{6pt}%
+\subsubsection{\texorpdfstring{\ding{224} General layout}{General layout}}%\vspace{6pt}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Z list
 \label{option_Z list}%
@@ -24,7 +24,7 @@
 any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\}
 \end{itembar}%
 }%
-\\ [-5pt]\pgfPTendoption%
+\\ [-10pt]\pgfPTendoption%
 \newpage\vspace{-34pt}\ %
 % cell width
 \label{option_cell width}%
@@ -82,14 +82,18 @@
 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell={w=40pt,h=50pt,lw=.6pt,lc=blue}]}}%
 \\ [5pt]\pgfPTendstyle%
 % font
+\vfill%
 \label{option_font}%
-\pgfPTMoption{4}{font}{phv}%
-{Sets the font family, via the proper \textit{\textrm{\LaTeX} font name}, to use in the Periodic Table. The \textit{default} font is \textit{phv}, \ie, the Helvetica font.
-The value of the \red{font} key can be any \textit{\textrm{\LaTeX} font name} known to the local \textrm{\LaTeX} installation.
-\\ \hfill\scriptsize See \textit{\textrm{\LaTeX} font names} below for further details.}%
+\pgfPTMoption[\pgfPTchangedinversion{2.1.0}]{4}{font}{phv (\textrm{pdf\LaTeX}); TeX Gyre Heros (\textrm{Xe\LaTeX} or \textrm{Lua\LaTeX})}%
+{Sets the font family, via the proper \textit{\textrm{\LaTeX} font name}, to use in the Periodic Table.
+\\ [2pt]When \textrm{pdf\LaTeX} is used to typeset the Periodic Table the \textit{default} font is \textit{phv}, \ie, the Helvetica font. In this case the value of the \red{font} key can be any \textit{\textrm{\LaTeX} font name} known to the local \textrm{\LaTeX} installation.
+\\ [2pt]When \textrm{Xe\LaTeX} or \textrm{Lua\LaTeX} are used to typeset the Periodic Table the \textit{default} font is \textit{TeX Gyre Heros}, a closest alternative to Helvetica font. In this case the value of the \red{font} key can be any \textit{font name known to your Operating System} and with \textrm{Lua\LaTeX} it can also be any \textit{font name available in your \textrm{TEXMF} tree}.
+\\ \hfill\scriptsize See \textit{\textrm{\LaTeX} font names} below or the \href{https://ftp.eq.uc.pt/software/TeX/macros/unicodetex/latex/fontspec/fontspec.pdf\#page=9}{fontspec documentation} for further details.\normalsize\\ \ }%
+\\ [10pt]Examples with \textrm{pdf\LaTeX}:
 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=ptm]%
 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},font=ptm]}}%
-\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=RobotoSlab-TLF]%
+\newpage%
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=RobotoSlab-TLF]%
 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},font=RobotoSlab-TLF]}}%
 \\ [10pt]\pgfPTMoptiontxt{%
 \textit{\textrm{\LaTeX} font names}:
@@ -137,14 +141,22 @@
 \makebox[\linewidth][c]{For more information about fonts visit the \href{https://tug.org/FontCatalogue/}{TUG Font Catalogue}}
 \\ \ %
 }%
+\\ [10pt]Examples with \textrm{Xe\LaTeX} or \textrm{Lua\LaTeX}:
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=Verdana,CS font=\string\fontspec{Mistral}\string\selectfont]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTfontLuaXeLaTeX1.pdf}}}%
+\newpage
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},font=Arial,CS font=\string\fontspec{LCALLIG.TTF}\string\selectfont]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTfontLuaXeLaTeX2.pdf}}}%
 \\ [5pt]\pgfPTendoption%
 % back color scheme
 \label{option_back color scheme}%
+\vfill
 \pgfPTMoption{4}{back color scheme}{default}%
 {Sets a \blue{named} back color scheme for the Periodic Table.}%
 \\ [5pt]\pgfPTMmacrobox{pgfPT}[back color scheme=Soft]%
 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[back color scheme=Soft]}}%
-\\ [10pt]\pgfPTMoptiontxt{%
+\newpage%
+\pgfPTMoptiontxt{%
 The possible \lblue{name} is one of the following:
 \begin{itembar}
 \item\textbf{built-in}:
@@ -249,27 +261,30 @@
 % languages
 \vfill
 \label{option_languages}%
-\pgfPTMoption{4}{languages}{\{\}}%
-{Sets a language list to use in the Periodic Table. It is a comma separated list of language flags: \sq{pt}, \sq{en}, \sq{fr}, \sq{de}, \sq{it}, \sq{es} or \sq{br}.
-\textit{This key overrides the default language, that is, the language loaded at package inclusion}.}%
-\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},languages=pt]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},languages=pt]}}%
-\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPT2lang,languages={en,fr}]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPT2lang,languages={en,fr}]}}%
+\pgfPTMoption[\pgfPTchangedinversion{2.1.0}]{4}{languages}{\{\}}%
+{Sets a language list to use in the Periodic Table. It is a comma separated list of language flags: \sq{pt}, \sq{en}, \sq{fr}, \sq{de}, \sq{it}, \sq{es} or \sq{br}. If a user language has been loaded, the corresponding ISO 639-1 code can also be used as a language flag. \textit{This key overrides the default language, that is, the language loaded at package inclusion}.\\ \ }%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},languages=pt]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},languages=pt]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT2lang,languages={en,fr}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPT2lang,languages={en,fr}]}}%
 \newpage%\\ [10pt]
-\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},cell style=pgfPT3lang,languages={pt,fr,it}]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},cell style=pgfPT3lang,languages={pt,fr,it}]}}%
+\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
+{\small\textcolor{black!50}{\%\ \string\usepackage[userlang=nl]\{pgf-PeriodicTable\}}};}%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT2lang,languages={nl,en}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_nl_en.pdf}}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPT3lang,languages={pt,fr,it}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPT3lang,languages={pt,fr,it}]}}%
 \\ [10pt]\pgfPTMoptiontxt{%
 When using a set of languages, space to accommodate the names in each cell must be provided by building a suitable cell - typically one cell row per language. The cell styles used in the two examples above are built-in and serve this purpose.
-\vspace{5pt}%
+\vspace{2.5pt}%
 \begin{itembar}
-\item\pgfPTpreviewcellstyle[2]{pgfPT2lang}\item\pgfPTpreviewcellstyle[2]{pgfPT3lang}
+\item\pgfPTpreviewcellstyle[1.5]{pgfPT2lang}\vspace{-10pt}\item\pgfPTpreviewcellstyle[1.5]{pgfPT3lang}
 \end{itembar}
-\vspace{5pt}%
+\vspace{2.5pt}%
 Also, the space for the title should be taken into account -- if using more then three languages, the legend must be \textit{turned off}, otherwise the title overlaps the legend.
 }%
-\\ [-5pt]\pgfPTendoption%
-\vfill%
+\\ [-10pt]\pgfPTendoption%
+%\newpage%\vfill%
 % other languages font
 \label{option_other languages font}%
 \pgfPTMoption{4}{other languages font}{\string\tiny}%

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_name.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_name.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_name.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -11,7 +11,7 @@
 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},name color=red]}}%
 \\ [0pt]\pgfPTendoption%
 % name font
-\pgfPTMoption{4}{name font}{\string\fontseries{l}\string\selectfont\string\tiny}{%
+\pgfPTMoption{4}{name font}{\string\fontseries\{l\}\string\selectfont\string\tiny}{%
 Sets the font of the element name.
 }
 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},name font=\string\itshape\string\tiny]%

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,5 +1,5 @@
 %\vfill\vfill%
-\subsubsection{\texorpdfstring{\ding{224} Periods and Groups}{Periods and Groups}}\vspace{6pt}%
+\subsubsection{\texorpdfstring{\ding{224} Periods and Groups}{Periods and Groups}}%\vspace{6pt}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % show period numbers
 \label{option_show period numbers}%

Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_nl_en.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX1.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTfontLuaXeLaTeX2.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTgithub-mark.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,10 +1,11 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % Definitions for pgf-PeriodicTable Manual
+% Hugo Gomes @ 14/02/2024 v2.1.0
 % Hugo Gomes @ 29/05/2023 v2.0.1
 % Hugo Gomes @ 20/02/2023 v2.0.0
 % Hugo Gomes @ 08/11/2022 v1.0.1
 % Hugo Gomes @ 10/10/2022 v1.0.0
-\def\pgfPTversion{2.0.1}%
+\def\pgfPTversion{2.1.0}%
 \def\pgfPTnewinversion#1{new in v#1}%
 \def\pgfPTchangedinversion#1{changed in v#1}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -230,7 +231,7 @@
 % \pgfPTMbuildcellstyle{name}(lines,columns)[entries]
 \def\pgfPTMbuildcellstyle#1(#2,#3)[#4]{\ignorespaces%
 \tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
-{\textcolor{blue!50!black}{\textbackslash pgfPTbuilcellstyle\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}%
+{\textcolor{blue!50!black}{\textbackslash pgfPTbuildcellstyle\{}\textcolor{red!50!black}{#1}\textcolor{blue!50!black}{\}}%
 \textcolor{blue!50!black}{(}\textcolor{red!50!black}{#2,#3}\textcolor{blue!50!black}{)}%
 \textcolor{black!50}{\% #2\ rows by #3 columns}\\ \textcolor{blue!50!black}{[}%
 \textcolor{red!50!black}{\detokenize\expandafter{#4}}\textcolor{blue!50!black}{]}};}%

Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumDeva.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand1.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf
===================================================================
(Binary files differ)

Index: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf	2024-02-16 21:16:08 UTC (rev 69924)

Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTnumMand2.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf
===================================================================
(Binary files differ)

Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -10,6 +10,7 @@
 \date{\today}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \begin{document}%
+\usefont{T1}{verdana}{m}{n}%
 \begin{titlepage}
 \vspace{\stretch{1}}%
 \maketitle\thispagestyle{empty}%
@@ -20,7 +21,7 @@
 \makebox[\linewidth][c]{\tikz{%
 \node[text width=.9\linewidth+.5cm,text justified,draw=blue!10!black,rounded corners=10pt,fill=blue!5] at (0,0) {\color{blue!10!black}
 \begin{abstract}
-\noindent The purpose of this package is to provide the Periodic Table of Elements in a simple way. It relies on pgf/\txttikz{} to offer a full or partial periodic table with a variety of options and displaying the desired data. The data available, from all the actual 118 elements, is: atomic number, element name, chemical symbol, relative atomic mass, standard relative atomic mass, radioactivity, atomic radius (empirycal), covalente radius, ionic radius, first ionization energy, electronegati\-vity (Pauling), electroaffinity, oxidation states, melting point (in Kelvin and Celsius degrees), boiling point (in Kelvin and Celsius degrees), electron distribuition, electronic configuration (increasing $n$ and increasing $n+\ell$), density, specific heat capacity, thermal condutivity, lattice structure, lattice constants (a, b, c and c/a ratio), discovery year, discovery country and visible range spectral lines. It is possible to get the Periodic Table in six languages: English, French, German, Portuguese (from Portugal and from Brazil), Spanish and Italian.
+\noindent The purpose of this package is to provide the Periodic Table of Elements in a simple way. It relies on pgf/\txttikz{} to offer a full or partial periodic table with a variety of options and displaying the desired data. The data available, from all the actual 118 elements, is: atomic number, element name, chemical symbol, relative atomic mass, standard relative atomic mass, radioactivity, atomic radius (empirycal), covalente radius, ionic radius, first ionization energy, electronegati\-vity (Pauling), electroaffinity, oxidation states, melting point (in Kelvin and Celsius degrees), boiling point (in Kelvin and Celsius degrees), electron distribuition, electronic configuration (increasing $n$ and increasing $n+\ell$), density, specific heat capacity, thermal condutivity, lattice structure, lattice constants (a, b, c and c/a ratio), discovery year, discovery country and visible range spectral lines. It is possible to get the Periodic Table in different languages: English, French, German, Portuguese (from Portugal and from Brazil), Spanish, Italian and translations provided by user contributions -- currently in Dutch only.
 \\ [6pt]
 \end{abstract}
 };}}
@@ -35,22 +36,93 @@
 \newpage\setcounter{page}{1}%
 \pagestyle{pgfPTManual}%
 \ \vfill%
-\section{Installation and usage}
+\section{Getting started}
+\subsection{Installation}
 \noindent
-\pack{} is placed under the terms of the \textrm{\LaTeX} Project Public License, version 1.3 or later (http://www.latex-project.org/lppl.txt). \pack{} loads and only requires the \href{https://www.ctan.org/pkg/pgf}{\txttikz{}} package.
+\pack{} is placed under the terms of the \textrm{\LaTeX} Project Public License, version 1.3 or later (http://www.latex-project.org/lppl.txt). \pack{} loads and requires the \href{https://www.ctan.org/pkg/pgf}{\txttikz{}} and \href{https://ctan.org/pkg/fontenc}{fontenc} or \href{https://ctan.org/pkg/fontspec}{fontspec} (at least v2.7h -- 2020/02/03) packages.
 \\ [6pt]You need to put the package files (pgf-PeriodicTable.sty \&\ \textit{friends}) in a location where \textrm{PDF\LaTeX}, \textrm{Lua\LaTeX} or \textrm{Xe\LaTeX} can find them. According to the TDS conventions this may be a subdirectory named \textit{tex/latex/pgf-PeriodicTable/} or \textit{tex/latex/misc/} in your (site specific) installation tree (insert your appropriate directory delimiter instead of /, if needed).
-\\ [6pt]If you are using \textrm{PDF\LaTeX}, \textrm{Lua\LaTeX} or \textrm{Xe\LaTeX} you can just simply include the style file without any option via the \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}} command, \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
-\\ [6pt]It can also be loaded with \textit{one option} to select the desired language:\\ \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{language flag}\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\subsection{Package loading and options}
+If you are using \textrm{PDF\LaTeX}, \textrm{Lua\LaTeX} or \textrm{Xe\LaTeX} you can just simply include the style file without any option via the \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}} command, \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\\ [6pt]It can also be loaded with a comma separated list of \textit{options} to select the desired default language or to use Devanagari or Mandarin numerals in the Atomic Number, Periods and/or Groups.
+\subsubsection{Language Option}
+There are six \textit{built-in }languages -- English, French, German, Portuguese (from Portugal and Brazil), Spanish and Italian. The default language used in the package may be selected at package loading:
+\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{language flag}\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
 \\ [6pt]\textit{The \textcolor{brown!60!black}{language flags} available are:}
+\vspace{2pt}\hrule\vspace{4pt}
+\begin{minipage}[t]{.5\linewidth}
 \begin{itemize}
 \item[$\checkmark$]\textbf{en} for English (default),
 \item[$\checkmark$]\textbf{fr} for French,
 \item[$\checkmark$]\textbf{de} for German,
 \item[$\checkmark$]\textbf{pt} for Portuguese (Portugal),
+\end{itemize}\end{minipage}\begin{minipage}[t]{.5\linewidth}
+\begin{itemize}
 \item[$\checkmark$]\textbf{br} for Portuguese (Brazil),
 \item[$\checkmark$]\textbf{es} for Spanish and
 \item[$\checkmark$]\textbf{it} for Italian.
-\end{itemize}
+\end{itemize}\end{minipage}
+\vspace{4pt}\hrule\vspace{12pt}
+A \textit{user language} can also be chosen as default language loading the package with the following option syntax:
+\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{userlang=<ISO 639-1 CODE>}\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\\ [6pt]In the present version only a Dutch translation is available. It can be loaded by:
+\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{userlang=nl}%
+\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\\ [6pt]\tikz{\node[text width=\linewidth-6mm,draw=green!70,rounded corners=2pt,fill=black!10!green!10,inner sep=3mm] {Anyone who wishes to contribute with translations for use in this package can go to the \tikz[baseline=(b.base)]{\node[inner sep=0pt] (a) {\includegraphics[height=10pt]{manualfiles/pgfPTgithub-mark.pdf}}; \node[right,inner sep=0pt,xshift=.1em] (b) at (a.east) {\href{https://github.com/HugoPGomes/pgf-periodictable}{pgf-periodictable}};} project page.};}
+\\ [6pt]\textbf{Note that the \textit{built-in} languages are always available for the \textcolor{red!60!black}{languages} option of the \bs{pgfPT} command, but the \textit{user language} is only available if loaded with the package.}
+\subsubsection{Devanagari numerals}
+It is possible to get some numbers in the Periodic Table with Devanagari numerals: the atomic number and the numeration of periods and groups. To get this feature enabled the package must be loaded with the option \textit{numerals} set to \textbf{dvn}:
+\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{numerals=dvn}%
+\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\\ [6pt]\tikz{\node[text width=\linewidth-6mm,draw=orange!70,rounded corners=2pt,fill=black!10!orange!10,inner sep=3mm] {
+This option requires the \textrm{Xe\LaTeX} engine to typeset the document.};}
+\\ [10pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
+{\small\textcolor{black!50}{\%\ \string\usepackage[numerals=dvn]\{pgf-PeriodicTable\}}};}%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTnumDeva.pdf}}}%
+\\ [3pt]\pgfPTMline
+\\ [6pt]It is also possible to load a font for the Devanagari numerals using the following command:
+\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTdvnfont}%
+\\ [3pt]\bs{pgfPTdvnfont}\lp\red{font options}\rp\lb\red{font name}\rb
+\\ [3pt]The default font is \textit{Eczar}.
+\vfill
+\subsubsection{Mandarin numerals}
+To get some numbers of the Periodic Table with Mandarin numerals (the atomic number and the numeration of periods and groups) the package must be loaded with the above option \textit{numerals} set to \textbf{zh}:
+\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{numerals=zh}%
+\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}}
+\\ [6pt]\tikz{\node[text width=\linewidth-6mm,draw=orange!70,rounded corners=2pt,fill=black!10!orange!10,inner sep=3mm] {
+This option works with the \textrm{Xe\LaTeX} and \textrm{Lua\LaTeX} engines to typeset the document and requires the \texttt{\large zhnumber} package, which is automatically loaded.};}
+\newpage%\\ [10pt]
+\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
+{\small\textcolor{black!50}{\%\ \string\usepackage[numerals=zh]\{pgf-PeriodicTable\}}};}%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTnumMand1.pdf}}}%
+\\ [3pt]\pgfPTMline
+\\ [6pt]As with the Devanagari numerals, the following command loads the specified font for the Mandarin numerals:
+\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhfont}%
+\\ [3pt]\bs{pgfPTzhfont}\lp\red{font options}\rp\lb\red{font name}\rb
+\\ [3pt]The default font is \textit{SimSun} loaded with the \textit{AutoFakeBold=4} option.
+\\ [6pt]It is also possible to enable or disable the numbers shown in Mandarin with the command:
+\\ [3pt]\bs{pgfPTzhnumber}\lp\red{<true|false>}\rp\lb\red{comma separated list}\rb
+\\ [3pt] The list can have \red{Z} for the atomic number, \red{per} for the period numbers and \red{gr} for the group numbers. At package loading, with this option, they are set to \red{true}.
+\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhnumber}%
+\\ [10pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] %
+{\small\textcolor{black!50}{\%\ \string\usepackage[numerals=zh]\{pgf-PeriodicTable\}}};}%
+\\ [-4pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=center,fill=black!10,rounded corners=2pt] %
+{\bs{pgfPTzhnumber}\lp\red{false}\rp\lb\red{Z}\rb};}%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
+\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTnumMand2.pdf}}}%
+\\ [3pt]\pgfPTMline
+\subsection{Interaction with other packages}
+\subsubsection{fontspec}
+To correctly set the font in each cell contents the command \bs{fontspec} must be used. For example if you want to use \textit{Arial} for the \red{name font}, it must be set using \red{font name=\bs{fontspec}\lb Arial\rb\bs{selectfont}}.\\ All other font selection commands, \eg, \bs{large}, \mbox{\bs{itshape}}, are used as usual. For example if you want to use \textit{Arial}\hfil\ in\hfil\ \textit{large}\hfil\ size\hfil\ and\hfil\ \textit{bold}\hfil\ weight\hfil\ for\hfil\ the \red{name font}, then you type
+\\ \makebox[\linewidth][s]{\red{font name=\bs{large}\bs{bfseries}\bs{fontspec}\lb Arial\rb\bs{selectfont}}\hfil\ or\hfil\  \red{font name=\bs{fontspec}\lb Arial\rb}}
+\\ \bs{large}\bs{bfseries}\bs{selectfont}.
+\subsubsection{ragged2e}
+Using \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{document}%
+\textcolor{blue!70!black}{]}\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{ragged2e}\textcolor{purple!40!black}{\}}} and \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}%
+\textcolor{purple!70!black}{\{}\textcolor{blue!70!black}{pgf-PeriodicTable}\textcolor{purple!40!black}{\}}} together, the Periodic Table will be completely fractured and out of the page.
+\\ [6pt]\textit{Solution}:
+\vspace{4pt}\hrule\vspace{4pt}Use a local group: \{\bs{justifying}\bs{pgfPT}\}\vspace{4pt}\hrule
 \vfill\vfill\vfill\newpage\ \vfill%
 \section{The data}
 The data available in \pack{} was mainly compiled with selected and filtered data from Wikipedia, taken from November 2021 to July 2022.
@@ -73,7 +145,7 @@
 \\ [-1pt]\linhapar{TboilC}{Boiling Point}{$\mathsf{^oC}$}{at standard pressure (Wikidata @21/dez/2021)}%
 \\ [-1pt]\linhaimpar{eDist}{Electron Distribution}{}{(Wikidata @01/nov/2021)}%
 \\ [-1pt]\linhapar{eConfign}{Electronic Configuration (increasing n)}{}{(Wikidata @01/nov/2021)}%
-\\ [-1pt]\linhaimpar{eConfign}{Electronic Configuration (increasing $\mathsf{n+\ell}$)}{}{(Wikidata @01/nov/2021)}%
+\\ [-1pt]\linhaimpar{eConfignl}{Electronic Configuration (increasing $\mathsf{n+\ell}$)}{}{(Wikidata @01/nov/2021)}%
 \\ [-1pt]\linhapar{d}{Density}{$\mathsf{g\cdot dm^{-3}}$ {\tiny for gases}\newline$\mathsf{g\cdot cm^{-3}}$ {\tiny all other physical states}}{physical state at $\mathsf{25^oC, 1\,atm}$ (Wikidata @01/nov/2021)}%
 \\ [-1pt]\linhaimpar{Cp}{Specific heat capacity}{$\mathsf{J\cdot mol^{-1}\cdot K^{-1}}$}{at $\mathsf{25^oC}$ and $\mathsf{100\,kPa}$ (Wikidata @20/nov/2021)}%
 \\ [-1pt]\linhapar{kT}{Thermal Conductivity}{$\mathsf{W\cdot m^{-1}\cdot K^{-1}}$}{at $\mathsf{25^oC}$ (Wikidata @21/nov/2021)}%

Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.nl.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.nl.tex	                        (rev 0)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.nl.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -0,0 +1,269 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% --------------------------------------------------------------------------------------------------
+% subfile of pgf-PeriodicTable package ----------------------------------------------------------
+% --------------------------------------------------------------------------------------------------
+%
+% Translation file for Nederlands
+% Author: Wim De Borggraeve @2024/01/21
+%
+% --------------------------------------------------------------------------------------------------
+% This is file lang.nl.tex
+% Version: 1
+% Revision: 0
+% Date: 2024/02/10
+% Provides translation of data used
+% in pgf-PeriodicTable files
+% Language: Dutch
+% ISO 639-1 code: nl
+% ----------------------------
+\def\pgfPT at user@labels at titulo{Periodiek Systeem van de Elementen}%
+% ----------------------------
+\def\pgfPT at user@labels at La{lanthaniden}%
+\def\pgfPT at user@labels at Ac{actiniden}%
+% ----------------------------
+\def\pgfPT at user@labels at solido{vast}%
+\def\pgfPT at user@labels at liquido{vloeibaar}%
+\def\pgfPT at user@labels at gasoso{gasvormig}%
+\def\pgfPT at user@labels at sintetico{synthetisch}%
+% ----------------------------
+% labels for legend
+\def\pgfPT at user@labels at Z{Atoomnummer}%
+\def\pgfPT at user@labels at name{Naam}%
+\def\pgfPT at user@labels at CS{Chemisch Symbool}%
+\def\pgfPT at user@labels at Ar@m{Relatieve Atoommassa}%
+\def\pgfPT at user@labels at Arstar@m{Standaard Relatieve Atoommassa}%
+\def\pgfPT at user@labels at Ar@w{Gemiddelde Atoommassa}%
+\def\pgfPT at user@labels at Arstar@w{Standaard Gemiddelde Atoommassa}%
+\def\pgfPT at user@labels at radio{Radioactief}%
+\def\pgfPT at user@labels at R{Atoomstraal}%
+\def\pgfPT at user@labels at Rcov{Covalente Straal}%
+\def\pgfPT at user@labels at Rion{Ionstraal}%
+\def\pgfPT at user@labels at Ei{Ionisatie-energie}%
+\def\pgfPT at user@labels at eneg{Elektronegativiteit}%
+\def\pgfPT at user@labels at eaff{Elektronenaffiniteit}%
+\def\pgfPT at user@labels at O{Oxidatietrappen}%
+\def\pgfPT at user@labels at Tmelt{Smeltpunt}%
+\def\pgfPT at user@labels at TmeltC{Smeltpunt}%
+\def\pgfPT at user@labels at Tboil{Kookpunt}%
+\def\pgfPT at user@labels at TboilC{Kookpunt}%
+\def\pgfPT at user@labels at eDist{Elektronenverdeling}%
+\def\pgfPT at user@labels at eConfig{Elektronenconfiguratie}%
+\def\pgfPT at user@labels at d{Dichtheid}%
+\def\pgfPT at user@labels at Cp{Specifieke Warmtecapaciteit}%
+\def\pgfPT at user@labels at kT{Thermische Geleidbaarheid}%
+\def\pgfPT at user@labels at ls{Roosterstructuur}%
+\def\pgfPT at user@labels at lsa{Roosterparameter: a}%
+\def\pgfPT at user@labels at lsb{Roosterparameter: b}%
+\def\pgfPT at user@labels at lsc{Roosterparameter: c}%
+\def\pgfPT at user@labels at lsca{Verhouding roosterparameters c/a}%
+\def\pgfPT at user@labels at DiscY{Jaar van Ontdekking}%
+% Before Christ acronym:
+\def\pgfPT at user@labels at BC{VC}%
+\def\pgfPT at user@labels at DiscC{Land van Ontdekking}%
+\def\pgfPT at user@labels at spectra{Emissiespectrum}%
+% ----------------------------
+% acronym to use in legend
+% for 'Name'
+\def\pgfPT at user@acr at name{N}%
+% for 'Chemical Symbol'
+\def\pgfPT at user@acr at CS{CS}%
+% for 'Radioactive'
+\def\pgfPT at user@acr at radio{Ra}%
+% for 'Melting Point'
+\def\pgfPT at user@acr at Tmelt{Smeltpt}%
+% for 'Boiling Point'
+\def\pgfPT at user@acr at Tboil{Kookpt}%
+% for 'Electron Distribution'
+\def\pgfPT at user@acr at eDist{ev}%
+% for 'Electronic Configuration'
+\def\pgfPT at user@acr at eConfign{ec}%
+% for 'Lattice Structure'
+\def\pgfPT at user@acr at ls{rs}%
+% for 'Lattice constant: a'
+\def\pgfPT at user@acr at lsa{rs a}%
+% for 'Lattice constant: b'
+\def\pgfPT at user@acr at lsb{rs b}%
+% for 'Lattice constant: c'
+\def\pgfPT at user@acr at lsc{rs c}%
+% for 'Lattice c/a ratio'
+\def\pgfPT at user@acr at lsca{rs ca}%
+% for 'Year of Discovery'
+\def\pgfPT at user@acr at DiscY{jo}%
+% for 'Country of Discovery'
+\def\pgfPT at user@acr at DiscC{lo}%
+% for 'Emission Spectrum'
+\def\pgfPT at user@acr at spectra{es}%
+% ----------------------------
+% blocks
+\def\pgfPT at user@labels at blocos{s-blok}%
+\def\pgfPT at user@labels at blocop{p-blok}%
+\def\pgfPT at user@labels at blocod{d-blok}%
+\def\pgfPT at user@labels at blocof{f-blok}%
+% ----------------------------
+\def\pgfPT at user@labels at blocor{REPRESENTATIEVE ELEMENTEN}%
+\def\pgfPT at user@labels at blocot{TRANSITIEMETALEN}%
+\def\pgfPT at user@labels at blocoi{INWENDIGE TRANSITIEMETALEN}%
+% ----------------------------
+% periodic variations
+\def\pgfPT at user@labels at Raum{De atoomstraal neemt toe binnen de groep}%
+\def\pgfPT at user@labels at Rdim{De atoomstraal neemt af binnen de periode}%
+\def\pgfPT at user@labels at Eiaum{De ionisatie-energie neemt toe binnen de periode}%
+\def\pgfPT at user@labels at Eidim{De ionisatie-energie neemt af binnen de groep}%
+\def\pgfPT at user@labels at eaffaum{De elektronenaffiniteit neemt toe binnen de periode}%
+\def\pgfPT at user@labels at eaffdim{De elektronenaffiniteit neemt af binnen de groep}%
+% ----------------------------
+% lattice structure:
+\def\pgfPT at user@labels at ls@bcc{kubisch I-gecenterd}%
+\def\pgfPT at user@labels at ls@bcort{orthorhombisch C-gecenterd}%
+\def\pgfPT at user@labels at ls@ctetr{tetragonaal I-gecenterd}%
+\def\pgfPT at user@labels at ls@dia{diamant}%
+\def\pgfPT at user@labels at ls@fcc{kubisch F-gecenterd}%
+\def\pgfPT at user@labels at ls@fcort{orthorombisch F-gecenterd}%
+\def\pgfPT at user@labels at ls@hcp{hexagonale dichtste bolstapeling}%
+\def\pgfPT at user@labels at ls@hex{hexagonaal}%
+\def\pgfPT at user@labels at ls@mono{monoklien}%
+\def\pgfPT at user@labels at ls@rho{rhombo\"{e}drisch}%
+\def\pgfPT at user@labels at ls@sc{kubisch primitief}%
+\def\pgfPT at user@labels at ls@tric{triklien}%
+\def\pgfPT at user@labels at ls@tetr{tetragonaal}%
+% ----------------------------
+% element names
+\def\pgfPT at user@CSname at H{waterstof}%
+\def\pgfPT at user@CSname at He{helium}%
+\def\pgfPT at user@CSname at Li{lithium}%
+\def\pgfPT at user@CSname at Be{beryllium}%
+\def\pgfPT at user@CSname at B{boor}%
+\def\pgfPT at user@CSname at C{koolstof}%
+\def\pgfPT at user@CSname at N{stikstof}%
+\def\pgfPT at user@CSname at O{zuurstof}%
+\def\pgfPT at user@CSname at F{fluor}%
+\def\pgfPT at user@CSname at Ne{neon}%
+\def\pgfPT at user@CSname at Na{natrium}%
+\def\pgfPT at user@CSname at Mg{magnesium}%
+\def\pgfPT at user@CSname at Al{aluminium}%
+\def\pgfPT at user@CSname at Si{silicium}%
+\def\pgfPT at user@CSname at P{fosfor}%
+\def\pgfPT at user@CSname at S{zwavel}%
+\def\pgfPT at user@CSname at Cl{chloor}%
+\def\pgfPT at user@CSname at Ar{argon}%
+\def\pgfPT at user@CSname at K{kalium}%
+\def\pgfPT at user@CSname at Ca{calcium}%
+\def\pgfPT at user@CSname at Sc{scandium}%
+\def\pgfPT at user@CSname at Ti{titanium}%
+\def\pgfPT at user@CSname at V{vanadium}%
+\def\pgfPT at user@CSname at Cr{chroom}%
+\def\pgfPT at user@CSname at Mn{mangaan}%
+\def\pgfPT at user@CSname at Fe{ijzer}%
+\def\pgfPT at user@CSname at Co{kobalt}%
+\def\pgfPT at user@CSname at Ni{nikkel}%
+\def\pgfPT at user@CSname at Cu{koper}%
+\def\pgfPT at user@CSname at Zn{zink}%
+\def\pgfPT at user@CSname at Ga{gallium}%
+\def\pgfPT at user@CSname at Ge{germanium}%
+\def\pgfPT at user@CSname at As{arseen}%
+\def\pgfPT at user@CSname at Se{seleen}%
+\def\pgfPT at user@CSname at Br{broom}%
+\def\pgfPT at user@CSname at Kr{krypton}%
+\def\pgfPT at user@CSname at Rb{rubidium}%
+\def\pgfPT at user@CSname at Sr{strontium}%
+\def\pgfPT at user@CSname at Y{yttrium}%
+\def\pgfPT at user@CSname at Zr{zirkonium}%
+\def\pgfPT at user@CSname at Nb{niobium}%
+\def\pgfPT at user@CSname at Mo{molybdeen}%
+\def\pgfPT at user@CSname at Tc{technetium}%
+\def\pgfPT at user@CSname at Ru{ruthenium}%
+\def\pgfPT at user@CSname at Rh{rhodium}%
+\def\pgfPT at user@CSname at Pd{palladium}%
+\def\pgfPT at user@CSname at Ag{zilver}%
+\def\pgfPT at user@CSname at Cd{cadmium}%
+\def\pgfPT at user@CSname at In{indium}%
+\def\pgfPT at user@CSname at Sn{tin}%
+\def\pgfPT at user@CSname at Sb{antimoon}%
+\def\pgfPT at user@CSname at Te{telluur}%
+\def\pgfPT at user@CSname at I{jood}%
+\def\pgfPT at user@CSname at Xe{xenon}%
+\def\pgfPT at user@CSname at Cs{cesium}%
+\def\pgfPT at user@CSname at Ba{barium}%
+\def\pgfPT at user@CSname at La{lanthaan}%
+\def\pgfPT at user@CSname at Ce{cerium}%
+\def\pgfPT at user@CSname at Pr{praseodymium}%
+\def\pgfPT at user@CSname at Nd{neodymium}%
+\def\pgfPT at user@CSname at Pm{promethium}%
+\def\pgfPT at user@CSname at Sm{samarium}%
+\def\pgfPT at user@CSname at Eu{europium}%
+\def\pgfPT at user@CSname at Gd{gadolinium}%
+\def\pgfPT at user@CSname at Tb{terbium}%
+\def\pgfPT at user@CSname at Dy{dysprosium}%
+\def\pgfPT at user@CSname at Ho{holmium}%
+\def\pgfPT at user@CSname at Er{erbium}%
+\def\pgfPT at user@CSname at Tm{thulium}%
+\def\pgfPT at user@CSname at Yb{ytterbium}%
+\def\pgfPT at user@CSname at Lu{lutetium}%
+\def\pgfPT at user@CSname at Hf{hafnium}%
+\def\pgfPT at user@CSname at Ta{tantaal}%
+\def\pgfPT at user@CSname at W{wolfraam}%
+\def\pgfPT at user@CSname at Re{renium}%
+\def\pgfPT at user@CSname at Os{osmium}%
+\def\pgfPT at user@CSname at Ir{iridium}%
+\def\pgfPT at user@CSname at Pt{platina}%
+\def\pgfPT at user@CSname at Au{goud}%
+\def\pgfPT at user@CSname at Hg{kwik}%
+\def\pgfPT at user@CSname at Tl{thallium}%
+\def\pgfPT at user@CSname at Pb{lood}%
+\def\pgfPT at user@CSname at Bi{bismut}%
+\def\pgfPT at user@CSname at Po{polonium}%
+\def\pgfPT at user@CSname at At{astaat}%
+\def\pgfPT at user@CSname at Rn{radon}%
+\def\pgfPT at user@CSname at Fr{francium}%
+\def\pgfPT at user@CSname at Ra{radium}%
+\def\pgfPT at user@CSname at Ac{actinium}%
+\def\pgfPT at user@CSname at Th{thorium}%
+\def\pgfPT at user@CSname at Pa{protactinium}%
+\def\pgfPT at user@CSname at U{uranium}%
+\def\pgfPT at user@CSname at Np{neptunium}%
+\def\pgfPT at user@CSname at Pu{plutonium}%
+\def\pgfPT at user@CSname at Am{americium}%
+\def\pgfPT at user@CSname at Cm{curium}%
+\def\pgfPT at user@CSname at Bk{berkelium}%
+\def\pgfPT at user@CSname at Cf{californium}%
+\def\pgfPT at user@CSname at Es{einsteinium}%
+\def\pgfPT at user@CSname at Fm{fermium}%
+\def\pgfPT at user@CSname at Md{mendelevium}%
+\def\pgfPT at user@CSname at No{nobelium}%
+\def\pgfPT at user@CSname at Lr{lawrencium}%
+\def\pgfPT at user@CSname at Rf{rutherfordium}%
+\def\pgfPT at user@CSname at Db{dubnium}%
+\def\pgfPT at user@CSname at Sg{seaborgium}%
+\def\pgfPT at user@CSname at Bh{bohrium}%
+\def\pgfPT at user@CSname at Hs{hassium}%
+\def\pgfPT at user@CSname at Mt{meitnerium}%
+\def\pgfPT at user@CSname at Ds{darmstadtium}%
+\def\pgfPT at user@CSname at Rg{r\"{o}ntgenium}%
+\def\pgfPT at user@CSname at Cn{copernicium}%
+\def\pgfPT at user@CSname at Nh{nihonium}%
+\def\pgfPT at user@CSname at Fl{flerovium}%
+\def\pgfPT at user@CSname at Mc{moscovium}%
+\def\pgfPT at user@CSname at Lv{livermorium}%
+\def\pgfPT at user@CSname at Ts{tennessine}%
+\def\pgfPT at user@CSname at Og{oganesson}%
+% ----------------------------
+% Country (or Region) names
+\def\pgfPT at user@country at AM{Klein-Azi\"{e}}%
+\def\pgfPT at user@country at au{Oostenrijk}%
+\def\pgfPT at user@country at dn{Denemarken}%
+\def\pgfPT at user@country at eg{Egypte}%
+\def\pgfPT at user@country at fl{Finland}%
+\def\pgfPT at user@country at fr{Frankrijk}%
+\def\pgfPT at user@country at de{Duitsland}%
+\def\pgfPT at user@country at it{Itali\"{e}}%
+\def\pgfPT at user@country at ME{Midden-Oosten}%
+\def\pgfPT at user@country at pe{Peru}%
+\def\pgfPT at user@country at ro{Roemeni\"{e}}%
+\def\pgfPT at user@country at ru{Rusland}%
+\def\pgfPT at user@country at es{Spanje}%
+\def\pgfPT at user@country at sw{Zweden}%
+\def\pgfPT at user@country at ch{Zwitserland}%
+\def\pgfPT at user@country at uk{Verenigd Koninkrijk}%
+\def\pgfPT at user@country at us{Verenigde Staten}%
+\def\pgfPT at user@country at mx{Mexico}%
+\endinput%


Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.nl.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.undefined.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.undefined.tex	                        (rev 0)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.undefined.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -0,0 +1,268 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% --------------------------------------------------------------------------------------------------
+% subfile of pgf-PeriodicTable package ----------------------------------------------------------
+% --------------------------------------------------------------------------------------------------
+%
+% Translation file for user undefined
+% Author: Hugo Gomes @2024/02/10
+% Dummy language file to make empty user definitions
+% --------------------------------------------------------------------------------------------------
+% This is file lang.undefined.tex
+% Version: 1
+% Revision: 0
+% Date: 2024/02/10
+% Provides translation of data used
+% in pgf-PeriodicTable files
+% Language: undefined
+% ----------------------------
+\def\pgfPT at user@labels at titulo{}%
+% ----------------------------
+\def\pgfPT at user@labels at La{}%
+\def\pgfPT at user@labels at Ac{}%
+% ----------------------------
+\def\pgfPT at user@labels at solido{}%
+\def\pgfPT at user@labels at liquido{}%
+\def\pgfPT at user@labels at gasoso{}%
+\def\pgfPT at user@labels at sintetico{}%
+% ----------------------------
+% labels for legend
+\def\pgfPT at user@labels at Z{}%
+\def\pgfPT at user@labels at name{}%
+\def\pgfPT at user@labels at CS{}%
+\def\pgfPT at user@labels at Ar@m{}%
+\def\pgfPT at user@labels at Arstar@m{}%
+\def\pgfPT at user@labels at Ar@w{}%
+\def\pgfPT at user@labels at Arstar@w{}%
+\def\pgfPT at user@labels at radio{}%
+\def\pgfPT at user@labels at R{}%
+\def\pgfPT at user@labels at Rcov{}%
+\def\pgfPT at user@labels at Rion{}%
+\def\pgfPT at user@labels at Ei{}%
+\def\pgfPT at user@labels at eneg{}%
+\def\pgfPT at user@labels at eaff{}%
+\def\pgfPT at user@labels at O{}%
+\def\pgfPT at user@labels at Tmelt{}%
+\def\pgfPT at user@labels at TmeltC{}%
+\def\pgfPT at user@labels at Tboil{}%
+\def\pgfPT at user@labels at TboilC{}%
+\def\pgfPT at user@labels at eDist{}%
+\def\pgfPT at user@labels at eConfig{}%
+\def\pgfPT at user@labels at d{}%
+\def\pgfPT at user@labels at Cp{}%
+\def\pgfPT at user@labels at kT{}%
+\def\pgfPT at user@labels at ls{}%
+\def\pgfPT at user@labels at lsa{}%
+\def\pgfPT at user@labels at lsb{}%
+\def\pgfPT at user@labels at lsc{}%
+\def\pgfPT at user@labels at lsca{}%
+\def\pgfPT at user@labels at DiscY{}%
+% Before Christ acronym:
+\def\pgfPT at user@labels at BC{}%
+\def\pgfPT at user@labels at DiscC{}%
+\def\pgfPT at user@labels at spectra{}%
+% ----------------------------
+% acronym to use in legend
+% for 'Name'
+\def\pgfPT at user@acr at name{}%
+% for 'Chemical Symbol'
+\def\pgfPT at user@acr at CS{}%
+% for 'Radioactive'
+\def\pgfPT at user@acr at radio{}%
+% for 'Melting Point'
+\def\pgfPT at user@acr at Tmelt{}%
+% for 'Boiling Point'
+\def\pgfPT at user@acr at Tboil{}%
+% for 'Electron Distribution'
+\def\pgfPT at user@acr at eDist{}%
+% for 'Electronic Configuration'
+\def\pgfPT at user@acr at eConfign{}%
+% for 'Lattice Structure'
+\def\pgfPT at user@acr at ls{}%
+% for 'Lattice constant: a'
+\def\pgfPT at user@acr at lsa{}%
+% for 'Lattice constant: b'
+\def\pgfPT at user@acr at lsb{}%
+% for 'Lattice constant: c'
+\def\pgfPT at user@acr at lsc{}%
+% for 'Lattice c/a ratio'
+\def\pgfPT at user@acr at lsca{}%
+% for 'Year of Discovery'
+\def\pgfPT at user@acr at DiscY{}%
+% for 'Country of Discovery'
+\def\pgfPT at user@acr at DiscC{}%
+% for 'Emission Spectrum'
+\def\pgfPT at user@acr at spectra{}%
+% ----------------------------
+% blocks
+\def\pgfPT at user@labels at blocos{}%
+\def\pgfPT at user@labels at blocop{}%
+\def\pgfPT at user@labels at blocod{}%
+\def\pgfPT at user@labels at blocof{}%
+% ----------------------------
+\def\pgfPT at user@labels at blocor{}%
+\def\pgfPT at user@labels at blocot{}%
+\def\pgfPT at user@labels at blocoi{}%
+% ----------------------------
+% periodic variations
+\def\pgfPT at user@labels at Raum{}%
+\def\pgfPT at user@labels at Rdim{}%
+\def\pgfPT at user@labels at Eiaum{}%
+\def\pgfPT at user@labels at Eidim{}%
+\def\pgfPT at user@labels at eaffaum{}%
+\def\pgfPT at user@labels at eaffdim{}%
+% ----------------------------
+% lattice structure:
+\def\pgfPT at user@labels at ls@bcc{}%
+\def\pgfPT at user@labels at ls@bcort{}%
+\def\pgfPT at user@labels at ls@ctetr{}%
+\def\pgfPT at user@labels at ls@dia{}%
+\def\pgfPT at user@labels at ls@fcc{}%
+\def\pgfPT at user@labels at ls@fcort{}%
+\def\pgfPT at user@labels at ls@hcp{}%
+\def\pgfPT at user@labels at ls@hex{}%
+\def\pgfPT at user@labels at ls@mono{}%
+\def\pgfPT at user@labels at ls@rho{}%
+\def\pgfPT at user@labels at ls@sc{}%
+\def\pgfPT at user@labels at ls@tric{}%
+\def\pgfPT at user@labels at ls@tetr{}%
+% ----------------------------
+% element names
+\def\pgfPT at user@CSname at H{Hugo}%
+\def\pgfPT at user@CSname at He{Gomes}%
+\def\pgfPT at user@CSname at Li{}%
+\def\pgfPT at user@CSname at Be{}%
+\def\pgfPT at user@CSname at B{}%
+\def\pgfPT at user@CSname at C{}%
+\def\pgfPT at user@CSname at N{}%
+\def\pgfPT at user@CSname at O{}%
+\def\pgfPT at user@CSname at F{}%
+\def\pgfPT at user@CSname at Ne{}%
+\def\pgfPT at user@CSname at Na{}%
+\def\pgfPT at user@CSname at Mg{}%
+\def\pgfPT at user@CSname at Al{}%
+\def\pgfPT at user@CSname at Si{}%
+\def\pgfPT at user@CSname at P{}%
+\def\pgfPT at user@CSname at S{}%
+\def\pgfPT at user@CSname at Cl{}%
+\def\pgfPT at user@CSname at Ar{}%
+\def\pgfPT at user@CSname at K{}%
+\def\pgfPT at user@CSname at Ca{}%
+\def\pgfPT at user@CSname at Sc{}%
+\def\pgfPT at user@CSname at Ti{}%
+\def\pgfPT at user@CSname at V{}%
+\def\pgfPT at user@CSname at Cr{}%
+\def\pgfPT at user@CSname at Mn{}%
+\def\pgfPT at user@CSname at Fe{}%
+\def\pgfPT at user@CSname at Co{}%
+\def\pgfPT at user@CSname at Ni{}%
+\def\pgfPT at user@CSname at Cu{}%
+\def\pgfPT at user@CSname at Zn{}%
+\def\pgfPT at user@CSname at Ga{}%
+\def\pgfPT at user@CSname at Ge{}%
+\def\pgfPT at user@CSname at As{}%
+\def\pgfPT at user@CSname at Se{}%
+\def\pgfPT at user@CSname at Br{}%
+\def\pgfPT at user@CSname at Kr{}%
+\def\pgfPT at user@CSname at Rb{}%
+\def\pgfPT at user@CSname at Sr{}%
+\def\pgfPT at user@CSname at Y{}%
+\def\pgfPT at user@CSname at Zr{}%
+\def\pgfPT at user@CSname at Nb{}%
+\def\pgfPT at user@CSname at Mo{}%
+\def\pgfPT at user@CSname at Tc{}%
+\def\pgfPT at user@CSname at Ru{}%
+\def\pgfPT at user@CSname at Rh{}%
+\def\pgfPT at user@CSname at Pd{}%
+\def\pgfPT at user@CSname at Ag{}%
+\def\pgfPT at user@CSname at Cd{}%
+\def\pgfPT at user@CSname at In{}%
+\def\pgfPT at user@CSname at Sn{}%
+\def\pgfPT at user@CSname at Sb{}%
+\def\pgfPT at user@CSname at Te{}%
+\def\pgfPT at user@CSname at I{}%
+\def\pgfPT at user@CSname at Xe{}%
+\def\pgfPT at user@CSname at Cs{}%
+\def\pgfPT at user@CSname at Ba{}%
+\def\pgfPT at user@CSname at La{}%
+\def\pgfPT at user@CSname at Ce{}%
+\def\pgfPT at user@CSname at Pr{}%
+\def\pgfPT at user@CSname at Nd{}%
+\def\pgfPT at user@CSname at Pm{}%
+\def\pgfPT at user@CSname at Sm{}%
+\def\pgfPT at user@CSname at Eu{}%
+\def\pgfPT at user@CSname at Gd{}%
+\def\pgfPT at user@CSname at Tb{}%
+\def\pgfPT at user@CSname at Dy{}%
+\def\pgfPT at user@CSname at Ho{}%
+\def\pgfPT at user@CSname at Er{}%
+\def\pgfPT at user@CSname at Tm{}%
+\def\pgfPT at user@CSname at Yb{}%
+\def\pgfPT at user@CSname at Lu{}%
+\def\pgfPT at user@CSname at Hf{}%
+\def\pgfPT at user@CSname at Ta{}%
+\def\pgfPT at user@CSname at W{}%
+\def\pgfPT at user@CSname at Re{}%
+\def\pgfPT at user@CSname at Os{}%
+\def\pgfPT at user@CSname at Ir{}%
+\def\pgfPT at user@CSname at Pt{}%
+\def\pgfPT at user@CSname at Au{}%
+\def\pgfPT at user@CSname at Hg{}%
+\def\pgfPT at user@CSname at Tl{}%
+\def\pgfPT at user@CSname at Pb{}%
+\def\pgfPT at user@CSname at Bi{}%
+\def\pgfPT at user@CSname at Po{}%
+\def\pgfPT at user@CSname at At{}%
+\def\pgfPT at user@CSname at Rn{}%
+\def\pgfPT at user@CSname at Fr{}%
+\def\pgfPT at user@CSname at Ra{}%
+\def\pgfPT at user@CSname at Ac{}%
+\def\pgfPT at user@CSname at Th{}%
+\def\pgfPT at user@CSname at Pa{}%
+\def\pgfPT at user@CSname at U{}%
+\def\pgfPT at user@CSname at Np{}%
+\def\pgfPT at user@CSname at Pu{}%
+\def\pgfPT at user@CSname at Am{}%
+\def\pgfPT at user@CSname at Cm{}%
+\def\pgfPT at user@CSname at Bk{}%
+\def\pgfPT at user@CSname at Cf{}%
+\def\pgfPT at user@CSname at Es{}%
+\def\pgfPT at user@CSname at Fm{}%
+\def\pgfPT at user@CSname at Md{}%
+\def\pgfPT at user@CSname at No{}%
+\def\pgfPT at user@CSname at Lr{}%
+\def\pgfPT at user@CSname at Rf{}%
+\def\pgfPT at user@CSname at Db{}%
+\def\pgfPT at user@CSname at Sg{}%
+\def\pgfPT at user@CSname at Bh{}%
+\def\pgfPT at user@CSname at Hs{}%
+\def\pgfPT at user@CSname at Mt{}%
+\def\pgfPT at user@CSname at Ds{}%
+\def\pgfPT at user@CSname at Rg{}%
+\def\pgfPT at user@CSname at Cn{}%
+\def\pgfPT at user@CSname at Nh{}%
+\def\pgfPT at user@CSname at Fl{}%
+\def\pgfPT at user@CSname at Mc{}%
+\def\pgfPT at user@CSname at Lv{}%
+\def\pgfPT at user@CSname at Ts{}%
+\def\pgfPT at user@CSname at Og{}%
+% ----------------------------
+% Country (or Region) names
+\def\pgfPT at user@country at AM{}%
+\def\pgfPT at user@country at au{}%
+\def\pgfPT at user@country at dn{}%
+\def\pgfPT at user@country at eg{}%
+\def\pgfPT at user@country at fl{}%
+\def\pgfPT at user@country at fr{}%
+\def\pgfPT at user@country at de{}%
+\def\pgfPT at user@country at it{}%
+\def\pgfPT at user@country at ME{}%
+\def\pgfPT at user@country at pe{}%
+\def\pgfPT at user@country at ro{}%
+\def\pgfPT at user@country at ru{}%
+\def\pgfPT at user@country at es{}%
+\def\pgfPT at user@country at sw{}%
+\def\pgfPT at user@country at ch{}%
+\def\pgfPT at user@country at uk{}%
+\def\pgfPT at user@country at us{}%
+\def\pgfPT at user@country at mx{}%
+\endinput%


Property changes on: branches/branch2023.final/Master/texmf-dist/doc/latex/pgf-periodictable/translations/lang.undefined.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty	2024-02-16 21:16:08 UTC (rev 69924)
@@ -1,4 +1,5 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Hugo Gomes @ 14/02/2024 v2.1.0
 % Hugo Gomes @ 29/05/2023 v2.0.1
 % Hugo Gomes @ 20/02/2023 v2.0.0
 % Hugo Gomes @ 08/11/2022 v1.0.1
@@ -5,7 +6,7 @@
 % Hugo Gomes @ 10/10/2022 v1.0.0
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \NeedsTeXFormat{LaTeX2e}%
-\ProvidesPackage{pgf-PeriodicTable}[29/05/2023 pgf-PeriodicTable v2.0.1]%%
+\ProvidesPackage{pgf-PeriodicTable}[14/02/2024 pgf-PeriodicTable v2.1.0]%%
 \RequirePackage{tikz}%
 \usetikzlibrary{fadings}%
 \tikzfading[name=aumentax, left color=transparent!80, right color=transparent!1]%
@@ -12,8 +13,41 @@
 \tikzfading[name=diminuix, left color=transparent!1, right color=transparent!80]%
 \tikzfading[name=aumentay, top color=transparent!80, bottom color=transparent!1]%
 \tikzfading[name=diminuiy, bottom color=transparent!80, top color=transparent!1]%
-\RequirePackage[T1]{fontenc}%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% check the engine and load font packages
+\ifx\pdfliteral\undefined\relax% XeLaTeX or LuaLaTeX
+\RequirePackage{fontspec}[2020/02/03]\edef\pgfPT at fontspec{1}%
+\else% pdfLaTeX
+\RequirePackage[T1]{fontenc}\edef\pgfPT at fontspec{0}%
+\fi%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ifs to user language and list of user translations available
+\newif\ifpgfPT at user@lang\pgfPT at user@langfalse%
+\newif\ifpgfPT at user@lang at isvalid\pgfPT at user@lang at isvalidfalse%
+% ISO code language list ------------------------------------->
+\def\pggPT at userlanguage@ISOcode at list{nl/Nederlands}%
+% ----------------------------------------------------------------
+\def\pggPT at userlanguage@ISOcode at check#1{%
+\edef\pgfPT at tmpISOcode{#1}%
+\def\pggPT at userlanguage@ISOcode at validate##1/##2\relax{\edef\pggPT at userlanguage@ISOcode at curr{##1}\edef\pggPT at userlanguage@ISOcode at currName{##2}}%
+\@for\@pgfPT at tmp:=\pggPT at userlanguage@ISOcode at list\do{\expandafter\pggPT at userlanguage@ISOcode at validate\@pgfPT at tmp\relax%
+\ifx\pggPT at userlanguage@ISOcode at curr\pgfPT at tmpISOcode\relax\global\pgfPT at user@lang at isvalidtrue%
+\edef\pggPT at userlanguage@ISOcode{\pggPT at userlanguage@ISOcode at curr}%
+\edef\pggPT at userlanguage@ISOcode at Name{\pggPT at userlanguage@ISOcode at currName}\fi%
+}% END \@for
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% ifs to typeset with \zhnumber
+\newif\ifpgfPT at zhnumbers@Z\pgfPT at zhnumbers@Zfalse%
+\newif\ifpgfPT at zhnumbers@per\pgfPT at zhnumbers@perfalse%
+\newif\ifpgfPT at zhnumbers@gr\pgfPT at zhnumbers@grfalse%
+% macro to set the zhnumber ifs to true or false
+% \pgfPTzhnumber[true|false]{what list} -> default [true]
+\def\pgfPTzhnumber{\@ifnextchar[{\@pgfPT at zhnumber}{\@pgfPT at zhnumber[true]}}%
+\def\@pgfPT at zhnumber[#1]#2{%
+\@for\@pgfPT at tmp:=#2\do{\csname pgfPT at zhnumbers@\@pgfPT at tmp#1\endcsname}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \DeclareOption{pt}{\def\pgfPT at defaultLanguage{pt}}%
 \DeclareOption{en}{\def\pgfPT at defaultLanguage{en}}%
 \DeclareOption{fr}{\def\pgfPT at defaultLanguage{fr}}%
@@ -21,9 +55,76 @@
 \DeclareOption{it}{\def\pgfPT at defaultLanguage{it}}%
 \DeclareOption{es}{\def\pgfPT at defaultLanguage{es}}%
 \DeclareOption{br}{\def\pgfPT at defaultLanguage{br}}%
+\DeclareOption{dvnnumerals}{%
+\ifnum\pgfPT at fontspec=0\relax%
+\def\pgfPT at dvn@wrn{\PackageError{pgfPT}{package option 'numerals=dvn' (Devanagari Numerals) requires 'fontspec' package with XeLaTeX engine...}}%
+\else\ifx\pdfextension\undefined\relax% XeLaTeX%
+\newfontfamily\pgfPTdvn[Mapping=devanagarinumerals]{Eczar}%
+\def\pgfPTdvnfont{\@ifnextchar[{\@pgfPTdvnfont}{\@pgfPTdvnfont[]}}%
+\def\@pgfPTdvnfont[#1]#2{\renewfontfamily\pgfPTdvn[Mapping=devanagarinumerals,#1]{#2}}%
+\let\pgfPTnumberfont\pgfPTdvn\let\pgfPT at printnum\relax%
+\else\def\pgfPT at dvn@wrn{\PackageError{pgfPT}{package option 'numerals=dvn' (Devanagari Numerals) requires XeLaTeX engine...}}%
+\fi\fi%
+}%
+\DeclareOption{zhnumerals}{%
+\ifnum\pgfPT at fontspec=0\relax%
+\def\pgfPT at zh@wrn{\PackageError{pgfPT}{package option 'numerals=zh' (Mandarin Numerals) requires 'fontspec' package with XeLaTeX or LuaLaTeX engines...}}%
+\else\def\pgfPT at zhnumerals{}\fi}%
+\DeclareOption*{%
+\edef\pgfPT at processOption@equal{=}\edef\pgfPT at processOption@STOP{}%
+\def\pgfPT at processOption#1#2\relax{\edef\pgfPT at processOption@curchar{#1}\edef\pgfPT at processOption@remain{#2}%
+\def\pgfPT at getOption##1=##2\relax{%
+% option numerals=<dvn|zh>
+\edef\pgfPT at tmpOptionA{##1}\edef\pgfPT at tmpOptionB{numerals}\ifx\pgfPT at tmpOptionA\pgfPT at tmpOptionB%
+\edef\pgfPT at tmpOptionA{##2}\edef\pgfPT at tmpOptionB{zh}\ifx\pgfPT at tmpOptionA\pgfPT at tmpOptionB\ExecuteOptions{zhnumerals}\else%
+\edef\pgfPT at tmpOptionA{##2}\edef\pgfPT at tmpOptionB{dvn}\ifx\pgfPT at tmpOptionA\pgfPT at tmpOptionB\ExecuteOptions{dvnnumerals}\else%
+\@latex at error{Unknown value '\pgfPT at tmpOptionA' for option 'numerals' passed to '\@currname'}%
+{The option '\CurrentOption' was not declared in \@cls at pkg\space'\@currname', perhaps you\MessageBreak misspelled its name. Try typing \space <return>\space to proceed.}%
+\fi\fi% END option numerals
+% option userlang=<language ISO code>
+\else\edef\pgfPT at tmpOptionB{userlang}\ifx\pgfPT at tmpOptionA\pgfPT at tmpOptionB%
+\pggPT at userlanguage@ISOcode at check{##2}%
+\ifpgfPT at user@lang at isvalid%
+\message{Loading \pggPT at userlanguage@ISOcode at Name\space language data...}%
+\pgfPT at user@langtrue\def\pgfPT at defaultLanguage{user}%
+\else%
+\@latex at error{Unknown language ISO code '\pgfPT at tmpISOcode' for \@cls at pkg\space`\@currname'}%
+{The language ISO code '\pgfPT at tmpISOcode' was not declared in \@cls at pkg\space'\@currname', perhaps you\MessageBreak misspelled its name. Try typing \space <return>\space to proceed.}%
+\fi% \ifpgfPT at user@lang at isvalid%
+\else%
+\@latex at error{Unknown option '\pgfPT at tmpOptionA' for \@cls at pkg\space`\@currname'}%
+{The option '\CurrentOption' was not declared in \@cls at pkg\space'\@currname', perhaps you\MessageBreak misspelled its name. Try typing \space <return>\space to proceed with the default language (en).}%
+\fi\fi% % END option userlang
+}% END \pgfPT at getOption
+\ifx\pgfPT at processOption@curchar\pgfPT at processOption@equal\relax%
+\expandafter\pgfPT at getOption\CurrentOption\relax%
+\else\ifx\pgfPT at processOption@remain\pgfPT at processOption@STOP\relax%
+\else\expandafter\pgfPT at processOption#2\pgfPT at processOption@STOP\relax\fi\fi%
+}% END \pgfPT at processOption
+\expandafter\pgfPT at processOption\CurrentOption\pgfPT at processOption@STOP\relax%
+}% END \DeclareOption*
 \ExecuteOptions{en}%
 \ProcessOptions\relax%
+\ifx\pgfPT at dvn@wrn\undefined\relax\else\pgfPT at dvn@wrn\fi%
+\ifx\pgfPT at zh@wrn\undefined\relax\else\pgfPT at zh@wrn\fi%
+\ifx\pgfPT at zhnumerals\undefined\relax\else%
+\RequirePackage{zhnumber}%
+\pgfPT at zhnumbers@Ztrue\pgfPT at zhnumbers@pertrue\pgfPT at zhnumbers@grtrue%
+\newfontfamily\pgfPTzhnumberfont[Script=CJK,AutoFakeBold=4]{SimSun}%
+\def\pgfPTzhfont{\@ifnextchar[{\@pgfPTzhfont}{\@pgfPTzhfont[]}}%
+\def\@pgfPTzhfont[#1]#2{\renewfontfamily\pgfPTzhnumberfont[Script=CJK,#1]{#2}}%
+\let\pgfPTnumberfont\pgfPTzhnumberfont%
+\let\pgfPT at printnum\zhnumber%
+\fi%
+\ifx\pgfPT at printnum\undefined\relax\let\pgfPT at printnum\relax\let\pgfPTnumberfont\relax\fi%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% process user language
+\ifpgfPT at user@lang%
+\input{translations/lang.\pggPT at userlanguage@ISOcode.tex}%
+\else%
+\input{translations/lang.undefined.tex}%
+\fi%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newcount\pgfPT at counta\newcount\pgfPT at countb%
 \newcount\pgfPT at countc\newcount\pgfPT at countd%
 \newcount\pgfPT at counte\newcount\pgfPT at countf%
@@ -34,6 +135,7 @@
 \newdimen\pgfPT at boxwd%
 \newdimen\pgfPT at boxht%
 \newdimen\pgfPT at data@Z at natwd%
+\newdimen\pgfPT at data@DiscY at natwd%
 \newif\ifpgfPT at temp%
 \newif\ifpgfPT at found%
 \newif\ifpgfPTis at backcolorsolid%
@@ -57,6 +159,8 @@
 \newsavebox\pgfPT at tmpbox%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\@pgfPT at setlayers{%
+\ifx\@pgfPT at resetlayers\undefined\relax\edef\@pgfPT at resetlayers{\pgf at layerlist}\fi%
+\pgfsetlayers{\@pgfPT at resetlayers}%
 \edef\@pgfPT at layers{pgfPTpaperlayer,pgfPTbacklayer,\pgf at layerlist}%
 \pgfdeclarelayer{pgfPTbacklayer}%
 \pgfdeclarelayer{pgfPTpaperlayer}%
@@ -113,7 +217,14 @@
 \@pgfPT at setlayers%
 \tikz[every node/.append style={inner sep=0pt,below right}]{%
 \pgfkeys{/pgfPerTable/.cd,#1}%
-\fontfamily{\pgfPTglobalfont}\selectfont\renewcommand*\rmdefault{\pgfPTglobalfont}%
+% setting the font
+\ifnum\pgfPT at fontspec=1\relax% fontspec is loaded
+\edef\pgfPT at defaultfont{phv}%
+\ifx\pgfPTglobalfont\pgfPT at defaultfont\relax\edef\pgfPTglobalfont{TeX Gyre Heros}\fi% replacing 'phv' by 'TeX Gyre Heros'
+\setmainfont{\pgfPTglobalfont}%
+\ifx\NoAutoSpacing\undefined\relax\else\NoAutoSpacing\fi% XeLaTeX/LuaLaTeX -> removing \xABextra space\xBB before ':' for babel:french
+\else% fontenc is loaded (with T1 option)
+\fontfamily{\pgfPTglobalfont}\selectfont\renewcommand*\rmdefault{\pgfPTglobalfont}\fi%
 \edef\pgfPT at doc@fsize{\f at size}%
 \input{pgfPT.coordinates.tex}%
 % loading the cell style
@@ -205,14 +316,43 @@
         \edef\pgfPT at teststra{Radio}\ifx\pgfPT at teststra\pgfPT at teststrb\pgfPT at processbackcolor{61}\fill[cpgfPTTMP] ([xshift={4/15*\pgfPTcellwd}]xLa) rectangle ++(\pgfPTcellwd/15,-\pgfPTcellht);\draw (xLa) -- ++(\pgfPTcellwd,0);\draw ([yshift=-\pgfPTcellht]xLa) -- ++(\pgfPTcellwd,0);\fi%
         \edef\pgfPT at teststra{Blocks}\ifx\pgfPT at teststra\pgfPT at teststrb\pgfPT at processbackcolor{58}\fill[cpgfPTTMP] ([xshift={1/15*\pgfPTcellwd}]xLa) rectangle ++(\pgfPTcellwd*14/15,-\pgfPTcellht);\draw (xLa) -- ++(\pgfPTcellwd,0);\fi%
         \ifpgfPT at Z
-            \ifpgfZuseboxwidth%
-            \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
-            at (xLa) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}57--71\hspace{\pgfPTZspace}\vfil}};%
-            \else%
-            {\pgfPTZfont\selectfont\pgfmathparse{width("57--71")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
-            \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT at data@Z at natwd,inner xsep=.5ex]%
-            at (xLa) {\vbox to\pgfPT at data@Z at ht{\vfil57--71\vfil}};}%
+            \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont%
+            \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                \pgfmathparse{width("\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax%
+                    \pgfmathparse{\pgfPT at data@Z at wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at (xLa) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}}\hspace{\pgfPTZspace}\vfil}};%
+                \else%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at (xLa) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}\hspace{\pgfPTZspace}\vfil}};%
+                \fi%
+            \else\let\pgfPT at printnum\relax%
+                \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                    at (xLa) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{57--71}\hspace{\pgfPTZspace}\vfil}};%
             \fi%
+            }%
+            \else{%
+                \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                    \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                    \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax\edef\@pgfPT at resizebox{1}%
+                    \pgfmathparse{\pgfPT at data@Z at wd-1ex}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}\else\edef\@pgfPT at resizebox{0}\fi%
+                \else\let\pgfPT at printnum\relax%
+                    \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \fi%
+                \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT at data@Z at natwd,inner xsep=.5ex]%
+                at (xLa) {%
+                    \ifpgfPT at zhnumbers@Z%
+                        \ifnum\@pgfPT at resizebox=1\relax%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}}\vfil}%
+                        \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{57}\ --\ \pgfPT at printnum{71}\vfil}%
+                        \fi%
+                    \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{57--71}\vfil}%
+                    \fi%
+                    };}%
+            \fi%
         \fi%
         \ifpgfPT at name\pgfPT at setlabels[\pgfPTlanguages]{La}%
             \edef\pgfPT at tmp@label at defaultLanguage{}\edef\pgfPT at tmp@labels at otherLanguages{}\pgfPT at counta=0\relax%
@@ -247,14 +387,43 @@
         \edef\pgfPT at teststra{PS}\ifx\pgfPT at teststra\pgfPT at teststrb\pgfPT at processbackcolor{93}\fill[cpgfPTTMP] ([xshift={4/15*\pgfPTcellwd}]xAc) rectangle ++(\pgfPTcellwd*11/15,-\pgfPTcellht);\draw (xAc) -- ++(\pgfPTcellwd,0);\draw ([yshift=-\pgfPTcellht]xAc) -- ++(\pgfPTcellwd,0);\fi%
         \edef\pgfPT at teststra{Blocks}\ifx\pgfPT at teststra\pgfPT at teststrb\pgfPT at processbackcolor{90}\fill[cpgfPTTMP] ([xshift={1/15*\pgfPTcellwd}]xAc) rectangle ++(\pgfPTcellwd*14/15,-\pgfPTcellht);\draw (xAc) -- ++(\pgfPTcellwd,0);\draw ([yshift=-\pgfPTcellht]xAc) -- ++(\pgfPTcellwd,0);\fi%
         \ifpgfPT at Z%
-            \ifpgfZuseboxwidth%
-            \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
-            at (xAc) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}89--103\hspace{\pgfPTZspace}\vfil}};%
-            \else%
-            {\pgfPTZfont\selectfont\pgfmathparse{width("89--103")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
-            \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT at data@Z at natwd,inner xsep=.5ex]%
-            at (xAc) {\vbox to\pgfPT at data@Z at ht{\vfil89--103\vfil}};}%
+            \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont%
+            \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                \pgfmathparse{width("\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax%
+                    \pgfmathparse{\pgfPT at data@Z at wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at (xAc) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}}\hspace{\pgfPTZspace}\vfil}};%
+                \else%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at (xAc) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}\hspace{\pgfPTZspace}\vfil}};%
+                \fi%
+            \else\let\pgfPT at printnum\relax%
+                \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                    at (xAc) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{89--103}\hspace{\pgfPTZspace}\vfil}};%
             \fi%
+            }%
+            \else{%
+                \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                    \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                    \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax\edef\@pgfPT at resizebox{1}%
+                    \pgfmathparse{\pgfPT at data@Z at wd-1ex}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}\else\edef\@pgfPT at resizebox{0}\fi%
+                \else\let\pgfPT at printnum\relax%
+                    \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \fi%
+                \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT at data@Z at natwd,inner xsep=.5ex]%
+                at (xAc) {%
+                    \ifpgfPT at zhnumbers@Z%
+                        \ifnum\@pgfPT at resizebox=1\relax%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}}\vfil}%
+                        \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{89}\ --\ \pgfPT at printnum{103}\vfil}%
+                        \fi%
+                    \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{89--103}\vfil}%
+                    \fi%
+                    };}%
+            \fi%
         \fi%
         \ifpgfPT at name\pgfPT at setlabels[\pgfPTlanguages]{Ac}%
             \edef\pgfPT at tmp@label at defaultLanguage{}\edef\pgfPT at tmp@labels at otherLanguages{}\pgfPT at counta=0\relax%
@@ -293,13 +462,46 @@
     \draw[fill=cpgfPTTMP,line width=\pgfPTcelllinewd,draw=\pgfPTcelllinecolor] (\Z) rectangle ++(\pgfPTcellwd,-\pgfPTcellht);
     % append the Z box
     \ifpgfPT at Z%
-        \ifpgfZuseboxwidth%
-            \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
-            at ([xshift=.5*\pgfPT at data@Z at x,yshift=-.5*\pgfPT at data@Z at y]\Z) {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\Z\hspace{\pgfPTZspace}\vfil}};%
+        \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont%
+            \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                \pgfmathparse{width("\pgfPT at printnum{\Z}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax%
+                    \pgfmathparse{\pgfPT at data@Z at wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at ([xshift=.5*\pgfPT at data@Z at x,yshift=-.5*\pgfPT at data@Z at y]\Z)
+                        {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{\Z}}\hspace{\pgfPTZspace}\vfil}};
+                \else%
+                    \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                        at ([xshift=.5*\pgfPT at data@Z at x,yshift=-.5*\pgfPT at data@Z at y]\Z)
+                        {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{\Z}\hspace{\pgfPTZspace}\vfil}};
+                \fi%
+            \else\let\pgfPT at printnum\relax%
+                \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT at data@Z at wd]%
+                    at ([xshift=.5*\pgfPT at data@Z at x,yshift=-.5*\pgfPT at data@Z at y]\Z)
+                    {\vbox to\pgfPT at data@Z at ht{\vfil\hspace{\pgfPTZspace}\pgfPT at printnum{\Z}\hspace{\pgfPTZspace}\vfil}};
+            \fi%
+            }%
         \else%
-            {\pgfPTZfont\pgfmathparse{width(\Z)}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+            {%
+            \ifpgfPT at zhnumbers@Z\let\pgfPT at printnum\zhnumber%
+                \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{\Z}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+                \ifdim\pgfPT at data@Z at natwd>\pgfPT at data@Z at wd\relax\edef\@pgfPT at resizebox{1}%
+                \pgfmathparse{\pgfPT at data@Z at wd-1ex}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}\else\edef\@pgfPT at resizebox{0}\fi%
+            \else\let\pgfPT at printnum\relax%
+                \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT at printnum{\Z}")}\pgfmathsetlength{\pgfPT at data@Z at natwd}{\pgfmathresult}%
+            \fi%
             \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT at data@Z at natwd,inner xsep=.5ex]%
-            at ([xshift=\pgfPT at data@Z at x+.5*\@pgfPT at Zxshift,yshift=-\pgfPT at data@Z at y-.5*\@pgfPT at Zyshift]\Z) {\vbox to\pgfPT at data@Z at ht{\vfil\Z\vfil}};}%
+            at ([xshift=\pgfPT at data@Z at x+.5*\@pgfPT at Zxshift,yshift=-\pgfPT at data@Z at y-.5*\@pgfPT at Zyshift]\Z) {%
+                    \ifpgfPT at zhnumbers@Z%
+                        \ifnum\@pgfPT at resizebox=1\relax%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\resizebox{\pgfPT at data@Z at natwd}{\height}{\pgfPT at printnum{\Z}}\vfil}%
+                        \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{\Z}\vfil}%
+                        \fi%
+                    \else%
+                        \vbox to\pgfPT at data@Z at ht{\vfil\pgfPT at printnum{\Z}\vfil}%
+                    \fi%
+                    };}%
         \fi%
     \fi%
     % the Chemical Symbol
@@ -318,12 +520,10 @@
             \@for\pgfPT at tmp:=\pgfPTlanguages\do{%
                 \ifnum\pgfPT at counta=0\relax%
                     \edef\pgfPT at tmp@name at defaultLanguage{\csname pgfPTdata at name@\@roman{\Z}@\pgfPT at tmp\endcsname}%
-                    %\ifpgfPTNames\edef\pgfPT at tmp@name at defaultLanguage{\expandafter\pgfPT at namec@p\pgfPT at tmp@name at defaultLanguage\relax}\fi% v1.0.1
                     \ifx\pgfPTNames\pgfPT at true\relax\edef\pgfPT at tmp@name at defaultLanguage{\expandafter\pgfPT at namec@p\pgfPT at tmp@name at defaultLanguage\relax}\else%
                     \ifx\pgfPTNames\pgfPT at TRUE\relax\edef\pgfPT at tmp@name at defaultLanguage{\pgfPT at makeUppercase\pgfPT at tmp@name at defaultLanguage\relax}\fi\fi%
                 \else%
                     \edef\pgfPT at tmp@n at me{\csname pgfPTdata at name@\@roman{\Z}@\pgfPT at tmp\endcsname}%
-                    %\ifpgfPTNames\edef\pgfPT at tmp@n at me{\expandafter\pgfPT at namec@p\pgfPT at tmp@n at me\relax}\fi% v1.0.1
                     \ifx\pgfPTNames\pgfPT at true\relax\edef\pgfPT at tmp@n at me{\expandafter\pgfPT at namec@p\pgfPT at tmp@n at me\relax}\else%
                     \ifx\pgfPTNames\pgfPT at TRUE\relax\edef\pgfPT at tmp@n at me{\pgfPT at makeUppercase\pgfPT at tmp@n at me\relax}\fi\fi%
                     \edef\pgfPT at tmp@name at otherLanguages{\pgfPT at tmp@name at otherLanguages\vskip-\pgfPT at dima\hbox to %
@@ -353,7 +553,6 @@
                 {\vbox to \pgfPT at boxht{\vfil\vbox to \pgfPT at dimb{\vfil\pgfPT at tmp@name at otherLanguages}\vfil}};%
             \fi%
             \fi%
-            \fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
     \fi%
     % the Atomic weight
     \ifpgfPT at Ar%
@@ -797,8 +996,8 @@
             \fi\fi%
     \fi%
     % DiscY -> Discover Year
-    \ifpgfPT at DiscY\relax%
-        \node[font=\pgfPTDiscYfont,text=\pgfPTDiscYcolor,text width=\pgfPT at data@DiscY at wd,text centered]%
+    \ifpgfPT at DiscY\relax
+            \node[font=\pgfPTDiscYfont,text=\pgfPTDiscYcolor,text width=\pgfPT at data@DiscY at wd,text centered]%
                 at ([xshift=\pgfPT at data@DiscY at x,yshift=-\pgfPT at data@DiscY at y]\Z) {\vbox to\pgfPT at data@DiscY at ht{\vfil\mbox{\pgfPT at data@DiscY}\vfil}};%
     \fi%
     % spectra -> spectra
@@ -849,8 +1048,10 @@
         \foreach \Z in \pgfPT@@cellslist {%
             \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
             \ifpgfPTIUPACMMIX\edef\pgfPT at teststrb{\pgfPTcells}\edef\pgfPT at teststra{d}\ifx\pgfPT at teststra\pgfPT at teststrb\ifnum\Z>48\pgfmathparse{-1.075*\pgfPTcellwd}\edef\pgfPT at perlabel@xshift{\pgfmathresult}\fi\fi\fi%
+            {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@per\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
             \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at%
-            ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\per};\breakforeach\fi%
+            ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\pgfPT at printnum{\per}};%
+            }\breakforeach\fi%
         }%
         \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
     }%
@@ -878,15 +1079,15 @@
         \advance\pgfPT at counta by 1\relax%
     }%
     \pgfPTlabLaAcfont\selectfont\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}%
-    \pgfmathparse{width("\pgfPT at tmp@label at defaultLanguage")}%
+    \pgfmathparse{width("\noexpand\pgfPT at tmp@label at defaultLanguage")}%
     \edef\pgfPT at labelboxwd{\pgfmathresult}%
+    \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \foreach \Zsearch in \pgfPT at cells@lanthanoids{%
         \foreach \Z in \pgfPT@@cellslist {%
             \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
-            \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {6};%
+            {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@per\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+            \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\pgfPT at printnum{6}};}%
             \ifpgfPTLaAclabels\pgfPT at processbackcolor{57}%
-            %\node[below left,font=\pgfPTlabLaAcfont,text=cpgfPTTMP,inner ysep=0pt] at ([xshift=\pgfPT at perlabel@xshift]\Z)%
-            %{\pgfPT at labels@La};\fi%
             \node[below left,font=\pgfPTlabLaAcfont,text=cpgfPTTMP,inner ysep=0pt,text width=\pgfPT at labelboxwd] at ([xshift=\pgfPT at perlabel@xshift]\Z)%
                     {\pgfPT at tmp@label at defaultLanguage\ifnum\pgfPT at counta>1\relax\fontsize{\pgfPT at dima}{\pgfPT at dima}\selectfont\\ [-1pt]\pgfPT at tmp@labels at otherLanguages\fi};\fi%
             \breakforeach\fi%
@@ -905,12 +1106,14 @@
         \advance\pgfPT at counta by 1\relax%
     }%
     \pgfPTlabLaAcfont\selectfont\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}%
-    \pgfmathparse{width("\pgfPT at tmp@label at defaultLanguage")}%
+    \pgfmathparse{width("\noexpand\pgfPT at tmp@label at defaultLanguage")}%
     \edef\pgfPT at labelboxwd{\pgfmathresult}%
+    \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \foreach \Zsearch in \pgfPT at cells@La{%
         \foreach \Z in \pgfPT@@cellslist {%
             \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
-                \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {6};%
+                {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@per\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+                \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\pgfPT at printnum{6}};}%
                 \ifpgfPTLaAclabels\pgfPT at processbackcolor{57}%
                     \node[below left,font=\pgfPTlabLaAcfont,text=cpgfPTTMP,inner ysep=0pt,text width=\pgfPT at labelboxwd] at ([xshift=\pgfPT at perlabel@xshift]\Z)%
                     {\pgfPT at tmp@label at defaultLanguage\ifnum\pgfPT at counta>1\relax\fontsize{\pgfPT at dima}{\pgfPT at dima}\selectfont\\ [-1pt]\pgfPT at tmp@labels at otherLanguages\fi};\fi%
@@ -918,9 +1121,9 @@
         }%
     \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
     }%
-    \fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
-\fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 % actinoids -->
 \global\pgfPTis at labeldrawnfalse%
 \ifpgfPTIUPACMMIX%
@@ -935,12 +1138,14 @@
         \advance\pgfPT at counta by 1\relax%
     }%
     \pgfPTlabLaAcfont\selectfont\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}%
-    \pgfmathparse{width("\pgfPT at tmp@label at defaultLanguage")}%
+    \pgfmathparse{width("\noexpand\pgfPT at tmp@label at defaultLanguage")}%
     \edef\pgfPT at labelboxwd{\pgfmathresult}%
+    \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \foreach \Zsearch in \pgfPT at cells@actinoids{%
         \foreach \Z in \pgfPT@@cellslist {%
             \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
-            \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {7};%
+            {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@per\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+            \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\pgfPT at printnum{7}};}%
             \ifpgfPTLaAclabels\pgfPT at processbackcolor{89}%
             \node[below left,font=\pgfPTlabLaAcfont,text=cpgfPTTMP,inner ysep=0pt,text width=\pgfPT at labelboxwd] at ([xshift=\pgfPT at perlabel@xshift]\Z)%
                     {\pgfPT at tmp@label at defaultLanguage\ifnum\pgfPT at counta>1\relax\fontsize{\pgfPT at dima}{\pgfPT at dima}\selectfont\\ [-1pt]\pgfPT at tmp@labels at otherLanguages\fi};\fi%
@@ -960,12 +1165,14 @@
         \advance\pgfPT at counta by 1\relax%
     }%
     \pgfPTlabLaAcfont\selectfont\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}%
-    \pgfmathparse{width("\pgfPT at tmp@label at defaultLanguage")}%
+    \pgfmathparse{width("\noexpand\pgfPT at tmp@label at defaultLanguage")}%
     \edef\pgfPT at labelboxwd{\pgfmathresult}%
+    \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \foreach \Zsearch in \pgfPT at cells@Ac{%
         \foreach \Z in \pgfPT@@cellslist {%
             \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
-                \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {7};%
+                {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@per\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+                \node[left,font=\pgfPTlabfont,text=\pgfPTlabpercolor] at ([xshift=\pgfPT at perlabel@xshift,yshift=\pgfPT at CS@yshift]\Z) {\pgfPT at printnum{7}};}%
                 \ifpgfPTLaAclabels\pgfPT at processbackcolor{89}%
                     \node[below left,font=\pgfPTlabLaAcfont,text=cpgfPTTMP,inner ysep=0pt,text width=\pgfPT at labelboxwd] at ([xshift=\pgfPT at perlabel@xshift]\Z)%
                     {\pgfPT at tmp@label at defaultLanguage\ifnum\pgfPT at counta>1\relax\fontsize{\pgfPT at dima}{\pgfPT at dima}\selectfont\\ [-1pt]\pgfPT at tmp@labels at otherLanguages\fi};\fi%
@@ -973,9 +1180,9 @@
         }%
     \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
     }%
-    \fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
-\fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
 % groups -->
 \ifpgfPTgrlabels%
@@ -985,8 +1192,10 @@
     \edef\pgfPT@@grlist{\csname pgfPT at cells@G\@Roman\group\endcsname}%
     \foreach \Zsearch in \pgfPT@@grlist{%
         \foreach \Z in \pgfPT@@cellslist {%
-            \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue\node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
-            ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {\group};\breakforeach\fi%
+            \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
+            {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@gr\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+            \node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
+            ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {\pgfPT at printnum{\group}};}\breakforeach\fi%
         }%
         \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
     }%
@@ -994,8 +1203,10 @@
 \global\pgfPTis at labeldrawnfalse%
 \foreach \Zsearch in \pgfPT at cells@GIIILaAc{%
     \foreach \Z in \pgfPT@@cellslist {%
-        \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue\node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
-        ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {3};\breakforeach\fi%
+        \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
+        {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@gr\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+        \node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
+        ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {\pgfPT at printnum{3}};}\breakforeach\fi%
     }%
     \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
 }%
@@ -1004,8 +1215,10 @@
     \edef\pgfPT@@grlist{\csname pgfPT at cells@G\@Roman\group\endcsname}%
     \foreach \Zsearch in \pgfPT@@grlist{%
         \foreach \Z in \pgfPT@@cellslist {%
-            \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue\node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
-            ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {\group};\breakforeach\fi%
+            \ifnum\Z=\Zsearch\global\pgfPTis at labeldrawntrue%
+            {\pgfPTlabfont\pgfPTnumberfont\ifpgfPT at zhnumbers@gr\let\pgfPT at printnum\zhnumber\else\let\pgfPT at printnum\relax\fi%
+            \node[above,font=\pgfPTlabfont,text=\pgfPTlabgrcolor] at%
+            ([xshift=\pgfPT@@xshift,yshift=\pgfPT at grlabel@yshift]\Z) {\pgfPT at printnum{\group}};}\breakforeach\fi%
         }%
         \ifpgfPTis at labeldrawn\global\pgfPTis at labeldrawnfalse\breakforeach\fi%
     }%
@@ -1034,7 +1247,7 @@
                 \pgfPTtitlefont\selectfont\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}%
                 \node[font=\pgfPTotherLangFont\fontsize{\pgfPT at dima}{\pgfPT at dima}\selectfont,text=\pgfPTotherLangColor,below,text width=18*\pgfPTcellwd,text centered,inner xsep=0pt] at ([yshift={-.075*\pgfPTcellht}]theTitle.south)%
                 {\vbox{\pgfPT at tmp@titulo at otherLanguages}};%
-                \fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+                \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
             \fi%
 \fi%
 % legend -->
@@ -1043,7 +1256,7 @@
 \ifpgfPTlegacro% use acronyms ##############################################
 \draw[fill=\pgfPTlegendbackcolor,draw=\pgfPTcelllinecolor,line width=\pgfPTcelllinewd] (0) rectangle ++(\pgfPTcellwd,-\pgfPTcellht);
     % append the Z box
-    \ifpgfPT at Z\fontfamily{\pgfPTglobalfont}\pgfPTZfont\selectfont%
+    \ifpgfPT at Z%
         \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,below right,inner sep=1.5pt] (LZ)%
             at ([xshift=\pgfPT at data@Z at x,yshift=-\pgfPT at data@Z at y]0) {Z};%
     \fi%
@@ -1050,7 +1263,7 @@
     % the Chemical Symbol
     \ifpgfPT at CS%
         \pgfPT at extract@rgb at fill{\pgfPTlegendCScolor}%
-        \fontfamily{\pgfPTglobalfont}\pgfPTCSfont\selectfont%
+        \pgfPTCSfont\selectfont%
         \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.5*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.35*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.2*\f at size}%
             \else\pgfmathsetlength{\pgfPT at dima}{.6*\f at size}\fi\fi%
@@ -1067,7 +1280,7 @@
         \else\pgfmathsetlength{\pgfPT at dima}{.4*\f at size}\fi%
         \fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont\relax%
         \node[legendpins,%
-                text width={.7*\pgfPTcellwd+.2*(\pgfPT at countb-1)*\pgfPTcellwd-4pt},font=\fontfamily{\pgfPTglobalfont}\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,inner xsep=2pt,inner ysep=1pt]
+                text width={.7*\pgfPTcellwd+.2*(\pgfPT at countb-1)*\pgfPTcellwd-4pt},font=\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,inner xsep=2pt,inner ysep=1pt]%
                 at ([xshift={\pgfPT at dimc+.2*\pgfPTcellwd},yshift={.25*\pgfPT at data@CS at ht}]LCS.east)%
                 {%
                 \pgfPT at extract@rgb at fill{solido}\pgfPT at pinEstado{solido}%
@@ -1096,9 +1309,9 @@
                 }\fi%
                 };%
         \fi\fi%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     % the Name
     \ifpgfPT at name%
-        \fontfamily{\pgfPTglobalfont}\pgfPTnamefont\selectfont%
         \node[font=\pgfPTnamefont,text=\pgfPTnamecolor,text width=\pgfPT at data@name at wd,align=\pgfPTnamealign,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@name at ht]%
             at ([xshift=\pgfPT at data@name at x,yshift=-\pgfPT at data@name at y]0)%
@@ -1108,7 +1321,6 @@
     \ifpgfPT at Ar%
         \edef\pgfPT at tmptest{\pgfPTArlabel}\edef\pgfPT at tmp@m{m}%
         \ifx\pgfPT at tmptest\pgfPT at tmp@m\relax\let\pgfPT at labels@Ar\pgfPT at labels@Ar at m\else\let\pgfPT at labels@Ar\pgfPT at labels@Ar at w\fi%
-        \fontfamily{\pgfPTglobalfont}\pgfPTArfont\selectfont%
         \node[font=\pgfPTArfont,text=\pgfPTArcolor,text width=\pgfPT at data@Ar at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Ar at ht]%
             at ([xshift=\pgfPT at data@Ar at x,yshift=-\pgfPT at data@Ar at y]0)%
@@ -1117,7 +1329,6 @@
     \ifpgfPT at Arstar%
         \edef\pgfPT at tmptest{\pgfPTArlabel}\edef\pgfPT at tmp@m{m}%
         \ifx\pgfPT at tmptest\pgfPT at tmp@m\relax\let\pgfPT at labels@Arstar\pgfPT at labels@Arstar at m\else\let\pgfPT at labels@Arstar\pgfPT at labels@Arstar at w\fi%
-        \fontfamily{\pgfPTglobalfont}\pgfPTArfont\selectfont%
         \node[font=\pgfPTArfont,text=\pgfPTArcolor,text width=\pgfPT at data@Arstar at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Arstar at ht]%
             at ([xshift=\pgfPT at data@Arstar at x,yshift=-\pgfPT at data@Arstar at y]0)%
@@ -1124,19 +1335,19 @@
             {Ar};%
     \fi%
     % radioactivity
-    \ifpgfPT at radio\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}%
-    \fontfamily{\pgfPTglobalfont}\pgfPTotherLangFont\selectfont%
+    \ifpgfPT at radio%
+    \pgfPTotherLangFont\selectfont%
+    \pgfmathsetlength{\pgfPT at dima}{.85*\f at size}%
     \node[text width=\pgfPT at data@radio at wd,text centered,inner sep=0pt,opacity=.25] (Lradio)%
     at ([xshift=\pgfPT at data@radio at x,yshift=-\pgfPT at data@radio at y]0)
     {\includegraphics[height=\pgfPT at data@radio at ht]{pgfPT_radio_symbol.pdf}};
     \node[text width=\pgfPT at data@radio at wd,text centered,inner sep=0pt,font=\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,%
              text depth=0pt,minimum height=\pgfPT at data@radio at ht,text=\pgfPTlegendradiocolor]%
-    at ([xshift=\pgfPT at data@radio at x,yshift=-\pgfPT at data@radio at y]0)
-    {Ra};
+        at ([xshift=\pgfPT at data@radio at x,yshift=-\pgfPT at data@radio at y]0) {Ra};
+    \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
-        % R -> Atomic Radius (Empirycal)
+    % R -> Atomic Radius (Empirycal)
     \ifpgfPT at R%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTRfont,text=\pgfPTRcolor,text width=\pgfPT at data@R at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@R at ht]%
             at ([xshift=\pgfPT at data@R at x,yshift=-\pgfPT at data@R at y]0)%
@@ -1144,7 +1355,6 @@
     \fi%
     % Rcov -> Covalente Radius
     \ifpgfPT at Rcov%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTRcovfont,text=\pgfPTRcovcolor,text width=\pgfPT at data@Rcov at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Rcov at ht]%
             at ([xshift=\pgfPT at data@Rcov at x,yshift=-\pgfPT at data@Rcov at y]0)%
@@ -1152,7 +1362,6 @@
     \fi%
     % Rion -> Ionic Radius
     \ifpgfPT at Rion%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTRionfont,text=\pgfPTRioncolor,text width=\pgfPT at data@Rion at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Rion at ht]%
             at ([xshift=\pgfPT at data@Rion at x,yshift=-\pgfPT at data@Rion at y]0)%
@@ -1160,7 +1369,6 @@
     \fi%
     % Ei -> First Ionization Energy
     \ifpgfPT at Ei%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTEifont,text=\pgfPTEicolor,text width=\pgfPT at data@Ei at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Ei at ht]%
             at ([xshift=\pgfPT at data@Ei at x,yshift=-\pgfPT at data@Ei at y]0)%
@@ -1168,7 +1376,6 @@
     \fi%
     % eneg -> Electronegativity (Pauling)
     \ifpgfPT at eneg%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTenegfont,text=\pgfPTenegcolor,text width=\pgfPT at data@eneg at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@eneg at ht]%
             at ([xshift=\pgfPT at data@eneg at x,yshift=-\pgfPT at data@eneg at y]0)%
@@ -1176,7 +1383,6 @@
     \fi%
     % eaff -> Electroaffinity
     \ifpgfPT at eaff%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTeafffont,text=\pgfPTeaffcolor,text width=\pgfPT at data@eaff at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@eaff at ht]%
             at ([xshift=\pgfPT at data@eaff at x,yshift=-\pgfPT at data@eaff at y]0)%
@@ -1184,7 +1390,6 @@
     \fi%
     % O -> Oxidation States
     \ifpgfPT at O%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTOfont,text=\pgfPTOcolor,text width=\pgfPT at data@O at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@O at ht]%
             at ([xshift=\pgfPT at data@O at x,yshift=-\pgfPT at data@O at y]0)%
@@ -1192,7 +1397,6 @@
     \fi%
     % Tmelt -> Melting Point (Kelvin)
     \ifpgfPT at Tmelt%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{Tmelt}%
         \node[font=\pgfPTTmeltfont,text=\pgfPTTmeltcolor,text width=\pgfPT at data@Tmelt at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Tmelt at ht]%
@@ -1201,7 +1405,6 @@
     \fi%
     % TmeltC -> Melting Point (degrees Celsius)
     \ifpgfPT at TmeltC%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{TmeltC}%
         \node[font=\pgfPTTmeltCfont,text=\pgfPTTmeltCcolor,text width=\pgfPT at data@TmeltC at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@TmeltC at ht]%
@@ -1210,7 +1413,6 @@
     \fi%
     % Tboil -> Boiling Point (Kelvin)
     \ifpgfPT at Tboil%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{Tboil}%
         \node[font=\pgfPTTboilfont,text=\pgfPTTboilcolor,text width=\pgfPT at data@Tboil at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Tboil at ht]%
@@ -1219,7 +1421,6 @@
     \fi%
     % TboilC -> Boiling Point (degrees Celsius)
     \ifpgfPT at TboilC%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{TboilC}%
         \node[font=\pgfPTTboilCfont,text=\pgfPTTboilCcolor,text width=\pgfPT at data@TboilC at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@TboilC at ht]%
@@ -1228,7 +1429,6 @@
     \fi%
     % eDist -> Electron Distribuition
     \ifpgfPT at eDist%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{eDist}%
         \node[font=\pgfPTeDistfont,text=\pgfPTeDistcolor,text width=\pgfPT at data@eDist at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@eDist at ht]%
@@ -1237,7 +1437,6 @@
     \fi%
     % eConfign -> Electronic Configuration (increasing n)
     \ifpgfPT at eConfign%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{eConfign}%
         \node[font=\pgfPTeConfignfont,text=\pgfPTeConfigncolor,text width=\pgfPT at data@eConfign at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@eConfign at ht]%
@@ -1246,7 +1445,6 @@
     \fi%
     % eConfignl -> Electronic Configuration (increasing n+l)
     \ifpgfPT at eConfignl%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{eConfignl}%
         \node[font=\pgfPTeConfignlfont,text=\pgfPTeConfignlcolor,text width=\pgfPT at data@eConfignl at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@eConfignl at ht]%
@@ -1255,7 +1453,6 @@
     \fi%
     % d -> Density
     \ifpgfPT at d%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTdfont,text=\pgfPTdcolor,text width=\pgfPT at data@d at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@d at ht]%
             at ([xshift=\pgfPT at data@d at x,yshift=-\pgfPT at data@d at y]0)%
@@ -1263,7 +1460,6 @@
     \fi%
     % Cp -> Specific heat capacity (25\xBAC, 100kPa)
     \ifpgfPT at Cp%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTCpfont,text=\pgfPTCpcolor,text width=\pgfPT at data@Cp at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@Cp at ht]%
             at ([xshift=\pgfPT at data@Cp at x,yshift=-\pgfPT at data@Cp at y]0)%
@@ -1271,7 +1467,6 @@
     \fi%
     % kT -> Thermal Condutivity (25\xBAC)
     \ifpgfPT at kT%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \node[font=\pgfPTkTfont,text=\pgfPTkTcolor,text width=\pgfPT at data@kT at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@kT at ht]%
             at ([xshift=\pgfPT at data@kT at x,yshift=-\pgfPT at data@kT at y]0)%
@@ -1279,7 +1474,6 @@
     \fi%
     % ls -> Lattice Structure
     \ifpgfPT at ls%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{ls}%
         \node[font=\pgfPTlsfont,text=\pgfPTlscolor,text width=\pgfPT at data@ls at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@ls at ht]%
@@ -1286,7 +1480,7 @@
             at ([xshift=\pgfPT at data@ls at x,yshift=-\pgfPT at data@ls at y]0)%
             {\pgfPT at theacro};%
         \ifpgfPTlegendaextra%
-            \fontfamily{\pgfPTglobalfont}\pgfPTlsfont\selectfont%
+            \pgfPTlsfont\selectfont%
                 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.67*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size}%
                 \else\pgfmathsetlength{\pgfPT at dima}{.78*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.625*\f at size}\fi%
                 \ifpgfPT at DiscC% insere a legenda extra para a estrutura da rede (existindo as bandeiras)
@@ -1334,11 +1528,11 @@
                         }%
                     };
                 \fi%
+                \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
             \fi% legenda extra
     \fi%
     % lsa -> Lattice constant: a
     \ifpgfPT at lsa%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{lsa}%
         \node[font=\pgfPTlsafont,text=\pgfPTlsacolor,text width=\pgfPT at data@lsa at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@lsa at ht]%
@@ -1347,7 +1541,6 @@
     \fi%
     % lsb -> Lattice constant: b
     \ifpgfPT at lsb%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{lsb}%
         \node[font=\pgfPTlsbfont,text=\pgfPTlsbcolor,text width=\pgfPT at data@lsb at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@lsb at ht]%
@@ -1356,7 +1549,6 @@
     \fi%
     % lsc -> Lattice constant: c
     \ifpgfPT at lsc%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{lsc}%
         \node[font=\pgfPTlscfont,text=\pgfPTlsccolor,text width=\pgfPT at data@lsc at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@lsc at ht]%
@@ -1365,7 +1557,6 @@
     \fi%
     % lsca -> Lattice c/a ratio:
     \ifpgfPT at lsca%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{lsca}%
         \node[font=\pgfPTlscafont,text=\pgfPTlscacolor,text width=\pgfPT at data@lsca at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@lsca at ht]%
@@ -1374,7 +1565,6 @@
     \fi%
     % DiscY -> Discover Year
     \ifpgfPT at DiscY%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{DiscY}%
         \node[font=\pgfPTDiscYfont,text=\pgfPTDiscYcolor,text width=\pgfPT at data@DiscY at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@DiscY at ht]%
@@ -1383,7 +1573,6 @@
     \fi%
     % DiscC -> Discover Country
     \ifpgfPT at DiscC%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{DiscC}%
         \node[font=\pgfPTDiscCfont,text=\pgfPTDiscCcolor,text width=\pgfPT at data@DiscC at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@DiscC at ht]%
@@ -1390,7 +1579,7 @@
             at ([xshift=\pgfPT at data@DiscC at x,yshift=-\pgfPT at data@DiscC at y]0)%
             {\pgfPT at theacro};%
         \ifpgfPTlegendaextra%
-            \fontfamily{\pgfPTglobalfont}\pgfPTDiscCfont\selectfont%
+            \pgfPTDiscCfont\selectfont%
                 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.67*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size}\edef\pgfPT at nodepos{below right}\edef\pgfPT at nodeat{north east}%
                 \else\pgfmathsetlength{\pgfPT at dima}{.78*\f at size}\edef\pgfPT at nodepos{right}\edef\pgfPT at nodeat{east}\fi%
                 \ifpgfPT at ls% insere a legenda extra para as bandeiras (existindo a estrutura da rede)
@@ -1448,11 +1637,11 @@
                         }%
                     };
                 \fi%
+                \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
             \fi% legenda extra
     \fi%
     % spectra -> spectra
     \ifpgfPT at spectra%
-        \fontfamily{\pgfPTglobalfont}\selectfont%
         \pgfPT at setacro[\pgfPTlanguages]{spectra}%
         \node[font=\pgfPTspectrafont,text=\pgfPTspectracolor,text width=\pgfPT at data@spectra at wd,text centered,inner xsep=0pt,%
                   text depth=0pt,minimum height=\pgfPT at data@spectra at ht]%
@@ -1460,11 +1649,12 @@
             {\pgfPT at theacro};%
     \fi%
     % acronyms description
-    \fontfamily{\pgfPTglobalfont}\fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont%
+    \fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont%
     \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.4*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.3*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.2*\f at size}%
             \else\pgfmathsetlength{\pgfPT at dima}{.45*\f at size}\fi\fi%
-    \node[below right,text width={2.5*\pgfPTcellwd+.3*(\pgfPT at countb-1)*\pgfPTcellwd-4pt},inner sep=2pt,font=\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,%
+    \node[below right,text width={2.5*\pgfPTcellwd+.3*(\pgfPT at countb-1)*\pgfPTcellwd-4pt},inner sep=2pt,%
+             font=\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,%
              fill=\pgfPTlegendbackcolor,line width=\pgfPTcelllinewd] (legend) %
         at ([yshift={-\pgfPTcellht-.3*\pgfPT at doc@fsize}]0)%
         {%
@@ -1472,8 +1662,8 @@
         \ifx\pgfPTlegendZcolor\@empty\relax\edef\pgfPTZcolor{\pgfPTZback}\else\edef\pgfPTZcolor{\pgfPTlegendZcolor}\fi%
         \@for\pgfPT at tmp:=\pgfPT at legend@content\do{%
             \tikz{\node[text={\csname pgfPT\pgfPT at tmp color\endcsname},text depth=0pt,
-                            font=\fontfamily{\pgfPTglobalfont}\selectfont\csname pgfPT\pgfPT at tmp font\endcsname\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont] %
-                {\pgfPT at setacro[\pgfPTlanguages]{\pgfPT at tmp}\pgfPT at theacro%
+                               font=\csname pgfPT\pgfPT at tmp font\endcsname\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont] %
+              {\pgfPT at setacro[\pgfPTlanguages]{\pgfPT at tmp}\pgfPT at theacro%
                 \edef\pgfPT at test@tmp{\pgfPT at tmp}%
                 \ifpgfPT at TboilC\ifpgfPT at Tboil\edef\pgfPT at test@TboilC{TboilC}\ifx\pgfPT at test@tmp\pgfPT at test@TboilC\hspace{.15ex}C\fi\fi\fi%
                 \ifpgfPT at Tboil\ifpgfPT at TboilC\edef\pgfPT at test@Tboil{Tboil}\ifx\pgfPT at test@tmp\pgfPT at test@Tboil\hspace{.15ex}K\fi\fi\fi%
@@ -1489,7 +1679,7 @@
         \path[line width=\pgfPTcelllinewd,legendbox,rounded corners=2pt] %
         ([xshift=2pt,yshift=-2pt]legend.south east) rectangle ([xshift=-2pt,yshift=2pt]0);%
         \end{pgfonlayer}
-        \fontfamily{\pgfPTglobalfont}\selectfont%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \else% use full description #################################################
 \pgfPT at count@note=0%
 \ifnum\pgfPT at countb>1\relax%
@@ -1516,10 +1706,9 @@
 \fi%
 \fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont\relax%
 \draw[fill=\pgfPTlegendbackcolor] (0) rectangle ++({\pgfPT at legendscaleX*\pgfPTcellwd},-\pgfPT at legendscaleY*\pgfPTcellht);
-    \ifpgfPT at Z\fontfamily{\pgfPTglobalfont}\pgfPTZfont\selectfont\pgfmathsetlength{\pgfPT at dima}{1.5*\pgfPT at loadcell@scaleX*\f at size}%
+    \ifpgfPT at Z\pgfPTZfont\selectfont\pgfmathsetlength{\pgfPT at dima}{1.5*\pgfPT at loadcell@scaleX*\f at size}%
         \node[fill=\pgfPTZback,font=\pgfPTZfont\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,text=\pgfPTZcolor,below right,inner sep=1.5pt] (LZ)%
             at ([xshift=\pgfPT at legendscaleX*\pgfPT at data@Z at x,yshift=-\pgfPT at legendscaleY*\pgfPT at data@Z at y]0) {Z};%
-            \fontfamily{\pgfPTglobalfont}\pgfPTZfont\selectfont%
         \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.5*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.4*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.4*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1526,10 +1715,11 @@
         \pgfPT at leglabel{Z}%
         \node[right,font=\pgfPTZfont\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,text=\pgfPTZback,text width=\pgfPT at data@Z at wd,inner xsep=1pt]%
             at (LZ.east) {\pgfPT at putleglabel{Z}};%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % the Chemical Symbol
     \ifpgfPT at CS\pgfPT at extract@rgb at fill{\pgfPTlegendCScolor}%
-        \fontfamily{\pgfPTglobalfont}\pgfPTCSfont\selectfont%
+        \pgfPTCSfont\selectfont%
         \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.5*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.35*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.2*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.5*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1536,23 +1726,26 @@
         \pgfPT at legend{CS}%
         \edef\pgfPT at checkf@nt{fmm}\edef\pgfPT at f@nt{\f at family}%
         \ifx\pgfPT at f@nt\pgfPT at checkf@nt\relax\pgfmathsetlength{\pgfPT at dima}{.65*\pgfPT at dima}\pgfmathparse{-.75*\pgfPT at dima}\edef\pgfPT at extra@shift{\pgfmathresult}\else\edef\pgfPT at extra@shift{0pt}\fi%
-        \node[font=\fontfamily{\pgfPTglobalfont}\selectfont\pgfPTCSfont\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,text width={\pgfPT at legendscaleX*\pgfPT at data@CS at wd},text centered,text depth=0pt] (LCS)%
+        \node[font=\pgfPTCSfont\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,text width={\pgfPT at legendscaleX*\pgfPT at data@CS at wd},text centered,text depth=0pt] (LCS)%
         at ([xshift=\pgfPT at legendscaleX*\pgfPT at data@CS at x,yshift=-\pgfPT at legendscaleY*\pgfPT at data@CS at y+\pgfPT at extra@shift]0)
         {\pgfPT at lt[\pgfPTCSolwd](\pgfPT at tmp@label at defaultLanguage)(\pgfPT at rs,\pgfPT at gs,\pgfPT at bs)(\pgfPT at rf,\pgfPT at gf,\pgfPT at bf)(\pgfPT at CS@txt at render)%
-        \ifnum\pgfPT at counta>1\relax\\ %[-.5ex]%
+        \ifnum\pgfPT at counta>1\relax\\ %
         {\fontsize{\the\pgfPT at dimb}{\the\pgfPT at dimb}\selectfont%
         \pgfPT at lt[\pgfPTCSolwd](\pgfPT at tmp@labels at otherLanguages)(\pgfPT at rs,\pgfPT at gs,\pgfPT at bs)(\pgfPT at rf,\pgfPT at gf,\pgfPT at bf)(\pgfPT at CS@txt at render)%
         }\fi};
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
         % pin it...
         \ifpgfPTlegendapins%
         \pgfmathsetlength{\pgfPT at dimc}{\pgfPT at data@CS at x+\pgfPT at data@CS at wd}%
         \ifdim\pgfPT at dimc<\pgfPTcellwd\pgfmathsetlength{\pgfPT at dimc}{\pgfPTcellwd-\pgfPT at dimc}\else\pgfmathsetlength{\pgfPT at dimc}{0pt}\fi%
         \draw[fill=black!30,line width=.05pt,draw=black!50] (LCS.east) circle(.05*\pgfPTcellwd) ++(.05*\pgfPTcellwd,0) -- ++(\pgfPT at dimc+.35*\pgfPTcellwd,0);
-        \pgfPTCSfont\selectfont\ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.45*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size}
+        \pgfPTCSfont\selectfont%
+        \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.45*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.3*\f at size}
         \else\pgfmathsetlength{\pgfPT at dima}{.45*\f at size}\fi%
-        \fontfamily{\pgfPTglobalfont}\fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont\relax%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
+        \fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont\relax%
         \node[legendpins,%
-                text width={.7*\pgfPT at legendscale*\pgfPTcellwd-4pt},font=\fontfamily{\pgfPTglobalfont}\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,inner xsep=2pt,inner ysep=1pt]
+                text width={.7*\pgfPT at legendscale*\pgfPTcellwd-4pt},font=\fontsize{\the\pgfPT at dima}{\the\pgfPT at dima}\selectfont,inner xsep=2pt,inner ysep=1pt]
                 at ([xshift={\pgfPT at legendscaleX*\pgfPT at dimc+.2*\pgfPTcellwd},yshift={.25*\pgfPT at data@CS at ht}]LCS.east)%
                 {%
                 \pgfPT at extract@rgb at fill{solido}\pgfPT at pinEstado{solido}%
@@ -1581,9 +1774,10 @@
                 }\fi%
                 };%
         \fi\fi%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     % the Name
     \ifpgfPT at name%
-        \fontfamily{\pgfPTglobalfont}\pgfPTnamefont\selectfont%
+        \pgfPTnamefont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1594,12 +1788,13 @@
             {%
             \pgfPT at putleglabel{name}%
             };%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % the Atomic weight
     \ifpgfPT at Ar%
         \edef\pgfPT at tmptest{\pgfPTArlabel}\edef\pgfPT at tmp@m{m}%
         \ifx\pgfPT at tmptest\pgfPT at tmp@m\relax\let\pgfPT at labels@Ar\pgfPT at labels@Ar at m\else\let\pgfPT at labels@Ar\pgfPT at labels@Ar at w\fi%
-        \fontfamily{\pgfPTglobalfont}\pgfPTArfont\selectfont%
+        \pgfPTArfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1610,11 +1805,12 @@
             {%
             \pgfPT at putleglabel{Ar}%
             };%
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     \ifpgfPT at Arstar%
         \edef\pgfPT at tmptest{\pgfPTArlabel}\edef\pgfPT at tmp@m{m}%
         \ifx\pgfPT at tmptest\pgfPT at tmp@m\relax\let\pgfPT at labels@Arstar\pgfPT at labels@Arstar at m\else\let\pgfPT at labels@Arstar\pgfPT at labels@Arstar at w\fi%
-        \fontfamily{\pgfPTglobalfont}\pgfPTArfont\selectfont%
+        \pgfPTArfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1625,6 +1821,7 @@
             {
             \pgfPT at putleglabel{Arstar}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % radioactivity
     \ifpgfPT at radio%
@@ -1634,7 +1831,7 @@
     {\includegraphics[height=\pgfPT at dima]{pgfPT_radio_symbol.pdf}};
     % pin it...
         \ifpgfPTlegendapins%
-        \fontfamily{\pgfPTglobalfont}\pgfPTotherLangFont\selectfont%
+        \pgfPTotherLangFont\selectfont%
         \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.65*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.45*\f at size}%
         \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}\fi%
         \fontsize{\pgfPT at doc@fsize}{\pgfPT at doc@fsize}\selectfont\relax%
@@ -1650,11 +1847,12 @@
             \ifnum\pgfPT at counta>1\relax\\ [-.25ex]{\fontsize{\the\pgfPT at dimb}{\the\pgfPT at dimb}\selectfont\color{\pgfPTotherLangColor}%
                 \pgfPT at tmp@labels at otherLanguages}\fi%
         };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
         \fi%
     \fi%
     % R -> Atomic Radius (Empirycal)
     \ifpgfPT at R%
-        \fontfamily{\pgfPTglobalfont}\pgfPTRfont\selectfont%
+        \pgfPTRfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1665,10 +1863,11 @@
             {
             \pgfPT at putleglabel{R}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Rcov -> Covalente Radius
     \ifpgfPT at Rcov%
-        \fontfamily{\pgfPTglobalfont}\pgfPTRcovfont\selectfont%
+        \pgfPTRcovfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1679,10 +1878,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at pm]{Rcov}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Rion -> Ionic Radius
     \ifpgfPT at Rion%
-        \fontfamily{\pgfPTglobalfont}\pgfPTRionfont\selectfont%
+        \pgfPTRionfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1693,10 +1893,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at pm]{Rion}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Ei -> First Ionization Energy
     \ifpgfPT at Ei%
-        \fontfamily{\pgfPTglobalfont}\pgfPTEifont\selectfont%
+        \pgfPTEifont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1707,10 +1908,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at kJmol]{Ei}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % eneg -> Electronegativity (Pauling)
     \ifpgfPT at eneg%
-        \fontfamily{\pgfPTglobalfont}\pgfPTenegfont\selectfont%
+        \pgfPTenegfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1721,10 +1923,11 @@
             {
             \pgfPT at putleglabel{eneg}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % eaff -> Electroaffinity
     \ifpgfPT at eaff%
-        \fontfamily{\pgfPTglobalfont}\pgfPTeafffont\selectfont%
+        \pgfPTeafffont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1735,10 +1938,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at kJmol]{eaff}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % O -> Oxidation States
     \ifpgfPT at O%
-        \fontfamily{\pgfPTglobalfont}\pgfPTOfont\selectfont%
+        \pgfPTOfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1749,10 +1953,11 @@
             {
             \pgfPT at putleglabel{O}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Tmelt -> Melting Point (Kelvin)
     \ifpgfPT at Tmelt%
-        \fontfamily{\pgfPTglobalfont}\pgfPTTmeltfont\selectfont%
+        \pgfPTTmeltfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1763,10 +1968,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at kelvin]{Tmelt}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % TmeltC -> Melting Point (degrees Celsius)
     \ifpgfPT at TmeltC%
-        \fontfamily{\pgfPTglobalfont}\pgfPTTmeltCfont\selectfont%
+        \pgfPTTmeltCfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1777,10 +1983,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at degC]{TmeltC}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Tboil -> Boiling Point (Kelvin)
     \ifpgfPT at Tboil%
-        \fontfamily{\pgfPTglobalfont}\pgfPTTboilfont\selectfont%
+        \pgfPTTboilfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1791,10 +1998,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at kelvin]{Tboil}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % TboilC -> Boiling Point (degrees Celsius)
     \ifpgfPT at TboilC%
-        \fontfamily{\pgfPTglobalfont}\pgfPTTboilCfont\selectfont%
+        \pgfPTTboilCfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1805,10 +2013,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at degC]{TboilC}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % eDist -> Electron Distribuition
     \ifpgfPT at eDist%
-        \fontfamily{\pgfPTglobalfont}\pgfPTeDistfont\selectfont%
+        \pgfPTeDistfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1819,10 +2028,11 @@
             {
             \pgfPT at putleglabel{eDist}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % eConfign -> Electronic Configuration (increasing n)
     \ifpgfPT at eConfign%
-        \fontfamily{\pgfPTglobalfont}\pgfPTeConfignfont\selectfont%
+        \pgfPTeConfignfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1833,10 +2043,11 @@
             {
             \pgfPT at putleglabel{eConfign}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % eConfignl -> Electronic Configuration (increasing n+l)
     \ifpgfPT at eConfignl%
-        \fontfamily{\pgfPTglobalfont}\pgfPTeConfignlfont\selectfont%
+        \pgfPTeConfignlfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1847,10 +2058,11 @@
             {
             \pgfPT at putleglabel{eConfignl}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % d -> Density
     \ifpgfPT at d%
-        \fontfamily{\pgfPTglobalfont}\pgfPTdfont\selectfont%
+        \pgfPTdfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1861,10 +2073,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at d]{d}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % Cp -> Specific heat capacity (25\xBAC, 100kPa)
     \ifpgfPT at Cp%
-        \fontfamily{\pgfPTglobalfont}\pgfPTCpfont\selectfont\advance\pgfPT at count@note by1\relax%
+        \pgfPTCpfont\selectfont\advance\pgfPT at count@note by1\relax%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1875,10 +2088,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at Cp]{Cp}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % kT -> Thermal Condutivity (25\xBAC)
     \ifpgfPT at kT%
-        \fontfamily{\pgfPTglobalfont}\pgfPTkTfont\selectfont\advance\pgfPT at count@note by1\relax%
+        \pgfPTkTfont\selectfont\advance\pgfPT at count@note by1\relax%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -1889,11 +2103,12 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at kT]{kT}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % NOTES for Cp & kT:
             \ifnum\pgfPT at count@note=1\relax%
                 \ifpgfPT at Cp%
-                \fontfamily{\pgfPTglobalfont}\pgfPTCpfont\selectfont%
+                \pgfPTCpfont\selectfont%
                 \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size}%
                 \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size}%
                 \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}\fi\fi%
@@ -1995,10 +2210,11 @@
                         @ 25\raisebox{.777ex}{\fontsize{\pgfPT at dimc}{\pgfPT at dimc}\selectfont o}C,100\hspace{.1ex}kPa};%
                 \fi\fi%
             \fi\fi% \else\ifnum\pgfPT at count@note=2
+            \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     % END OF NOTES for Cp & kT <-------
     % ls -> Lattice Structure
     \ifpgfPT at ls%
-        \fontfamily{\pgfPTglobalfont}\pgfPTlsfont\selectfont%
+        \pgfPTlsfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.5*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.3*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.2*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2059,10 +2275,11 @@
                     };
                 \fi%
             \fi% legenda extra
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % lsa -> Lattice constant: a
     \ifpgfPT at lsa%
-        \fontfamily{\pgfPTglobalfont}\pgfPTlsafont\selectfont%
+        \pgfPTlsafont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2073,10 +2290,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at ls]{lsa}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % lsb -> Lattice constant: b
     \ifpgfPT at lsb%
-        \fontfamily{\pgfPTglobalfont}\pgfPTlsbfont\selectfont%
+        \pgfPTlsbfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2087,10 +2305,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at ls]{lsb}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % lsc -> Lattice constant: c
     \ifpgfPT at lsc%
-        \fontfamily{\pgfPTglobalfont}\pgfPTlscfont\selectfont%
+        \pgfPTlscfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2101,10 +2320,11 @@
             {
             \pgfPT at putleglabel[\pgfPT at labels@unit at ls]{lsc}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % lsca -> Lattice c/a ratio:
     \ifpgfPT at lsca%
-        \fontfamily{\pgfPTglobalfont}\pgfPTlscafont\selectfont%
+        \pgfPTlscafont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2115,10 +2335,11 @@
             {
             \pgfPT at putleglabel{lsca}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % DiscY -> Discover Year
     \ifpgfPT at DiscY%
-        \fontfamily{\pgfPTglobalfont}\pgfPTDiscYfont\selectfont%
+        \pgfPTDiscYfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2129,10 +2350,11 @@
             {
             \pgfPT at putleglabel{DiscY}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % DiscC -> Discover Country
     \ifpgfPT at DiscC%
-        \fontfamily{\pgfPTglobalfont}\pgfPTDiscCfont\selectfont%
+        \pgfPTDiscCfont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2202,10 +2424,11 @@
                     };
                 \fi%
             \fi% legenda extra
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     % spectra -> spectra
     \ifpgfPT at spectra%
-        \fontfamily{\pgfPTglobalfont}\pgfPTspectrafont\selectfont%
+        \pgfPTspectrafont\selectfont%
             \ifnum\pgfPT at countb=2\relax\pgfmathsetlength{\pgfPT at dima}{.7*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size*\pgfPT at txtscale}%
             \else\ifnum\pgfPT at countb>2\relax\pgfmathsetlength{\pgfPT at dima}{.6*\f at size*\pgfPT at txtscale}\pgfmathsetlength{\pgfPT at dimb}{.35*\f at size*\pgfPT at txtscale}%
             \else\pgfmathsetlength{\pgfPT at dima}{.85*\f at size*\pgfPT at txtscale}\fi\fi%
@@ -2216,6 +2439,7 @@
             {
             \pgfPT at putleglabel{spectra}%
             };
+        \ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
     \fi%
     \global\pgfPT at dima=0pt\relax%
 \fi\fi% end legend
@@ -2240,7 +2464,7 @@
 \ifnum\pgfPT at limits@min=1\relax\ifnum\pgfPT at limits@max=118\relax\ifnum\pgfPT at element@count>87\relax%
 % draw the blocks
 \pgfPT at countb=0\relax\@for\pgfPT at tmp:=\pgfPTlanguages\do{\advance\pgfPT at countb by 1\relax}%
-\fontfamily{\pgfPTglobalfont}\pgfPTblocksfont\selectfont%
+\pgfPTblocksfont\selectfont%
 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size}%
 \else\pgfmathsetlength{\pgfPT at dima}{\f at size}\fi%
 % bloco s
@@ -2350,6 +2574,7 @@
 \fi% IUPAC
 \fi%
 \fi\fi\fi\fi% END Blocks
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 %
 % Families
 \ifpgfPTfamilias%
@@ -2358,7 +2583,7 @@
 \ifnum\pgfPT at limits@min=1\relax\ifnum\pgfPT at limits@max=118\relax\ifnum\pgfPT at element@count>87\relax%
 % draw the families
 \pgfPT at countb=0\relax\@for\pgfPT at tmp:=\pgfPTlanguages\do{\advance\pgfPT at countb by 1\relax}%
-\fontfamily{\pgfPTglobalfont}\pgfPTfamiliesfont\selectfont%
+\pgfPTfamiliesfont\selectfont%
 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.75*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.55*\f at size}%
 \else\pgfmathsetlength{\pgfPT at dima}{\f at size}\fi%
 % elementos representativos
@@ -2456,6 +2681,7 @@
 \fi%
 \fi%
 \fi\fi\fi\fi% END Families
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 % Variacoes
 \edef\@pgfPT at varpage@xshift{0pt}%
 \edef\@pgfPT at varpage@yshift{0pt}%
@@ -2600,7 +2826,7 @@
 % end of shifts
 % R var
 \ifpgfPT at R%
-\fontfamily{\pgfPTglobalfont}\pgfPTvarRfont\selectfont%
+\pgfPTvarRfont\selectfont%
 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.65*\f at size}%
 \else\pgfmathsetlength{\pgfPT at dima}{\f at size}\fi%
 \colorlet{pgfPTcolortemp}{\pgfPTvarRcolor}\colorlet{pgfPTfontcolortemp}{\pgfPTvarRfontcolor}%
@@ -2630,10 +2856,11 @@
             at ([xshift=-.0375*\pgfPTcellwd]variacao.south) {\pgfPT at tmp@labels at otherLanguages};\fi%
 \draw[fill=pgfPTcolortemp!60!black,draw=pgfPTcolortemp!60!black] (-\pgfPTcellwd-\pgfPT at Rvar@shift,\pgfPTcellht+\pgfPT at Rvar@shift) circle(.3125*\pgfPTcellwd) %
     node[font=\pgfPTvarRfont,text=pgfPTcolortemp!25!white,anchor=mid] {R};%
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
 % Ei var
 \ifpgfPT at Ei%
-\fontfamily{\pgfPTglobalfont}\pgfPTvarEifont\selectfont%
+\pgfPTvarEifont\selectfont%
 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.65*\f at size}%
 \else\pgfmathsetlength{\pgfPT at dima}{\f at size}\fi%
 \colorlet{pgfPTcolortemp}{\pgfPTvarEicolor}\colorlet{pgfPTfontcolortemp}{\pgfPTvarEifontcolor}%
@@ -2663,10 +2890,11 @@
             at ([xshift=-.0375*\pgfPTcellwd]variacao.south) {\pgfPT at tmp@labels at otherLanguages};\fi%
 \draw[fill=pgfPTcolortemp!60!black,draw=pgfPTcolortemp!60!black] (-\pgfPTcellwd-\pgfPT at Eivar@shift,\pgfPTcellht+\pgfPT at Eivar@shift) circle(.3125*\pgfPTcellwd) %
     node[font=\pgfPTvarEifont,text=pgfPTcolortemp!25!white,anchor=mid] {E\raisebox{-.2ex}{i}};%
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
 % Eaff var
 \ifpgfPT at eaff%
-\fontfamily{\pgfPTglobalfont}\pgfPTvareafffont\selectfont%
+\pgfPTvareafffont\selectfont%
 \ifnum\pgfPT at countb>1\relax\pgfmathsetlength{\pgfPT at dima}{.85*\f at size}\pgfmathsetlength{\pgfPT at dimb}{.65*\f at size}%
 \else\pgfmathsetlength{\pgfPT at dima}{\f at size}\fi%
 \colorlet{pgfPTcolortemp}{\pgfPTvareaffcolor}\colorlet{pgfPTfontcolortemp}{\pgfPTvareafffontcolor}%
@@ -2696,6 +2924,7 @@
             at ([xshift=-.0375*\pgfPTcellwd]variacao.south) {\pgfPT at tmp@labels at otherLanguages};\fi%
 \draw[fill=pgfPTcolortemp!60!black,draw=pgfPTcolortemp!60!black] (-\pgfPTcellwd-\pgfPT at eaffvar@shift,\pgfPTcellht+\pgfPT at eaffvar@shift) circle(.3125*\pgfPTcellwd) %
     node[font=\pgfPTvareafffont,text=pgfPTcolortemp!25!white,anchor=mid] {E\raisebox{-.2ex}{ea}};%
+\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}%
 \fi%
 \fi\fi\fi\fi% END Variacoes
 %
@@ -2706,7 +2935,7 @@
 \pgfPT at dima=0pt\pgfPT at dimb=0pt\relax%
 \ifpgfPTperlabels%
 \begin{pgfinterruptpicture}%
-\setbox0=\hbox{\fontfamily{\pgfPTglobalfont}\pgfPTlabfont\selectfont7}\global\pgfPT at dima=\wd0%
+\setbox0=\hbox{\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\pgfPTlabfont\selectfont7}\global\pgfPT at dima=\wd0%
 \end{pgfinterruptpicture}%
 \pgfmathsetlength{\pgfPT at dima}{-\pgfPT at dima+2*\pgfPT at perlabel@xshift}%
 \else%
@@ -2714,13 +2943,13 @@
 \fi% pgfPTperlabels
 \ifpgfPTtitulo%
 \begin{pgfinterruptpicture}%
-\setbox0=\hbox{\fontfamily{\pgfPTglobalfont}\pgfPTtitlefont\selectfont P}\global\pgfPT at dimb=\ht0%
+\setbox0=\hbox{\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\pgfPTtitlefont\selectfont P}\global\pgfPT at dimb=\ht0%
 \end{pgfinterruptpicture}%
 \pgfmathsetlength{\pgfPT at dimb}{\pgfPT at dimb+.5*\pgfPTcellht+5pt}%
 \else%
 \ifpgfPTgrlabels%
 \begin{pgfinterruptpicture}%
-\setbox0=\hbox{\fontfamily{\pgfPTglobalfont}\pgfPTlabfont\selectfont7}\global\pgfPT at dimb=\ht0%
+\setbox0=\hbox{\ifnum\pgfPT at fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\pgfPTlabfont\selectfont7}\global\pgfPT at dimb=\ht0%
 \end{pgfinterruptpicture}%
 \pgfmathsetlength{\pgfPT at dimb}{\pgfPT at dimb+5pt}%
 \else%
@@ -2749,7 +2978,8 @@
 \fi% \pgfPT at element@count=118
 \fi\fi% min=1 & max 118
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\fontseries{\seriesdefault}\fontshape{\shapedefault}\selectfont% Restoring the font settings to normal mode in the document
+\@pgfPT at resetlayers% Restoring pgf layers to those used in the document
+\fontseries{\seriesdefault}\fontshape{\shapedefault}\fontfamily{\familydefault}\selectfont% Restoring the font settings to normal mode in the document
 }% end tikz
 }%
 % END !! \pgfPT -----------------------------------------------------------------------------------

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.buildcell.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.buildcell.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.buildcell.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -326,8 +326,8 @@
 \newif\ifpgfPT at spectra\pgfPT at spectrafalse%
 %\newif\ifpgfPT at DiscBy\pgfPT at DiscByfalse%
 % --------------------------------------------------------------------------------------------------
-\def\loadcell#1{Loading cell data\\ --\ #1\ -- CONTENTS\pgfPT at loadcell[#1]% DEBUG
-\@for\@tmp:=\pgfPT at load@cellcontents\do{\\ \@tmp}}% DEBUG
+%\def\loadcell#1{Loading cell data\\ --\ #1\ -- CONTENTS\pgfPT at loadcell[#1]% DEBUG
+%\@for\@tmp:=\pgfPT at load@cellcontents\do{\\ \@tmp}}% DEBUG
 % --------------------------------------------------------------------------------------------------
 \def\pgfPT at loadcell[#1]{\ignorespaces%
 \edef\pgfPT at testa{#1}%

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -3,6 +3,7 @@
 % --------------------------------------------------------------------------------------------------
 % \xABthe data of the elements of the Periodic Table\xBB ---------------------------------------------
 % --------------------------------------------------------------------------------------------------
+% v2.1.0: Added support for user language
 %
 % data available for each element:
 % Z: Atomic Number
@@ -76,52 +77,52 @@
 \def\pgfPT at set@country#1{%
 \edef\pgfPT at country@flag{pgfPT_flag#1}%
 \ifcase#1%
-% 0: Asia Minor
-\def\pgfPT at country@name at pt{\'{A}sia Menor}\def\pgfPT at country@name at en{Asia Minor}\def\pgfPT at country@name at fr{Asie Mineure}\def\pgfPT at country@name at de{Kleinasien}\def\pgfPT at country@name at it{Asia minore}\def\pgfPT at country@name at es{Asia Menor}\def\pgfPT at country@name at br{\'{A}sia Menor}%
-\or% 1: Austria
-\def\pgfPT at country@name at pt{\'{A}ustria}\def\pgfPT at country@name at en{Austria}\def\pgfPT at country@name at fr{Autriche}\def\pgfPT at country@name at de{\"{O}sterreich}\def\pgfPT at country@name at it{Austria}\def\pgfPT at country@name at es{Austria}\def\pgfPT at country@name at br{\'{A}ustria}%
-\or% 2: Denmark
-\def\pgfPT at country@name at pt{Dinamarca}\def\pgfPT at country@name at en{Denmark}\def\pgfPT at country@name at fr{Danemark}\def\pgfPT at country@name at de{D\"{a}nemark}\def\pgfPT at country@name at it{Danimarca}\def\pgfPT at country@name at es{Dinamarca}\def\pgfPT at country@name at br{Dinamarca}%
-\or% 3: Egypt
-\def\pgfPT at country@name at pt{Egito}\def\pgfPT at country@name at en{Egypt}\def\pgfPT at country@name at fr{Egypte}\def\pgfPT at country@name at de{\"{A}gypten}\def\pgfPT at country@name at it{Egitto}\def\pgfPT at country@name at es{Egipto}\def\pgfPT at country@name at br{Egito}%
-\or% 4: Finland
-\def\pgfPT at country@name at pt{Finl\^{a}ndia}\def\pgfPT at country@name at en{Finland}\def\pgfPT at country@name at fr{Finlande}\def\pgfPT at country@name at de{Finnland}\def\pgfPT at country@name at it{Finlandia}\def\pgfPT at country@name at es{Finlandia}\def\pgfPT at country@name at br{Finl\^{a}ndia}%
-\or% 5: France
-\def\pgfPT at country@name at pt{Fran\c{c}a}\def\pgfPT at country@name at en{France}\def\pgfPT at country@name at fr{France}\def\pgfPT at country@name at de{Frankreich}\def\pgfPT at country@name at it{Francia}\def\pgfPT at country@name at es{Francia}\def\pgfPT at country@name at br{Fran\c{c}a}%
+% 0: Asia Minor AM
+\def\pgfPT at country@name at pt{\'{A}sia Menor}\def\pgfPT at country@name at en{Asia Minor}\def\pgfPT at country@name at fr{Asie Mineure}\def\pgfPT at country@name at de{Kleinasien}\def\pgfPT at country@name at it{Asia minore}\def\pgfPT at country@name at es{Asia Menor}\def\pgfPT at country@name at br{\'{A}sia Menor}\def\pgfPT at country@name at user{\pgfPT at user@country at AM}%
+\or% 1: Austria au
+\def\pgfPT at country@name at pt{\'{A}ustria}\def\pgfPT at country@name at en{Austria}\def\pgfPT at country@name at fr{Autriche}\def\pgfPT at country@name at de{\"{O}sterreich}\def\pgfPT at country@name at it{Austria}\def\pgfPT at country@name at es{Austria}\def\pgfPT at country@name at br{\'{A}ustria}\def\pgfPT at country@name at user{\pgfPT at user@country at au}%
+\or% 2: Denmark dn
+\def\pgfPT at country@name at pt{Dinamarca}\def\pgfPT at country@name at en{Denmark}\def\pgfPT at country@name at fr{Danemark}\def\pgfPT at country@name at de{D\"{a}nemark}\def\pgfPT at country@name at it{Danimarca}\def\pgfPT at country@name at es{Dinamarca}\def\pgfPT at country@name at br{Dinamarca}\def\pgfPT at country@name at user{\pgfPT at user@country at dn}%
+\or% 3: Egypt eg
+\def\pgfPT at country@name at pt{Egito}\def\pgfPT at country@name at en{Egypt}\def\pgfPT at country@name at fr{Egypte}\def\pgfPT at country@name at de{\"{A}gypten}\def\pgfPT at country@name at it{Egitto}\def\pgfPT at country@name at es{Egipto}\def\pgfPT at country@name at br{Egito}\def\pgfPT at country@name at user{\pgfPT at user@country at eg}%
+\or% 4: Finland fl
+\def\pgfPT at country@name at pt{Finl\^{a}ndia}\def\pgfPT at country@name at en{Finland}\def\pgfPT at country@name at fr{Finlande}\def\pgfPT at country@name at de{Finnland}\def\pgfPT at country@name at it{Finlandia}\def\pgfPT at country@name at es{Finlandia}\def\pgfPT at country@name at br{Finl\^{a}ndia}\def\pgfPT at country@name at user{\pgfPT at user@country at fl}%
+\or% 5: France fr
+\def\pgfPT at country@name at pt{Fran\c{c}a}\def\pgfPT at country@name at en{France}\def\pgfPT at country@name at fr{France}\def\pgfPT at country@name at de{Frankreich}\def\pgfPT at country@name at it{Francia}\def\pgfPT at country@name at es{Francia}\def\pgfPT at country@name at br{Fran\c{c}a}\def\pgfPT at country@name at user{\pgfPT at user@country at fr}%
 \or% 6: France and Germany
 \or% 7: France and The United Kingdom
-\or% 8: Germany
-\def\pgfPT at country@name at pt{Alemanha}\def\pgfPT at country@name at en{Germany}\def\pgfPT at country@name at fr{Allemagne}\def\pgfPT at country@name at de{Deutschland}\def\pgfPT at country@name at it{Germania}\def\pgfPT at country@name at es{Alemania}\def\pgfPT at country@name at br{Alemanha}%
+\or% 8: Germany de
+\def\pgfPT at country@name at pt{Alemanha}\def\pgfPT at country@name at en{Germany}\def\pgfPT at country@name at fr{Allemagne}\def\pgfPT at country@name at de{Deutschland}\def\pgfPT at country@name at it{Germania}\def\pgfPT at country@name at es{Alemania}\def\pgfPT at country@name at br{Alemanha}\def\pgfPT at country@name at user{\pgfPT at user@country at de}%
 \or% 9: Germany and Sweden
 \or% 10: Germany and The United Kingdom
-\or% 11: Italy
-\def\pgfPT at country@name at pt{It\'{a}lia}\def\pgfPT at country@name at en{Italy}\def\pgfPT at country@name at fr{Italie}\def\pgfPT at country@name at de{Italien}\def\pgfPT at country@name at it{Italia}\def\pgfPT at country@name at es{Italia}\def\pgfPT at country@name at br{It\'{a}lia}%
-\or% 12: Middle East
-\def\pgfPT at country@name at pt{M\'{e}dio Oriente}\def\pgfPT at country@name at en{Middle East}\def\pgfPT at country@name at fr{Moyen-Orient}\def\pgfPT at country@name at de{Mittlerer Osten}\def\pgfPT at country@name at it{Medio Oriente}\def\pgfPT at country@name at es{Medio Oriente}\def\pgfPT at country@name at br{M\'{e}dio Oriente}%
-\or% 13: Peru
-\def\pgfPT at country@name at pt{Peru}\def\pgfPT at country@name at en{Peru}\def\pgfPT at country@name at fr{P\'{e}rou}\def\pgfPT at country@name at de{Peru}\def\pgfPT at country@name at it{Per\`{u}}\def\pgfPT at country@name at es{Per\'{u}}\def\pgfPT at country@name at br{Peru}%
-\or% 14: Romania
-\def\pgfPT at country@name at pt{Rom\'{e}nia}\def\pgfPT at country@name at en{Romania}\def\pgfPT at country@name at fr{Roumanie}\def\pgfPT at country@name at de{Rum\"{a}nien}\def\pgfPT at country@name at it{Romania}\def\pgfPT at country@name at es{Rumania}\def\pgfPT at country@name at br{Rom\^{e}nia}%
-\or% 15: Russia
-\def\pgfPT at country@name at pt{R\'{u}ssia}\def\pgfPT at country@name at en{Russia}\def\pgfPT at country@name at fr{Russie}\def\pgfPT at country@name at de{Russland}\def\pgfPT at country@name at it{Russia}\def\pgfPT at country@name at es{Rusia}\def\pgfPT at country@name at br{R\'{u}ssia}%
+\or% 11: Italy it
+\def\pgfPT at country@name at pt{It\'{a}lia}\def\pgfPT at country@name at en{Italy}\def\pgfPT at country@name at fr{Italie}\def\pgfPT at country@name at de{Italien}\def\pgfPT at country@name at it{Italia}\def\pgfPT at country@name at es{Italia}\def\pgfPT at country@name at br{It\'{a}lia}\def\pgfPT at country@name at user{\pgfPT at user@country at it}%
+\or% 12: Middle East ME
+\def\pgfPT at country@name at pt{M\'{e}dio Oriente}\def\pgfPT at country@name at en{Middle East}\def\pgfPT at country@name at fr{Moyen-Orient}\def\pgfPT at country@name at de{Mittlerer Osten}\def\pgfPT at country@name at it{Medio Oriente}\def\pgfPT at country@name at es{Medio Oriente}\def\pgfPT at country@name at br{M\'{e}dio Oriente}\def\pgfPT at country@name at user{\pgfPT at user@country at ME}%
+\or% 13: Peru pe
+\def\pgfPT at country@name at pt{Peru}\def\pgfPT at country@name at en{Peru}\def\pgfPT at country@name at fr{P\'{e}rou}\def\pgfPT at country@name at de{Peru}\def\pgfPT at country@name at it{Per\`{u}}\def\pgfPT at country@name at es{Per\'{u}}\def\pgfPT at country@name at br{Peru}\def\pgfPT at country@name at user{\pgfPT at user@country at pe}%
+\or% 14: Romania ro
+\def\pgfPT at country@name at pt{Rom\'{e}nia}\def\pgfPT at country@name at en{Romania}\def\pgfPT at country@name at fr{Roumanie}\def\pgfPT at country@name at de{Rum\"{a}nien}\def\pgfPT at country@name at it{Romania}\def\pgfPT at country@name at es{Rumania}\def\pgfPT at country@name at br{Rom\^{e}nia}\def\pgfPT at country@name at user{\pgfPT at user@country at ro}%
+\or% 15: Russia ru
+\def\pgfPT at country@name at pt{R\'{u}ssia}\def\pgfPT at country@name at en{Russia}\def\pgfPT at country@name at fr{Russie}\def\pgfPT at country@name at de{Russland}\def\pgfPT at country@name at it{Russia}\def\pgfPT at country@name at es{Rusia}\def\pgfPT at country@name at br{R\'{u}ssia}\def\pgfPT at country@name at user{\pgfPT at user@country at ru}%
 \or% 16: Russia and The United States
-\or% 17: Spain
-\def\pgfPT at country@name at pt{Espanha}\def\pgfPT at country@name at en{Spain}\def\pgfPT at country@name at fr{Espagne}\def\pgfPT at country@name at de{Spanien}\def\pgfPT at country@name at it{Spagna}\def\pgfPT at country@name at es{Espa\~{n}a}\def\pgfPT at country@name at br{Espanha}%
-\or% 18: Sweden
-\def\pgfPT at country@name at pt{Su\'{e}cia}\def\pgfPT at country@name at en{Sweden}\def\pgfPT at country@name at fr{Su\`{e}de}\def\pgfPT at country@name at de{Schweden}\def\pgfPT at country@name at it{Svezia}\def\pgfPT at country@name at es{Suecia}\def\pgfPT at country@name at br{Su\'{e}cia}%
+\or% 17: Spain es
+\def\pgfPT at country@name at pt{Espanha}\def\pgfPT at country@name at en{Spain}\def\pgfPT at country@name at fr{Espagne}\def\pgfPT at country@name at de{Spanien}\def\pgfPT at country@name at it{Spagna}\def\pgfPT at country@name at es{Espa\~{n}a}\def\pgfPT at country@name at br{Espanha}\def\pgfPT at country@name at user{\pgfPT at user@country at es}%
+\or% 18: Sweden sw
+\def\pgfPT at country@name at pt{Su\'{e}cia}\def\pgfPT at country@name at en{Sweden}\def\pgfPT at country@name at fr{Su\`{e}de}\def\pgfPT at country@name at de{Schweden}\def\pgfPT at country@name at it{Svezia}\def\pgfPT at country@name at es{Suecia}\def\pgfPT at country@name at br{Su\'{e}cia}\def\pgfPT at country@name at user{\pgfPT at user@country at sw}%
 \or% 19: Sweden and The United Kingdom
-\or% 20: Switzerland
-\def\pgfPT at country@name at pt{Su\'{i}\c{c}a}\def\pgfPT at country@name at en{Switzerland}\def\pgfPT at country@name at fr{Suisse}\def\pgfPT at country@name at de{Schweiz}\def\pgfPT at country@name at it{Svizzera}\def\pgfPT at country@name at es{Suiza}\def\pgfPT at country@name at br{Su\'{i}\c{c}a}%
-\or% 21: The United Kingdom
-\def\pgfPT at country@name at pt{Reino Unido}\def\pgfPT at country@name at en{The United Kingdom}\def\pgfPT at country@name at fr{Royaume-Uni}\def\pgfPT at country@name at de{Vereinigtes K\"{o}nigreich}\def\pgfPT at country@name at it{Regno Unito}\def\pgfPT at country@name at es{Reino Unido}\def\pgfPT at country@name at br{Reino Unido}%
-\or% 22: The United States
-\def\pgfPT at country@name at pt{Estados Unidos}\def\pgfPT at country@name at en{The United States}\def\pgfPT at country@name at fr{\'{E}tats-Unis}\def\pgfPT at country@name at de{Vereinigte Staaten}\def\pgfPT at country@name at it{Stati Uniti}\def\pgfPT at country@name at es{Estados Unidos}\def\pgfPT at country@name at br{Estados Unidos}%
+\or% 20: Switzerland ch
+\def\pgfPT at country@name at pt{Su\'{i}\c{c}a}\def\pgfPT at country@name at en{Switzerland}\def\pgfPT at country@name at fr{Suisse}\def\pgfPT at country@name at de{Schweiz}\def\pgfPT at country@name at it{Svizzera}\def\pgfPT at country@name at es{Suiza}\def\pgfPT at country@name at br{Su\'{i}\c{c}a}\def\pgfPT at country@name at user{\pgfPT at user@country at ch}%
+\or% 21: The United Kingdom uk
+\def\pgfPT at country@name at pt{Reino Unido}\def\pgfPT at country@name at en{The United Kingdom}\def\pgfPT at country@name at fr{Royaume-Uni}\def\pgfPT at country@name at de{Vereinigtes K\"{o}nigreich}\def\pgfPT at country@name at it{Regno Unito}\def\pgfPT at country@name at es{Reino Unido}\def\pgfPT at country@name at br{Reino Unido}\def\pgfPT at country@name at user{\pgfPT at user@country at uk}%
+\or% 22: The United States us
+\def\pgfPT at country@name at pt{Estados Unidos}\def\pgfPT at country@name at en{The United States}\def\pgfPT at country@name at fr{\'{E}tats-Unis}\def\pgfPT at country@name at de{Vereinigte Staaten}\def\pgfPT at country@name at it{Stati Uniti}\def\pgfPT at country@name at es{Estados Unidos}\def\pgfPT at country@name at br{Estados Unidos}\def\pgfPT at country@name at user{\pgfPT at user@country at us}%
 \or% 23: Mexico and Sweden
 \or% 24: Sweden and The United States
-\or% 25: Mexico (and Sweden)
-\def\pgfPT at country@name at pt{M\'{e}xico}\def\pgfPT at country@name at en{Mexico}\def\pgfPT at country@name at fr{Mexique}\def\pgfPT at country@name at de{Mexico}\def\pgfPT at country@name at it{Messico}\def\pgfPT at country@name at es{M\'{e}xico}\def\pgfPT at country@name at br{M\'{e}xico}%
+\or% 25: Mexico (and Sweden) mx
+\def\pgfPT at country@name at pt{M\'{e}xico}\def\pgfPT at country@name at en{Mexico}\def\pgfPT at country@name at fr{Mexique}\def\pgfPT at country@name at de{Mexico}\def\pgfPT at country@name at it{Messico}\def\pgfPT at country@name at es{M\'{e}xico}\def\pgfPT at country@name at br{M\'{e}xico}\def\pgfPT at country@name at user{\pgfPT at user@country at mx}%
 \else% 100:
-\def\pgfPT at country@name at pt{}\def\pgfPT at country@name at en{}\def\pgfPT at country@name at fr{}\def\pgfPT at country@name at de{}\def\pgfPT at country@name at it{}\def\pgfPT at country@name at es{}\def\pgfPT at country@name at br{}%
+\def\pgfPT at country@name at pt{}\def\pgfPT at country@name at en{}\def\pgfPT at country@name at fr{}\def\pgfPT at country@name at de{}\def\pgfPT at country@name at it{}\def\pgfPT at country@name at es{}\def\pgfPT at country@name at br{}\def\pgfPT at country@name at user{}%
 \fi%
 }%
 % --------------------------------------------------------------------------------------------------

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -4,11 +4,9 @@
 % --------------------------------------------------------------------------------------------------
 % \xABThe keys for the layout and drawing the Periodic Table\xBB ------------------------------------
 % --------------------------------------------------------------------------------------------------
-%% defining PGF keys: language list to use in the Periodic Table ------------------------------
 \pgfkeys{/pgfPerTable/.cd,%
-languages/.get=\pgfPTlanguages,%
-languages/.store in=\pgfPTlanguages,%
-languages/.default=\pgfPT at defaultLanguage,%
+languages/.code=\pgfPT at otherlanguages{#1},% v2.1.0
+languages/.default=\pgfPT at defaultLanguage,% v2.1.0
 other languages font/.get=\pgfPTotherLangFont,%
 other languages font/.store in=\pgfPTotherLangFont,%
 other languages font/.default=\tiny,%
@@ -18,6 +16,20 @@
 other lang/.code=\pgfPT at otherlangstyle{#1},%
 other lang/.default={f=\tiny,c=black!70}%
 }%
+% replace user ISO flag, if found, with 'user' (v2.1.0) -------------------------------------
+\newcount\pgfPT at nlang@count%
+\def\pgfPT at otherlanguages#1{%
+\pgfPT at nlang@count=0\relax%
+\edef\pgfPTlanguages{}%
+\@for\pgfPT at tmp:=#1\do{\advance\pgfPT at nlang@count by1\relax%
+\ifnum\pgfPT at nlang@count=1\relax%
+\ifx\pggPT at userlanguage@ISOcode\pgfPT at tmp\relax\edef\pgfPTlanguages{user}%
+\else\edef\pgfPTlanguages{\pgfPT at tmp}\fi%
+\else%
+\ifx\pggPT at userlanguage@ISOcode\pgfPT at tmp\relax\edef\pgfPTlanguages{\pgfPTlanguages,user}%
+\else\edef\pgfPTlanguages{\pgfPTlanguages,\pgfPT at tmp}\fi%
+\fi}%
+}% -------------------------------------------------------------------------------------------------
 % setting key with default value -----------------------------------------------------------------
 \pgfkeys{/pgfPerTable/.cd,languages,other languages font,other languages color}%
 % end !! PGF keys: language to use in the Periodic Table ---------------------------------------

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.labels.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.labels.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.labels.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -3,9 +3,10 @@
 % --------------------------------------------------------------------------------------------------
 % \xABThe language labels to use in the title and the legend of the Periodic Table\xBB --------------
 % v2.0.1: Improved German language after suggestions made by Ole Schwen
+% v2.1.0: Added support for user language
 % --------------------------------------------------------------------------------------------------
 %
-% The labels available in pt, en, fr, de, it, es, br are:
+% The labels available in pt, en, fr, de, it, es, br, user are:
 %            titulo, La, Ac, solido, liquido, gasoso, sintetico,
 %            Z, name, CS, Ar, Arstar, radio, R, Rcov, Rion,
 %            Ei, eneg, eaff, O, Tmelt, TmeltC, Tboil, TboilC, eDist, eConfign,
@@ -12,46 +13,46 @@
 %            eConfignl, d, Cp, kT, ls, lsa, lsb, lsc, lsca, DiscY, DiscC, spectra
 %
 % --------------------------------------------------------------------------------------------------
-\def\pgfPT at labels@titulo{Tabela Peri\'{o}dica dos Elementos/pt,Periodic Table of Elements/en,Tableau P\'{e}riodique des \'{E}l\'{e}ments/fr,Periodensystem der Elemente/de,Tavola Periodica degli Elementi/it,Tabla Periodica de los Elementos/es,Tabela Peri\'{o}dica dos Elementos/br}%
-\def\pgfPT at labels@La{lantan\'{o}ides/pt,lanthanoids/en,lanthano\"{i}des/fr,Lanthanoide/de,lantanoidi/it,lantanoides/es,lantan\'{o}ides/br}%
-\def\pgfPT at labels@Ac{actin\'{o}ides/pt,actinoids/en,actino\"{i}de/fr,Actinoide/de,actinoidi/it,actinoides/es,actin\'{o}ides/br}%
-\def\pgfPT at labels@solido{s\'{o}lido/pt,solid/en,solide/fr,fest/de,solido/it,s\'{o}lido/es,s\'{o}lido/br}%
-\def\pgfPT at labels@liquido{l\'{i}quido/pt,liquid/en,liquide/fr,fl\"{u}ssig/de,liquido/it,l\'{i}quido/es,l\'{i}quido/br}%
-\def\pgfPT at labels@gasoso{gasoso/pt,gaseous/en,gazeux/fr,gasf\"{o}rmig/de,gassoso/it,gaseoso/es,gasoso/br}%
-\def\pgfPT at labels@sintetico{sint\'{e}tico/pt,synthetic/en,synth\'{e}tique/fr,synthetisch/de,sintetico/it,sint\'{e}tico/es,sint\'{e}tico/br}%
+\def\pgfPT at labels@titulo{Tabela Peri\'{o}dica dos Elementos/pt,Periodic Table of Elements/en,Tableau P\'{e}riodique des \'{E}l\'{e}ments/fr,Periodensystem der Elemente/de,Tavola Periodica degli Elementi/it,Tabla Peri\'{o}dica de los Elementos/es,Tabela Peri\'{o}dica dos Elementos/br,\pgfPT at user@labels at titulo/user}%
+\def\pgfPT at labels@La{lantan\'{o}ides/pt,lanthanoids/en,lanthano\"{i}des/fr,Lanthanoide/de,lantanoidi/it,lantanoides/es,lantan\'{o}ides/br,\pgfPT at user@labels at La/user}%
+\def\pgfPT at labels@Ac{actin\'{o}ides/pt,actinoids/en,actino\"{i}de/fr,Actinoide/de,actinoidi/it,actinoides/es,actin\'{o}ides/br,\pgfPT at user@labels at Ac/user}%
+\def\pgfPT at labels@solido{s\'{o}lido/pt,solid/en,solide/fr,fest/de,solido/it,s\'{o}lido/es,s\'{o}lido/br,\pgfPT at user@labels at solido/user}%
+\def\pgfPT at labels@liquido{l\'{i}quido/pt,liquid/en,liquide/fr,fl\"{u}ssig/de,liquido/it,l\'{i}quido/es,l\'{i}quido/br,\pgfPT at user@labels at liquido/user}%
+\def\pgfPT at labels@gasoso{gasoso/pt,gaseous/en,gazeux/fr,gasf\"{o}rmig/de,gassoso/it,gaseoso/es,gasoso/br,\pgfPT at user@labels at gasoso/user}%
+\def\pgfPT at labels@sintetico{sint\'{e}tico/pt,synthetic/en,synth\'{e}tique/fr,synthetisch/de,sintetico/it,sint\'{e}tico/es,sint\'{e}tico/br,\pgfPT at user@labels at sintetico/user}%
 %
-\def\pgfPT at labels@Z{N\'{u}mero At\'{o}mico/pt,Atomic \mbox{Number}/en,Num\'{e}ro \mbox{Atomique}/fr,Ord\-nungs\-zahl/de,Numero \mbox{Atomico}/it,N\'{u}mero \mbox{At\'{o}mico}/es,N\'{u}mero At\^{o}mico/br}%
-\def\pgfPT at labels@name{Nome/pt,Name/en,Nom/fr,Name/de,Nome/it,Nombre/es,Nome/br}%
-\def\pgfPT at labels@CS{S\'{i}mbolo Qu\'{i}mico/pt,Chemical Symbol/en,Symbole Chimique/fr,Chemisches Symbol/de,Simbolo Chimico/it,S\'{i}mbolo Qu\'{i}mico/es,S\'{i}mbolo Qu\'{i}mico/br}%
-\def\pgfPT at labels@Ar at m{Massa \mbox{At\'{o}mica} Relativa/pt,Relative \mbox{Atomic} Mass/en,Masse \mbox{Atomique} Relative/fr,Relative Atom\-masse/de,Massa \mbox{Atomica} Relativa/it,Masa \mbox{At\'{o}mica} Relativa/es,Massa \mbox{At\^{o}mica} Relativa/br}%
-\def\pgfPT at labels@Arstar at m{Massa At\'{o}mica Relativa Padr\~{a}o/pt,Standard Relative Atomic Mass/en,Masse Atomique Relative Standard/fr,Relative Standard\-atommasse/de,Massa Atomica Relativa Standard/it,Masa At\'{o}mica Relativa Est\'{a}ndar/es,Massa At\^{o}mica Relativa Padr\~{a}o/br}%
-\def\pgfPT at labels@Ar at w{Peso At\'{o}mico/pt,Atomic Weight/en,Poids Atomique/fr,Atom\-gewicht/de,Peso Atomico/it,Peso At\'{o}mico/es,Peso At\^{o}mico/br}%
-\def\pgfPT at labels@Arstar at w{Peso At\'{o}mico Padr\~{a}o/pt,Standard Atomic Weight/en,Standard\-atomgewicht/de,Poids Atomique Standard/fr,Peso Atomico Standard/it,Peso At\'{o}mico Est\'{a}ndar/es,Peso At\^{o}mico Padr\~{a}o/br}%
-\def\pgfPT at labels@radio{Radioativo/pt,Radioactive/en,Radioactif/fr,radioaktiv/de,Radioattivo/it,Radioactivo/es,Radioativo/br}%
-\def\pgfPT at labels@R{Raio At\'{o}mico/pt,Atomic Radius/en,Rayon Ato\-mi\-que/fr,Atom\-radius/de,Raggio Atomico/it,Radio At\'{o}mico/es,Raio At\^{o}mico/br}%
-\def\pgfPT at labels@Rcov{Raio \mbox{Covalente}/pt,Covalente Radius/en,Rayon Covalent/fr,Kovalenz\-radius/de,Raggio Covalente/it,Radio Covalente/es,Raio Covalente/br}%
-\def\pgfPT at labels@Rion{Raio I\'{o}nico/pt,Ionic Radius/en,Rayon ionique/fr,Ionen\-radius/de,Raggio Ionico/it,Radio I\'{o}nico/es,Raio I\^{o}nico/br}%
-\def\pgfPT at labels@Ei{Energia de Ioniza\c{c}\~{a}o/pt,Ionization Energy/en,\'{E}nergie d'Ionisation/fr,Ionisierungs\-energie/de,Energia di Ionizzazione/it,Energ\'{i}a de Ionizaci\'{o}n/es,Energia de Ioniza\c{c}\~{a}o/br}%
-\def\pgfPT at labels@eneg{Eletrone\-gatividade/pt,Electrone\-gativity/en,\'{E}lectron\'{e}\-gativit\'{e}/fr,Elektro\-negativit\"{a}t/de,Elettrone\-gativit\`{a}/it,Electrone\-gatividad/es,Eletrone\-gatividade/br}%
-\def\pgfPT at labels@eaff{Eletro\-afinidade/pt,Electro\-affinity/en,\'{E}lectro\-affinit\'{e}/fr,Elektro\-affinit\"{a}t/de,Elettro\-affinit\`{a}/it,Electro\-afinidad/es,Eletro\-afinidade/br}%
-\def\pgfPT at labels@O{Estados de Oxida\c{c}\~{a}o/pt,Oxidation States/en,\'{E}tats d'Oxydation/fr,Oxidations\-zust\"{a}nde/de,Stati di \mbox{ossidazione}/it,Estados de Oxidaci\'{o}n/es,Estados de Oxida\c{c}\~{a}o/br}%
-\def\pgfPT at labels@Tmelt{Ponto de Fus\~{a}o/pt,Melting Point/en,Point de Fusion/fr,Schmelz\-punkt/de,Punto di Fusione/it,Punto de Fusi\'{o}n/es,Ponto de Fus\~{a}o/br}%
-\def\pgfPT at labels@TmeltC{Ponto de Fus\~{a}o/pt,Melting Point/en,Point de Fusion/fr,Schmelz\-punkt/de,Punto di Fusione/it,Punto de Fusi\'{o}n/es,Ponto de Fus\~{a}o/br}%
-\def\pgfPT at labels@Tboil{Ponto de Ebuli\c{c}\~{a}o/pt,Boiling Point/en,Point d'\'{E}bullition/fr,Siede\-punkt/de,Punto di Ebollizione/it,Punto de Ebullici\'{o}n/es,Ponto de Ebuli\c{c}\~{a}o/br}%
-\def\pgfPT at labels@TboilC{Ponto de Ebuli\c{c}\~{a}o/pt,Boiling Point/en,Point d'\'{E}bullition/fr,Siede\-punkt/de,\mbox{Punto di} \mbox{Ebollizione}/it,\mbox{Punto de} \mbox{Ebullici\'{o}n}/es,Ponto de Ebuli\c{c}\~{a}o/br}%
-\def\pgfPT at labels@eDist{Distribui\c{c}\~{a}o Eletr\'{o}nica/pt,Electron \mbox{Distribuition}/en,Distribution d'\'{E}lectrons/fr,Elektronen\-verteilung/de,Distribuzione degli Elettroni/it,Distribuci\'{o}n de Electrones/es,Distribui\c{c}\~{a}o de El\'{e}trons/br}%
-\def\pgfPT at labels@eConfig{Configura\c{c}\~{a}o Eletr\'{o}nica/pt,Electronic Configuration/en,Configuration \'{E}lectronique/fr,Elektronen\-konfiguration/de,Configurazione Elettronica/it,Configuraci\'{o}n Electr\'{o}nica/es,Configura\c{c}\~{a}o Eletr\^{o}nica/br}%
+\def\pgfPT at labels@Z{N\'{u}mero At\'{o}mico/pt,Atomic \mbox{Number}/en,Num\'{e}ro \mbox{Atomique}/fr,Ord\-nungs\-zahl/de,Numero \mbox{Atomico}/it,N\'{u}mero \mbox{At\'{o}mico}/es,N\'{u}mero At\^{o}mico/br,\pgfPT at user@labels at Z/user}%
+\def\pgfPT at labels@name{Nome/pt,Name/en,Nom/fr,Name/de,Nome/it,Nombre/es,Nome/br,\pgfPT at user@labels at name/user}%
+\def\pgfPT at labels@CS{S\'{i}mbolo Qu\'{i}mico/pt,Chemical Symbol/en,Symbole Chimique/fr,Chemisches Symbol/de,Simbolo Chimico/it,S\'{i}mbolo Qu\'{i}mico/es,S\'{i}mbolo Qu\'{i}mico/br,\pgfPT at user@labels at CS/user}%
+\def\pgfPT at labels@Ar at m{Massa \mbox{At\'{o}mica} Relativa/pt,Relative \mbox{Atomic} Mass/en,Masse \mbox{Atomique} Relative/fr,Relative Atom\-masse/de,Massa \mbox{Atomica} Relativa/it,Masa \mbox{At\'{o}mica} Relativa/es,Massa \mbox{At\^{o}mica} Relativa/br,\pgfPT at user@labels at Ar@m/user}%
+\def\pgfPT at labels@Arstar at m{Massa At\'{o}mica Relativa Padr\~{a}o/pt,Standard Relative Atomic Mass/en,Masse Atomique Relative Standard/fr,Relative Standard\-atommasse/de,Massa Atomica Relativa Standard/it,Masa At\'{o}mica Relativa Est\'{a}ndar/es,Massa At\^{o}mica Relativa Padr\~{a}o/br,\pgfPT at user@labels at Arstar@m/user}%
+\def\pgfPT at labels@Ar at w{Peso At\'{o}mico/pt,Atomic Weight/en,Poids Atomique/fr,Atom\-gewicht/de,Peso Atomico/it,Peso At\'{o}mico/es,Peso At\^{o}mico/br,\pgfPT at user@labels at Ar@w/user}%
+\def\pgfPT at labels@Arstar at w{Peso At\'{o}mico Padr\~{a}o/pt,Standard Atomic Weight/en,Standard\-atomgewicht/de,Poids Atomique Standard/fr,Peso Atomico Standard/it,Peso At\'{o}mico Est\'{a}ndar/es,Peso At\^{o}mico Padr\~{a}o/br,\pgfPT at user@labels at Arstar@w/user}%
+\def\pgfPT at labels@radio{Radioativo/pt,Radioactive/en,Radioactif/fr,radioaktiv/de,Radioattivo/it,Radioactivo/es,Radioativo/br,\pgfPT at user@labels at radio/user}%
+\def\pgfPT at labels@R{Raio At\'{o}mico/pt,Atomic Radius/en,Rayon Ato\-mi\-que/fr,Atom\-radius/de,Raggio Atomico/it,Radio At\'{o}mico/es,Raio At\^{o}mico/br,\pgfPT at user@labels at R/user}%
+\def\pgfPT at labels@Rcov{Raio \mbox{Covalente}/pt,Covalente Radius/en,Rayon Covalent/fr,Kovalenz\-radius/de,Raggio Covalente/it,Radio Covalente/es,Raio Covalente/br,\pgfPT at user@labels at Rcov/user}%
+\def\pgfPT at labels@Rion{Raio I\'{o}nico/pt,Ionic Radius/en,Rayon ionique/fr,Ionen\-radius/de,Raggio Ionico/it,Radio I\'{o}nico/es,Raio I\^{o}nico/br,\pgfPT at user@labels at Rion/user}%
+\def\pgfPT at labels@Ei{Energia de Ioniza\c{c}\~{a}o/pt,Ionization Energy/en,\'{E}nergie d'Ionisation/fr,Ionisierungs\-energie/de,Energia di Ionizzazione/it,Energ\'{i}a de Ionizaci\'{o}n/es,Energia de Ioniza\c{c}\~{a}o/br,\pgfPT at user@labels at Ei/user}%
+\def\pgfPT at labels@eneg{Eletrone\-gatividade/pt,Electrone\-gativity/en,\'{E}lectron\'{e}\-gativit\'{e}/fr,Elektro\-negativit\"{a}t/de,Elettrone\-gativit\`{a}/it,Electrone\-gatividad/es,Eletrone\-gatividade/br,\pgfPT at user@labels at eneg/user}%
+\def\pgfPT at labels@eaff{Eletro\-afinidade/pt,Electro\-affinity/en,\'{E}lectro\-affinit\'{e}/fr,Elektro\-affinit\"{a}t/de,Elettro\-affinit\`{a}/it,Electro\-afinidad/es,Eletro\-afinidade/br,\pgfPT at user@labels at eaff/user}%
+\def\pgfPT at labels@O{Estados de Oxida\c{c}\~{a}o/pt,Oxidation States/en,\'{E}tats d'Oxydation/fr,Oxidations\-zust\"{a}nde/de,Stati di \mbox{ossidazione}/it,Estados de Oxidaci\'{o}n/es,Estados de Oxida\c{c}\~{a}o/br,\pgfPT at user@labels at O/user}%
+\def\pgfPT at labels@Tmelt{Ponto de Fus\~{a}o/pt,Melting Point/en,Point de Fusion/fr,Schmelz\-punkt/de,Punto di Fusione/it,Punto de Fusi\'{o}n/es,Ponto de Fus\~{a}o/br,\pgfPT at user@labels at Tmelt/user}%
+\def\pgfPT at labels@TmeltC{Ponto de Fus\~{a}o/pt,Melting Point/en,Point de Fusion/fr,Schmelz\-punkt/de,Punto di Fusione/it,Punto de Fusi\'{o}n/es,Ponto de Fus\~{a}o/br,\pgfPT at user@labels at TmeltC/user}%
+\def\pgfPT at labels@Tboil{Ponto de Ebuli\c{c}\~{a}o/pt,Boiling Point/en,Point d'\'{E}bullition/fr,Siede\-punkt/de,Punto di Ebollizione/it,Punto de Ebullici\'{o}n/es,Ponto de Ebuli\c{c}\~{a}o/br,\pgfPT at user@labels at Tboil/user}%
+\def\pgfPT at labels@TboilC{Ponto de Ebuli\c{c}\~{a}o/pt,Boiling Point/en,Point d'\'{E}bullition/fr,Siede\-punkt/de,\mbox{Punto di} \mbox{Ebollizione}/it,\mbox{Punto de} \mbox{Ebullici\'{o}n}/es,Ponto de Ebuli\c{c}\~{a}o/br,\pgfPT at user@labels at TboilC/user}%
+\def\pgfPT at labels@eDist{Distribui\c{c}\~{a}o Eletr\'{o}nica/pt,Electron \mbox{Distribution}/en,Distribution d'\'{E}lectrons/fr,Elektronen\-verteilung/de,Distribuzione degli Elettroni/it,Distribuci\'{o}n de Electrones/es,Distribui\c{c}\~{a}o de El\'{e}trons/br,\pgfPT at user@labels at eDist/user}%
+\def\pgfPT at labels@eConfig{Configura\c{c}\~{a}o Eletr\'{o}nica/pt,Electronic Configuration/en,Configuration \'{E}lectronique/fr,Elektronen\-konfiguration/de,Configurazione Elettronica/it,Configuraci\'{o}n Electr\'{o}nica/es,Configura\c{c}\~{a}o Eletr\^{o}nica/br,\pgfPT at user@labels at eConfig/user}%
 \let\pgfPT at labels@eConfign\pgfPT at labels@eConfig%
 \let\pgfPT at labels@eConfignl\pgfPT at labels@eConfig%
-\def\pgfPT at labels@d{Densidade/pt,Density/en,Densit\'{e}/fr,Dichte/de,Densit\`{a}/it,Densidad/es,Densidade/br}%
-\def\pgfPT at labels@Cp{Calor \mbox{Espec\'{i}fico}/pt,\mbox{Specific Heat} Capacity/en,Capacit\'{e} \mbox{Thermique} \mbox{Sp\'{e}cifique}/fr,Spezifische \mbox{W\"{a}rme\-kapazit\"{a}t}/de,Calore specifico/it,Calor \mbox{Espec\'{i}fico}/es,Calor \mbox{Espec\'{i}fico}/br}%
-\def\pgfPT at labels@kT{Condutividade T\'{e}rmica/pt,Thermal \mbox{Condutivity}/en,Conductivit\'{e} \mbox{Thermique}/fr,W\"{a}rme\-leit\-f\"{a}higkeit/de,Conducibilit\`{a} Termica/it,Condutividad T\'{e}rmica/es,Condutividade T\'{e}rmica/br}%
-\def\pgfPT at labels@ls{Estrutura da Rede Cristalina/pt,Lattice Structure/en,Structure de R\'{e}seau Cristaline/fr,Gitter\-struktur/de,Struttura Reticolare/it,Estructura Reticular/es,Estrutura da Rede Cristalina/br}%
-\def\pgfPT at labels@lsa{Constante da Rede: a/pt,Lattice constant: a/en,Constante \mbox{de R\'{e}seau}: a/fr,Gitter\-konstante: a/de,Costante \mbox{Reticolare}: a/it,Constante de la Reticula: a/es,Constante da Rede: a/br}%
-\def\pgfPT at labels@lsb{Constante da Rede: b/pt,Lattice constant: b/en,Constante \mbox{de R\'{e}seau}: b/fr,Gitter\-konstante: b/de,Costante \mbox{Reticolare}: b/it,Constante de la Reticula: b/es,Constante da Rede: b/br}%
-\def\pgfPT at labels@lsc{Constante da Rede: c/pt,Lattice constant: c/en,Constante \mbox{de R\'{e}seau}: c/fr,Gitter\-konstante: c/de,Costante \mbox{Reticolare}: c/it,Constante de la Reticula: c/es,Constante da Rede: c/br}%
-\def\pgfPT at labels@lsca{Raz\~{a}o c\mbox{/}a da Rede/pt,Lattice c\mbox{/}a ratio/en,Rapport c\mbox{/}a du R\'{e}seau/fr,Gitter c\mbox{/}a-Verh\"{a}ltnis/de,Rapporto c\mbox{/}a del Reticolo/it,Relaci\'{o}n c\mbox{/}a de la Reticula/es,Raz\~{a}o c\mbox{/}a da Rede/br}%
-\def\pgfPT at labels@DiscY{Ano da \mbox{Descoberta}/pt,Year of \mbox{Discovery}/en,\mbox{Ann\'{e}e de la} \mbox{D\'{e}couverte}/fr,Jahr der Entdeckung/de,\mbox{Anno della} Scoperta/it,A\~{n}o del Descubri\-miento/es,Ano da \mbox{Descoberta}/br}%
+\def\pgfPT at labels@d{Densidade/pt,Density/en,Densit\'{e}/fr,Dichte/de,Densit\`{a}/it,Densidad/es,Densidade/br,\pgfPT at user@labels at d/user}%
+\def\pgfPT at labels@Cp{Calor \mbox{Espec\'{i}fico}/pt,\mbox{Specific Heat} Capacity/en,Capacit\'{e} \mbox{Thermique} \mbox{Sp\'{e}cifique}/fr,Spezifische \mbox{W\"{a}rme\-kapazit\"{a}t}/de,Calore specifico/it,Calor \mbox{Espec\'{i}fico}/es,Calor \mbox{Espec\'{i}fico}/br,\pgfPT at user@labels at Cp/user}%
+\def\pgfPT at labels@kT{Condutividade T\'{e}rmica/pt,Thermal \mbox{Conductivity}/en,Conductivit\'{e} \mbox{Thermique}/fr,W\"{a}rme\-leit\-f\"{a}higkeit/de,Conducibilit\`{a} Termica/it,Condutividad T\'{e}rmica/es,Condutividade T\'{e}rmica/br,\pgfPT at user@labels at kT/user}%
+\def\pgfPT at labels@ls{Estrutura da Rede Cristalina/pt,Lattice Structure/en,Structure de R\'{e}seau Cristaline/fr,Gitter\-struktur/de,Struttura Reticolare/it,Estructura Reticular/es,Estrutura da Rede Cristalina/br,\pgfPT at user@labels at ls/user}%
+\def\pgfPT at labels@lsa{Constante da Rede: a/pt,Lattice constant: a/en,Constante \mbox{de R\'{e}seau}: a/fr,Gitter\-konstante: a/de,Costante \mbox{Reticolare}: a/it,Constante de la Reticula: a/es,Constante da Rede: a/br,\pgfPT at user@labels at lsa/user}%
+\def\pgfPT at labels@lsb{Constante da Rede: b/pt,Lattice constant: b/en,Constante \mbox{de R\'{e}seau}: b/fr,Gitter\-konstante: b/de,Costante \mbox{Reticolare}: b/it,Constante de la Reticula: b/es,Constante da Rede: b/br,\pgfPT at user@labels at lsb/user}%
+\def\pgfPT at labels@lsc{Constante da Rede: c/pt,Lattice constant: c/en,Constante \mbox{de R\'{e}seau}: c/fr,Gitter\-konstante: c/de,Costante \mbox{Reticolare}: c/it,Constante de la Reticula: c/es,Constante da Rede: c/br,\pgfPT at user@labels at lsc/user}%
+\def\pgfPT at labels@lsca{Raz\~{a}o c\mbox{/}a da Rede/pt,Lattice c\mbox{/}a ratio/en,Rapport c\mbox{/}a du R\'{e}seau/fr,Gitter c\mbox{/}a-Verh\"{a}ltnis/de,Rapporto c\mbox{/}a del Reticolo/it,Relaci\'{o}n c\mbox{/}a de la Reticula/es,Raz\~{a}o c\mbox{/}a da Rede/br,\pgfPT at user@labels at lsca/user}%
+\def\pgfPT at labels@DiscY{Ano da \mbox{Descoberta}/pt,Year of \mbox{Discovery}/en,\mbox{Ann\'{e}e de la} \mbox{D\'{e}couverte}/fr,Jahr der Entdeckung/de,\mbox{Anno della} Scoperta/it,A\~{n}o del Descubri\-miento/es,Ano da \mbox{Descoberta}/br,\pgfPT at user@labels at DiscY/user}%
 \def\pgfPT at labels@BC at en{BC}%
 \def\pgfPT at labels@BC at pt{a.C.}%
 \def\pgfPT at labels@BC at fr{av.J-C.}%
@@ -59,71 +60,72 @@
 \def\pgfPT at labels@BC at it{a.C.}%
 \def\pgfPT at labels@BC at es{a.C.}%
 \def\pgfPT at labels@BC at br{a.C.}%
-\def\pgfPT at labels@DiscC{Pa\'{i}s da \mbox{Descoberta}/pt,\mbox{Country of} \mbox{Discovery}/en,Pays de \mbox{D\'{e}couverte}/fr,Land der Entdeckung/de,Paese di Scoperta/it,Pa\'{i}s de Descubri\-miento/es,Pa\'{i}s da \mbox{Descoberta}/br}%
-\def\pgfPT at labels@spectra{Espetro de Emiss\~{a}o/pt,Emission Spectrum/en,Spectre d'\'{E}mission/fr,Emissions\-spektrum/de,Spettro di \mbox{Emissione}/it,Espectro de Emisi\'{o}n/es,Espectro de Emiss\~{a}o/br}%
+\def\pgfPT at labels@BC at user{\pgfPT at user@labels at BC}%
+\def\pgfPT at labels@DiscC{Pa\'{i}s da \mbox{Descoberta}/pt,\mbox{Country of} \mbox{Discovery}/en,Pays de \mbox{D\'{e}couverte}/fr,Land der Entdeckung/de,Paese di Scoperta/it,Pa\'{i}s de Descubri\-miento/es,Pa\'{i}s da \mbox{Descoberta}/br,\pgfPT at user@labels at DiscC/user}%
+\def\pgfPT at labels@spectra{Espetro de Emiss\~{a}o/pt,Emission Spectrum/en,Spectre d'\'{E}mission/fr,Emissions\-spektrum/de,Spettro di \mbox{Emissione}/it,Espectro de Emisi\'{o}n/es,Espectro de Emiss\~{a}o/br,\pgfPT at user@labels at spectra/user}%
 % acronyms for legend:
-\def\pgfPT at acr@Z{Z/pt,Z/en,Z/fr,Z/de,Z/it,Z/es,Z/br}%
-\def\pgfPT at acr@name{N/pt,N/en,N/fr,N/de,N/it,N/es,N/br}%
-\def\pgfPT at acr@CS{SQ/pt,CS/en,SC/fr,CS/de,SC/it,SQ/es,SQ/br}%
-\def\pgfPT at acr@Ar{Ar/pt,Ar/en,Ar/fr,Ar/de,Ar/it,Ar/es,Ar/br}%
-\def\pgfPT at acr@Arstar{Ar/pt,Ar/en,Ar/fr,Ar/de,Ar/it,Ar/es,Ar/br}%
-\def\pgfPT at acr@radio{Ra/pt,Ra/en,Ra/fr,Ra/de,Ra/it,Ra/es,Ra/br}%
-\def\pgfPT at acr@R{R/pt,R/en,R/fr,R/de,R/it,R/es,R/br}%
-\def\pgfPT at acr@Rcov{Rc/pt,Rc/en,Rc/fr,Rc/de,Rc/it,Rc/es,Rc/br}%
-\def\pgfPT at acr@Rion{Ri/pt,Ri/en,Ri/fr,Ri/de,Ri/it,Ri/es,Ri/br}%
-\def\pgfPT at acr@Ei{Ei/pt,Ei/en,Ei/fr,Ei/de,Ei/it,Ei/es,Ei/br}%
-\def\pgfPT at acr@eneg{en/pt,en/en,en/fr,en/de,en/it,en/es,en/br}%
-\def\pgfPT at acr@eaff{Eea/pt,Eea/en,Eea/fr,Eea/de,Eea/it,Eea/es,Eea/br}%
-\def\pgfPT at acr@O{O/pt,O/en,O/fr,O/de,O/it,O/es,O/br}%
-\def\pgfPT at acr@Tmelt{Pf/pt,MP/en,Pf/fr,smp/de,Pf/it,Pf/es,Pf/br}%
-\def\pgfPT at acr@TmeltC{Pf/pt,MP/en,Pf/fr,smp/de,Pf/it,Pf/es,Pf/br}%
-\def\pgfPT at acr@Tboil{Pe/pt,BP/en,Pe/fr,sdp/de,Pe/it,Pe/es,Pe/br}%
-\def\pgfPT at acr@TboilC{Pe/pt,BP/en,Pe/fr,sdp/de,Pe/it,Pe/es,Pe/br}%
-\def\pgfPT at acr@eDist{de/pt,ed/en,de/fr,ev/de,de/it,de/es,de/br}%
-\def\pgfPT at acr@eConfign{ce/pt,ec/en,ce/fr,ek/de,ce/it,ce/es,ce/br}%
-\def\pgfPT at acr@eConfignl{ce/pt,ec/en,ce/fr,ek/de,ce/it,ce/es,ce/br}%
-\def\pgfPT at acr@d{d/pt,d/en,d/fr,d/de,d/it,d/es,d/br}%
-\def\pgfPT at acr@Cp{Cp/pt,Cp/en,Cp/fr,Cp/de,Cp/it,Cp/es,Cp/br}%
-\def\pgfPT at acr@kT{kT/pt,kT/en,kT/fr,kT/de,kT/it,kT/es,kT/br}%
-\def\pgfPT at acr@ls{er/pt,ls/en,sr/fr,gs/de,sr/it,er/es,er/br}%
-\def\pgfPT at acr@lsa{er a/pt,ls a/en,sr a/fr,gs a/de,sr a/it,er a/es,er a/br}%
-\def\pgfPT at acr@lsb{er b/pt,ls b/en,sr b/fr,gs b/de,sr b/it,er b/es,er b/br}%
-\def\pgfPT at acr@lsc{er c/pt,ls c/en,sr c/fr,gs c/de,sr c/it,er c/es,er c/br}%
-\def\pgfPT at acr@lsca{er ca/pt,ls ca/en,sr ca/fr,gs ca/de,sr ca/it,er ca/es,er ca/br}%
-\def\pgfPT at acr@DiscY{ad/pt,yd/en,ad/fr,je/de,as/it,ad/es,ad/br}%
-\def\pgfPT at acr@DiscC{pd/pt,cd/en,pa/fr,le/de,ps/it,pd/es,pd/br}%
-\def\pgfPT at acr@spectra{ee/pt,es/en,se/fr,es/de,se/it,ee/es,ee/br}%
+\def\pgfPT at acr@Z{Z/pt,Z/en,Z/fr,Z/de,Z/it,Z/es,Z/br,Z/user}%
+\def\pgfPT at acr@name{N/pt,N/en,N/fr,N/de,N/it,N/es,N/br,\pgfPT at user@acr at name/user}%
+\def\pgfPT at acr@CS{SQ/pt,CS/en,SC/fr,CS/de,SC/it,SQ/es,SQ/br,\pgfPT at user@acr at CS/user}%
+\def\pgfPT at acr@Ar{Ar/pt,Ar/en,Ar/fr,Ar/de,Ar/it,Ar/es,Ar/br,Ar/user}%
+\def\pgfPT at acr@Arstar{Ar/pt,Ar/en,Ar/fr,Ar/de,Ar/it,Ar/es,Ar/br,Ar/user}%
+\def\pgfPT at acr@radio{Ra/pt,Ra/en,Ra/fr,Ra/de,Ra/it,Ra/es,Ra/br,\pgfPT at user@acr at radio/user}%
+\def\pgfPT at acr@R{R/pt,R/en,R/fr,R/de,R/it,R/es,R/br,R/user}%
+\def\pgfPT at acr@Rcov{Rc/pt,Rc/en,Rc/fr,Rc/de,Rc/it,Rc/es,Rc/br,Rc/user}%
+\def\pgfPT at acr@Rion{Ri/pt,Ri/en,Ri/fr,Ri/de,Ri/it,Ri/es,Ri/br,Ri/user}%
+\def\pgfPT at acr@Ei{Ei/pt,Ei/en,Ei/fr,Ei/de,Ei/it,Ei/es,Ei/br,Ei/user}%
+\def\pgfPT at acr@eneg{en/pt,en/en,en/fr,en/de,en/it,en/es,en/br,en/user}%
+\def\pgfPT at acr@eaff{Eea/pt,Eea/en,Eea/fr,Eea/de,Eea/it,Eea/es,Eea/br,Eaa/user}%
+\def\pgfPT at acr@O{O/pt,O/en,O/fr,O/de,O/it,O/es,O/br,O/user}%
+\def\pgfPT at acr@Tmelt{Pf/pt,MP/en,Pf/fr,smp/de,Pf/it,Pf/es,Pf/br,\pgfPT at user@acr at Tmelt/user}%
+\def\pgfPT at acr@TmeltC{Pf/pt,MP/en,Pf/fr,smp/de,Pf/it,Pf/es,Pf/br,\pgfPT at user@acr at Tmelt/user}%
+\def\pgfPT at acr@Tboil{Pe/pt,BP/en,Pe/fr,sdp/de,Pe/it,Pe/es,Pe/br,\pgfPT at user@acr at Tboil/user}%
+\def\pgfPT at acr@TboilC{Pe/pt,BP/en,Pe/fr,sdp/de,Pe/it,Pe/es,Pe/br,\pgfPT at user@acr at Tboil/user}%
+\def\pgfPT at acr@eDist{de/pt,ed/en,de/fr,ev/de,de/it,de/es,de/br,\pgfPT at user@acr at eDist/user}%
+\def\pgfPT at acr@eConfign{ce/pt,ec/en,ce/fr,ek/de,ce/it,ce/es,ce/br,\pgfPT at user@acr at eConfign/user}%
+\def\pgfPT at acr@eConfignl{ce/pt,ec/en,ce/fr,ek/de,ce/it,ce/es,ce/br,\pgfPT at user@acr at eConfign/user}%
+\def\pgfPT at acr@d{d/pt,d/en,d/fr,d/de,d/it,d/es,d/br,d/user}%
+\def\pgfPT at acr@Cp{Cp/pt,Cp/en,Cp/fr,Cp/de,Cp/it,Cp/es,Cp/br,Cp/user}%
+\def\pgfPT at acr@kT{kT/pt,kT/en,kT/fr,kT/de,kT/it,kT/es,kT/br,kT/user}%
+\def\pgfPT at acr@ls{er/pt,ls/en,sr/fr,gs/de,sr/it,er/es,er/br,\pgfPT at user@acr at ls/user}%
+\def\pgfPT at acr@lsa{er a/pt,ls a/en,sr a/fr,gs a/de,sr a/it,er a/es,er a/br,\pgfPT at user@acr at lsa/user}%
+\def\pgfPT at acr@lsb{er b/pt,ls b/en,sr b/fr,gs b/de,sr b/it,er b/es,er b/br,\pgfPT at user@acr at lsb/user}%
+\def\pgfPT at acr@lsc{er c/pt,ls c/en,sr c/fr,gs c/de,sr c/it,er c/es,er c/br,\pgfPT at user@acr at lsc/user}%
+\def\pgfPT at acr@lsca{er ca/pt,ls ca/en,sr ca/fr,gs ca/de,sr ca/it,er ca/es,er ca/br,\pgfPT at user@acr at lsca/user}%
+\def\pgfPT at acr@DiscY{ad/pt,yd/en,ad/fr,je/de,as/it,ad/es,ad/br,\pgfPT at user@acr at DiscY/user}%
+\def\pgfPT at acr@DiscC{pd/pt,cd/en,pa/fr,le/de,ps/it,pd/es,pd/br,\pgfPT at user@acr at DiscC/user}%
+\def\pgfPT at acr@spectra{ee/pt,es/en,se/fr,es/de,se/it,ee/es,ee/br,\pgfPT at user@acr at spectra/user}%
 % BLOCOS
-\def\pgfPT at labels@blocos{Bloco s/pt,s-block/en,Bloc s/fr,s-Block/de,Blocco s/it,Bloque s/es,Bloco s/br}%
-\def\pgfPT at labels@blocop{Bloco p/pt,p-block/en,Bloc p/fr,p-Block/de,Blocco p/it,Bloque p/es,Bloco p/br}%
-\def\pgfPT at labels@blocod{Bloco d/pt,d-block/en,Bloc d/fr,d-Block/de,Blocco d/it,Bloque d/es,Bloco d/br}%
-\def\pgfPT at labels@blocof{Bloco f/pt,f-block/en,Bloc f/fr,f-Block/de,Blocco f/it,Bloque f/es,Bloco f/br}%
+\def\pgfPT at labels@blocos{Bloco s/pt,s-block/en,Bloc s/fr,s-Block/de,Blocco s/it,Bloque s/es,Bloco s/br,\pgfPT at user@labels at blocos/user}%
+\def\pgfPT at labels@blocop{Bloco p/pt,p-block/en,Bloc p/fr,p-Block/de,Blocco p/it,Bloque p/es,Bloco p/br,\pgfPT at user@labels at blocop/user}%
+\def\pgfPT at labels@blocod{Bloco d/pt,d-block/en,Bloc d/fr,d-Block/de,Blocco d/it,Bloque d/es,Bloco d/br,\pgfPT at user@labels at blocod/user}%
+\def\pgfPT at labels@blocof{Bloco f/pt,f-block/en,Bloc f/fr,f-Block/de,Blocco f/it,Bloque f/es,Bloco f/br,\pgfPT at user@labels at blocof/user}%
 % FAMILIAS
-\def\pgfPT at labels@blocor{ELEMENTOS REPRESENTATIVOS/pt,REPRESENTATIVE ELEMENTS/en,\'{E}L\'{E}MENTS DU GROUPE PRINCIPAL/fr,HAUPTGRUPPENELEMENTE/de,ELEMENTI RAPPRESENTATIVI/it,ELEMENTOS REPRESENTATIVOS/es,ELEMENTOS REPRESENTATIVOS/br}%
-\def\pgfPT at labels@blocot{METAIS DE TRANSI\c{C}\~{A}O/pt,TRANSITION METALS/en,M\'{E}TAUX DE TRANSITION/fr,\"{U}BERGANGSMETALLE/de,METALLI DI TRANSIZIONE/it,METALES DE TRANSICI\'{O}N/es,METAIS DE TRANSI\c{C}\~{A}O/br}%
-\def\pgfPT at labels@blocoi{METAIS DE TRANSI\c{C}\~{A}O INTERNOS/pt,INTERNAL TRANSITION METALS/en,M\'{E}TAUX DE TRANSITION INTERNES/fr,INTERNE \"{U}BERGANGSMETALLE/de,METALLI DI TRANSIZIONE INTERNI/it,METALES DE TRANSICI\'{O}N INTERNOS/es,METAIS DE TRANSI\c{C}\~{A}O INTERNOS/br}%
+\def\pgfPT at labels@blocor{ELEMENTOS REPRESENTATIVOS/pt,REPRESENTATIVE ELEMENTS/en,\'{E}L\'{E}MENTS DU GROUPE PRINCIPAL/fr,HAUPTGRUPPENELEMENTE/de,ELEMENTI RAPPRESENTATIVI/it,ELEMENTOS REPRESENTATIVOS/es,ELEMENTOS REPRESENTATIVOS/br,\pgfPT at user@labels at blocor/user}%
+\def\pgfPT at labels@blocot{METAIS DE TRANSI\c{C}\~{A}O/pt,TRANSITION METALS/en,M\'{E}TAUX DE TRANSITION/fr,\"{U}BERGANGSMETALLE/de,METALLI DI TRANSIZIONE/it,METALES DE TRANSICI\'{O}N/es,METAIS DE TRANSI\c{C}\~{A}O/br,\pgfPT at user@labels at blocot/user}%
+\def\pgfPT at labels@blocoi{METAIS DE TRANSI\c{C}\~{A}O INTERNOS/pt,INTERNAL TRANSITION METALS/en,M\'{E}TAUX DE TRANSITION INTERNES/fr,INTERNE \"{U}BERGANGSMETALLE/de,METALLI DI TRANSIZIONE INTERNI/it,METALES DE TRANSICI\'{O}N INTERNOS/es,METAIS DE TRANSI\c{C}\~{A}O INTERNOS/br,\pgfPT at user@labels at blocoi/user}%
 % VARIACOES
-\def\pgfPT at labels@Raum{O raio at\'{o}mico aumenta ao longo do grupo/pt,The atomic radius increases along the group/en,Le rayon atomique augmente le long du groupe/fr,Der Atomradius nimmt entlang der Gruppe zu/de,Il raggio atomico aumenta lungo il gruppo/it,El radio at\'{o}mico aumenta a lo largo del grupo/es,O raio at\^{o}mico aumenta ao longo do grupo/br}%
-\def\pgfPT at labels@Rdim{O raio at\'{o}mico diminui ao longo do per\'{i}odo/pt,The atomic radius decreases over the period/en,Le rayon atomique diminue au cours de la p\'{e}riode/fr,Der Atomradius nimmt mit der Periode ab/de,Il raggio atomico diminuisce nel periodo/it,El radio at\'{o}mico disminuye a lo largo del per\'{i}odo/es,O raio at\^{o}mico diminui ao longo do per\'{i}odo/br}%
-\def\pgfPT at labels@Eiaum{A energia de ioniza\c{c}\~{a}o aumenta ao longo do per\'{i}odo/pt,The ionization energy increases over the period/en,L'\'{e}nergie d'ionisation augmente au cours de la p\'{e}riode/fr,Die Ionisationsenergie nimmt mit der Periode zu/de,L'energia di ionizzazione aumenta nel periodo/it,La energ\'{i}a de ionizaci\'{o}n aumenta a lo largo del per\'{i}odo/es,A energia de ioniza\c{c}\~{a}o aumenta ao longo do per\'{i}odo/br}%
-\def\pgfPT at labels@Eidim{A energia de ioniza\c{c}\~{a}o diminui ao longo do grupo/pt,The ionization energy decreases along the group/en,L'\'{e}nergie d'ionisation diminue le long du groupe/fr,Die Ionisationsenergie nimmt entlang der Gruppe ab/de,L'energia di ionizzazione diminuisce lungo il gruppo/it,La energ\'{i}a de ionizaci\'{o}n disminuye a lo largo del grupo/es,A energia de ioniza\c{c}\~{a}o diminui ao longo do grupo/br}%
-\def\pgfPT at labels@eaffaum{A eletroafinidade aumenta ao longo do per\'{i}odo/pt,The electron affinity increases over the period/en,L'\'{e}lectroaffinit\'{e} augmente au cours de la p\'{e}riode/fr,Die Elektroaffinit\"{a}t nimmt mit der Periode zu/de,L'elettroaffinit\`{a} di ionizzazione aumenta nel periodo/it,La electroafinidad aumenta a lo largo del per\'{i}odo/es,A eletroafinidade aumenta ao longo do per\'{i}odo/br}%
-\def\pgfPT at labels@eaffdim{A eletroafinidade diminui ao longo do grupo/pt,The electron affinity decreases along the group/en,L'\'{e}lectroaffinit\'{e} diminue le long du groupe/fr,Die Elektroaffinit\"{a}t nimmt entlang der Gruppe ab/de,L'elettroaffinit\`{a} diminuisce lungo il gruppo/it,La electroafinidad disminuye a lo largo del grupo/es,A eletroafinidade diminui ao longo do grupo/br}%
+\def\pgfPT at labels@Raum{O raio at\'{o}mico aumenta ao longo do grupo/pt,The atomic radius increases along the group/en,Le rayon atomique augmente le long du groupe/fr,Der Atomradius nimmt entlang der Gruppe zu/de,Il raggio atomico aumenta lungo il gruppo/it,El radio at\'{o}mico aumenta a lo largo del grupo/es,O raio at\^{o}mico aumenta ao longo do grupo/br,\pgfPT at user@labels at Raum/user}%
+\def\pgfPT at labels@Rdim{O raio at\'{o}mico diminui ao longo do per\'{i}odo/pt,The atomic radius decreases over the period/en,Le rayon atomique diminue au cours de la p\'{e}riode/fr,Der Atomradius nimmt mit der Periode ab/de,Il raggio atomico diminuisce nel periodo/it,El radio at\'{o}mico disminuye a lo largo del per\'{i}odo/es,O raio at\^{o}mico diminui ao longo do per\'{i}odo/br,\pgfPT at user@labels at Rdim/user}%
+\def\pgfPT at labels@Eiaum{A energia de ioniza\c{c}\~{a}o aumenta ao longo do per\'{i}odo/pt,The ionization energy increases over the period/en,L'\'{e}nergie d'ionisation augmente au cours de la p\'{e}riode/fr,Die Ionisationsenergie nimmt mit der Periode zu/de,L'energia di ionizzazione aumenta nel periodo/it,La energ\'{i}a de ionizaci\'{o}n aumenta a lo largo del per\'{i}odo/es,A energia de ioniza\c{c}\~{a}o aumenta ao longo do per\'{i}odo/br,\pgfPT at user@labels at Eiaum/user}%
+\def\pgfPT at labels@Eidim{A energia de ioniza\c{c}\~{a}o diminui ao longo do grupo/pt,The ionization energy decreases along the group/en,L'\'{e}nergie d'ionisation diminue le long du groupe/fr,Die Ionisationsenergie nimmt entlang der Gruppe ab/de,L'energia di ionizzazione diminuisce lungo il gruppo/it,La energ\'{i}a de ionizaci\'{o}n disminuye a lo largo del grupo/es,A energia de ioniza\c{c}\~{a}o diminui ao longo do grupo/br,\pgfPT at user@labels at Eidim/user}%
+\def\pgfPT at labels@eaffaum{A eletroafinidade aumenta ao longo do per\'{i}odo/pt,The electron affinity increases over the period/en,L'\'{e}lectroaffinit\'{e} augmente au cours de la p\'{e}riode/fr,Die Elektroaffinit\"{a}t nimmt mit der Periode zu/de,L'elettroaffinit\`{a} di ionizzazione aumenta nel periodo/it,La electroafinidad aumenta a lo largo del per\'{i}odo/es,A eletroafinidade aumenta ao longo do per\'{i}odo/br,\pgfPT at user@labels at eaffaum/user}%
+\def\pgfPT at labels@eaffdim{A eletroafinidade diminui ao longo do grupo/pt,The electron affinity decreases along the group/en,L'\'{e}lectroaffinit\'{e} diminue le long du groupe/fr,Die Elektroaffinit\"{a}t nimmt entlang der Gruppe ab/de,L'elettroaffinit\`{a} diminuisce lungo il gruppo/it,La electroafinidad disminuye a lo largo del grupo/es,A eletroafinidade diminui ao longo do grupo/br,\pgfPT at user@labels at eaffdim/user}%
 %
 %%%%%%%%%%%%%%% Lattice Names %%%%%%%%%%%%%%%%%%%%%%%
-\def\pgfPT at labels@ls at bcc{c\'{u}bica de corpo centrado/pt,body centered cubic/en,cubique centr\'{e}e/fr,kubisch raumzentriert/de,cubico a corpo centrato/it,c\'{u}bica centrado/es,c\'{u}bica de corpo centrado/br}%
-\def\pgfPT at labels@ls at bcort{ortorr\^{o}mbica de bases centradas/pt,base centered orthorhombic/en,orthorhombique \`{a} base centr\'{e}e/fr,orthorhombisch basiszentriert/de,ortorombico a base centrata/it,ortorr\'{o}mbico con bases centradas/es,ortorr\^{o}mbica de bases centradas/br}%
-\def\pgfPT at labels@ls at ctetr{tetragonal de corpo centrado/pt,body centered tetragonal/en,quadratique centr\'{e}e/fr,tetragonal innenzentriert/de,tetragonale a corpo centrato/it,tetragonal centrado/es,tetragonal de corpo centrado/br}%
-\def\pgfPT at labels@ls at dia{diamante/pt,diamond/en,diamant/fr,diamant/de,diamante/it,diamante/es,diamante/br}%
-\def\pgfPT at labels@ls at fcc{c\'{u}bica de faces centradas/pt,face centered cubic/en,cubique \`{a} faces centr\'{e}es/fr,kubisch fl\"{a}chenzentriert/de,cubico a facce centrate/it,c\'{u}bica centrada en las caras/es,c\'{u}bica de faces centradas/br}%
-\def\pgfPT at labels@ls at fcort{ortorr\^{o}mbica de faces centradas/pt,face centered orthorhombic/en,orthorhombique \`{a} faces centr\'{e}es/fr,orthorhombisch fl\"{a}chenzentriert/de,ortorombico a facce centrate/it,ortorr\'{o}mbica centrada en la cara/es,ortorr\^{o}mbica de faces centradas/br}%
-\def\pgfPT at labels@ls at hcp{hexagonal compacta/pt,hexagonal close packed/en,hexagonal compact/fr,hexagonal-dichteste Packung/de,esagonale compatto/it,empaquetado hexagonal cerrado/es,hexagonal compacta/br}%
-\def\pgfPT at labels@ls at hex{hexagonal /pt,hexagonal/en,hexagonal/fr,hexagonal/de,esagonale/it,hexagonal/es,hexagonal /br}%
-\def\pgfPT at labels@ls at mono{monocl\'{i}nica/pt,monoclinic/en,monoclinique/fr,monoklin/de,monoclino/it,monocl\'{i}nico/es,monocl\'{i}nica/br}%
-\def\pgfPT at labels@ls at rho{rombo\'{e}drica/pt,rhombohedral/en,rhombo\'{e}drique/fr,rhomboedrisch/de,romboedrico/it,rombo\'{e}drico/es,rombo\'{e}drica/br}%
-\def\pgfPT at labels@ls at sc{c\'{u}bica simples/pt,simple cubic/en,cubique simple/fr,kubisch primitiv/de,cubico semplice/it,c\'{u}bica simple/es,c\'{u}bica simples/br}%
-\def\pgfPT at labels@ls at tric{tricl\'{i}nica simples/pt,simple triclinic/en,triclinique simple/fr,triklin/de,triclino/it,tricl\'{i}nica simple/es,tricl\'{i}nica simples/br}%
-\def\pgfPT at labels@ls at tetr{tetragonal/pt,tetragonal/en,quadratique/fr,tetragonal/de,tetragonale/it,tetragonal/es,tetragonal/br}%
+\def\pgfPT at labels@ls at bcc{c\'{u}bica de corpo centrado/pt,body centered cubic/en,cubique centr\'{e}e/fr,kubisch raumzentriert/de,cubico a corpo centrato/it,c\'{u}bica centrado/es,c\'{u}bica de corpo centrado/br,\pgfPT at user@labels at ls@bcc/user}%
+\def\pgfPT at labels@ls at bcort{ortorr\^{o}mbica de bases centradas/pt,base centered orthorhombic/en,orthorhombique \`{a} base centr\'{e}e/fr,orthorhombisch basiszentriert/de,ortorombico a base centrata/it,ortorr\'{o}mbico con bases centradas/es,ortorr\^{o}mbica de bases centradas/br,\pgfPT at user@labels at ls@bcort/user}%
+\def\pgfPT at labels@ls at ctetr{tetragonal de corpo centrado/pt,body centered tetragonal/en,quadratique centr\'{e}e/fr,tetragonal innenzentriert/de,tetragonale a corpo centrato/it,tetragonal centrado/es,tetragonal de corpo centrado/br,\pgfPT at user@labels at ls@ctetr/user}%
+\def\pgfPT at labels@ls at dia{diamante/pt,diamond/en,diamant/fr,diamant/de,diamante/it,diamante/es,diamante/br,\pgfPT at user@labels at ls@dia/user}%
+\def\pgfPT at labels@ls at fcc{c\'{u}bica de faces centradas/pt,face centered cubic/en,cubique \`{a} faces centr\'{e}es/fr,kubisch fl\"{a}chenzentriert/de,cubico a facce centrate/it,c\'{u}bica centrada en las caras/es,c\'{u}bica de faces centradas/br,\pgfPT at user@labels at ls@fcc/user}%
+\def\pgfPT at labels@ls at fcort{ortorr\^{o}mbica de faces centradas/pt,face centered orthorhombic/en,orthorhombique \`{a} faces centr\'{e}es/fr,orthorhombisch fl\"{a}chenzentriert/de,ortorombico a facce centrate/it,ortorr\'{o}mbica centrada en la cara/es,ortorr\^{o}mbica de faces centradas/br,\pgfPT at user@labels at ls@fcort/user}%
+\def\pgfPT at labels@ls at hcp{hexagonal compacta/pt,hexagonal close packed/en,hexagonal compact/fr,hexagonal-dichteste Packung/de,esagonale compatto/it,empaquetado hexagonal cerrado/es,hexagonal compacta/br,\pgfPT at user@labels at ls@hcp/user}%
+\def\pgfPT at labels@ls at hex{hexagonal /pt,hexagonal/en,hexagonal/fr,hexagonal/de,esagonale/it,hexagonal/es,hexagonal /br,\pgfPT at user@labels at ls@hex/user}%
+\def\pgfPT at labels@ls at mono{monocl\'{i}nica/pt,monoclinic/en,monoclinique/fr,monoklin/de,monoclino/it,monocl\'{i}nico/es,monocl\'{i}nica/br,\pgfPT at user@labels at ls@mono/user}%
+\def\pgfPT at labels@ls at rho{rombo\'{e}drica/pt,rhombohedral/en,rhombo\'{e}drique/fr,rhomboedrisch/de,romboedrico/it,rombo\'{e}drico/es,rombo\'{e}drica/br,\pgfPT at user@labels at ls@rho/user}%
+\def\pgfPT at labels@ls at sc{c\'{u}bica simples/pt,simple cubic/en,cubique simple/fr,kubisch primitiv/de,cubico semplice/it,c\'{u}bica simple/es,c\'{u}bica simples/br,\pgfPT at user@labels at ls@sc/user}%
+\def\pgfPT at labels@ls at tric{tricl\'{i}nica simples/pt,simple triclinic/en,triclinique simple/fr,triklin/de,triclino/it,tricl\'{i}nica simple/es,tricl\'{i}nica simples/br,\pgfPT at user@labels at ls@tric/user}%
+\def\pgfPT at labels@ls at tetr{tetragonal/pt,tetragonal/en,quadratique/fr,tetragonal/de,tetragonale/it,tetragonal/es,tetragonal/br,\pgfPT at user@labels at ls@tetr/user}%
 %
 %%%%%%%%%%%%%%% Units %%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newcount\pgfPT at count@note%
@@ -148,7 +150,7 @@
 % gas
 ;\hspace{.2ex}\mbox{\hspace{.1ex}\pgfPT at box@zerodepth{g}\hspace{.1ex}/dm%
 \pgfmathsetlength{\pgfPT at dimc}{.666*\pgfPT at dima}\raisebox{.555ex}{\fontsize{\pgfPT at dimc}{\pgfPT at dimc}\selectfont3}\hspace{.6ex}}%
-\edef\pgfPT at lang@pt{pt}\edef\pgfPT at lang@en{en}\edef\pgfPT at lang@fr{fr}\edef\pgfPT at lang@de{de}\edef\pgfPT at lang@it{it}\edef\pgfPT at lang@es{es}\edef\pgfPT at lang@br{br}%
+\edef\pgfPT at lang@pt{pt}\edef\pgfPT at lang@en{en}\edef\pgfPT at lang@fr{fr}\edef\pgfPT at lang@de{de}\edef\pgfPT at lang@it{it}\edef\pgfPT at lang@es{es}\edef\pgfPT at lang@br{br}\edef\pgfPT at lang@user{user}%
 \expandafter\pgfPT at getFirstLanguage\pgfPTlanguages, \relax%
 \ifx\pgfPT at FirstLanguage\pgfPT at lang@pt\relax%
 para os \textcolor{gasoso}{gases}%pt
@@ -164,9 +166,11 @@
 para los \textcolor{gasoso}{gases}%es
 \else\ifx\pgfPT at FirstLanguage\pgfPT at lang@br\relax%
 para os \textcolor{gasoso}{gases}%br
+\else\ifx\pgfPT at FirstLanguage\pgfPT at lang@user\relax%
+-- \textcolor{gasoso}{\pgfPT at user@labels at gasoso}%user
 \else% use en
 for the \textcolor{gasoso}{gases}%en
-\fi\fi\fi\fi\fi\fi\fi%
+\fi\fi\fi\fi\fi\fi\fi\fi%
 )\fi\fi%
 }%
 \def\pgfPT at labels@unit at Cp{\ignorespaces\pgfmathsetlength{\pgfPT at dimc}{.666*\pgfPT at dima}%

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -9,6 +9,7 @@
 % - it -> Italian
 % - es -> Spanish
 % - br -> Portuguese (Brazil)
+% - user -> user language (v2.1.0)
 % --------------------------------------------------------------------------------------------------
 % Turn the 'name' in 'Name'
 % USE -> \expandafter\pgfPT at namec@p#1#2\pgfPT at nomes@xx\relax
@@ -21,122 +22,122 @@
 % --------------------------------------------------------------------------------------------------
 % The names list from Z=1 to 118 ---------------------------------------------------------------
 % --------------------------------------------------------------------------------------------------
-\def\pgfPT at nomes@i{hidrog\'{e}nio/pt,hydrogen/en,hydrog\`{e}ne/fr,Wasserstoff/de,idrogeno/it,hidr\'{o}geno/es,hidrog\^{e}nio/br}%
-\def\pgfPT at nomes@ii{h\'{e}lio/pt,helium/en,h\'{e}lium/fr,Helium/de,elio/it,helio/es,h\'{e}lio/br}%
-\def\pgfPT at nomes@iii{l\'{i}tio/pt,lithium/en,lithium/fr,Lithium/de,litio/it,litio/es,l\'{i}tio/br}%
-\def\pgfPT at nomes@iv{ber\'{i}lio/pt,beryllium/en,b\'{e}ryllium/fr,Beryllium/de,berillio/it,berilio/es,ber\'{i}lio/br}%
-\def\pgfPT at nomes@v{boro/pt,boron/en,bore/fr,Bor/de,boro/it,boro/es,boro/br}%
-\def\pgfPT at nomes@vi{carbono/pt,carbon/en,carbone/fr,Kohlenstoff/de,carbonio/it,carb\'{o}n/es,carbono/br}%
-\def\pgfPT at nomes@vii{azoto/pt,nitrogen/en,azote/fr,Stickstoff/de,azoto/it,nitr\'{o}geno/es,nitrog\^{e}nio/br}%
-\def\pgfPT at nomes@viii{oxig\'{e}nio/pt,oxygen/en,oxyg\`{e}ne/fr,Sauerstoff/de,ossigeno/it,ox\'{i}geno/es,oxig\^{e}nio/br}%
-\def\pgfPT at nomes@ix{fl\'{u}or/pt,fluorine/en,fluor/fr,Fluor/de,fluoro/it,fl\'{u}or/es,fl\'{u}or/br}%
-\def\pgfPT at nomes@x{n\'{e}on/pt,neon/en,n\'{e}on/fr,Neon/de,neon/it,ne\'{o}n/es,ne\^{o}nio/br}%
-\def\pgfPT at nomes@xi{s\'{o}dio/pt,sodium/en,sodium/fr,Natrium/de,sodio/it,sodio/es,s\'{o}dio/br}%
-\def\pgfPT at nomes@xii{magn\'{e}sio/pt,magnesium/en,magn\'{e}sium/fr,Magnesium/de,magnesio/it,magnesio/es,magn\'{e}sio/br}%
-\def\pgfPT at nomes@xiii{alum\'{i}nio/pt,aluminium/en,aluminium/fr,Aluminium/de,alluminio/it,aluminio/es,alum\'{i}nio/br}%
-\def\pgfPT at nomes@xiv{sil\'{i}cio/pt,silicon/en,silicium/fr,Silizium/de,silicio/it,silicio/es,sil\'{i}cio/br}%
-\def\pgfPT at nomes@xv{f\'{o}sforo/pt,phosphorus/en,phosphore/fr,Phosphor/de,fosforo/it,f\'{o}sforo/es,f\'{o}sforo/br}%
-\def\pgfPT at nomes@xvi{enxofre/pt,sulfur/en,soufre/fr,Schwefel/de,zolfo/it,azufre/es,enxofre/br}%
-\def\pgfPT at nomes@xvii{cloro/pt,chlorine/en,chlore/fr,Chlor/de,cloro/it,cloro/es,cloro/br}%
-\def\pgfPT at nomes@xviii{\'{a}rgon/pt,argon/en,argon/fr,Argon/de,argo/it,arg\'{o}n/es,arg\^{o}nio/br}%
-\def\pgfPT at nomes@xix{pot\'{a}ssio/pt,potassium/en,potassium/fr,Kalium/de,potassio/it,potasio/es,pot\'{a}ssio/br}%
-\def\pgfPT at nomes@xx{c\'{a}lcio/pt,calcium/en,calcium/fr,Kalzium/de,calcio/it,calcio/es,c\'{a}lcio/br}%
-\def\pgfPT at nomes@xxi{esc\^{a}ndio/pt,scandium/en,scandium/fr,Scandium/de,scandio/it,escandio/es,esc\^{a}ndio/br}%
-\def\pgfPT at nomes@xxii{tit\^{a}nio/pt,titanium/en,titane/fr,Titan/de,titanio/it,titanio/es,tit\^{a}nio/br}%
-\def\pgfPT at nomes@xxiii{van\'{a}dio/pt,vanadium/en,vanadium/fr,Vanadium/de,vanadio/it,vanadio/es,van\'{a}dio/br}%
-\def\pgfPT at nomes@xxiv{cr\'{o}mio/pt,chromium/en,chrome/fr,Chrom/de,cromo/it,cromo/es,cr\^{o}mio/br}%
-\def\pgfPT at nomes@xxv{mangan\'{e}sio/pt,manganese/en,mangan\`{e}se/fr,Mangan/de,manganese/it,manganeso/es,mangan\^{e}s/br}%
-\def\pgfPT at nomes@xxvi{ferro/pt,iron/en,fer/fr,Eisen/de,ferro/it,planchar/es,ferro/br}%
-\def\pgfPT at nomes@xxvii{cobalto/pt,cobalt/en,cobalt/fr,Kobalt/de,cobalto/it,cobalto/es,cobalto/br}%
-\def\pgfPT at nomes@xxviii{n\'{i}quel/pt,nickel/en,nickel/fr,Nickel/de,nichel/it,n\'{i}quel/es,n\'{i}quel/br}%
-\def\pgfPT at nomes@xxix{cobre/pt,copper/en,cuivre/fr,Kupfer/de,rame/it,cobre/es,cobre/br}%
-\def\pgfPT at nomes@xxx{zinco/pt,zinc/en,zinc/fr,Zink/de,zinco/it,zinc/es,zinco/br}%
-\def\pgfPT at nomes@xxxi{g\'{a}lio/pt,gallium/en,gallium/fr,Gallium/de,gallio/it,galio/es,g\'{a}lio/br}%
-\def\pgfPT at nomes@xxxii{germ\^{a}nio/pt,germanium/en,germanium/fr,Germanium/de,germanio/it,germanio/es,germ\^{a}nio/br}%
-\def\pgfPT at nomes@xxxiii{ars\'{e}nio/pt,arsenic/en,arsenic/fr,Arsen/de,arsenico/it,ars\'{e}nico/es,ars\^{e}nio/br}%
-\def\pgfPT at nomes@xxxiv{sel\'{e}nio/pt,selenium/en,s\'{e}l\'{e}nium/fr,Selen/de,selenio/it,selenio/es,sel\^{e}nio/br}%
-\def\pgfPT at nomes@xxxv{bromo/pt,bromine/en,brome/fr,Brom/de,bromo/it,bromo/es,bromo/br}%
-\def\pgfPT at nomes@xxxvi{cr\'{i}pton/pt,krypton/en,krypton/fr,Krypton/de,krypton/it,cript\'{o}n/es,cript\^{o}nio/br}%
-\def\pgfPT at nomes@xxxvii{rub\'{i}dio/pt,rubidium/en,rubidium/fr,Rubidium/de,rubidio/it,rubidio/es,rub\'{i}dio/br}%
-\def\pgfPT at nomes@xxxviii{estr\^{o}ncio/pt,strontium/en,strontium/fr,Strontium/de,stronzio/it,estroncio/es,estr\^{o}ncio/br}%
-\def\pgfPT at nomes@xxxix{\'{i}trio/pt,yttrium/en,yttrium/fr,Yttrium/de,ittrio/it,itrio/es,\'{i}trio/br}%
-\def\pgfPT at nomes@xl{zirc\'{o}nio/pt,zirconium/en,zirconium/fr,Zirkonium/de,zirconio/it,circonio/es,zirc\^{o}nio/br}%
-\def\pgfPT at nomes@xli{ni\'{o}bio/pt,niobium/en,niobium/fr,Niob/de,niobio/it,niobio/es,ni\'{o}bio/br}%
-\def\pgfPT at nomes@xlii{molibd\'{e}nio/pt,molybdenum/en,molybd\`{e}ne/fr,Molybd\"{a}n/de,molibdeno/it,molibdeno/es,molibd\^{e}nio/br}%
-\def\pgfPT at nomes@xliii{tecn\'{e}cio/pt,technetium/en,techn\'{e}tium/fr,Technetium/de,tecnezio/it,tecnecio/es,tecn\'{e}cio/br}%
-\def\pgfPT at nomes@xliv{rut\'{e}nio/pt,ruthenium/en,ruth\'{e}nium/fr,Ruthenium/de,rutenio/it,rutenio/es,rut\^{e}nio/br}%
-\def\pgfPT at nomes@xlv{r\'{o}dio/pt,rhodium/en,rhodium/fr,Rhodium/de,rodio/it,rodio/es,r\'{o}dio/br}%
-\def\pgfPT at nomes@xlvi{pal\'{a}dio/pt,palladium/en,palladium/fr,Palladium/de,palladio/it,paladio/es,pal\'{a}dio/br}%
-\def\pgfPT at nomes@xlvii{prata/pt,silver/en,argent/fr,Silber/de,argento/it,plata/es,prata/br}%
-\def\pgfPT at nomes@xlviii{c\'{a}dmio/pt,cadmium/en,cadmium/fr,Cadmium/de,cadmio/it,cadmio/es,c\'{a}dmio/br}%
-\def\pgfPT at nomes@xlix{\'{i}ndio/pt,indium/en,indium/fr,Indium/de,indio/it,indio/es,\'{i}ndio/br}%
-\def\pgfPT at nomes@l{estanho/pt,tin/en,\'{e}tain/fr,Zinn/de,lattina/it,esta\~{n}o/es,estanho/br}%
-\def\pgfPT at nomes@li{antim\'{o}nio/pt,antimony/en,antimoine/fr,Antimon/de,antimonio/it,antimonio/es,antim\^{o}nio/br}%
-\def\pgfPT at nomes@lii{tel\'{u}rio/pt,tellurium/en,tellure/fr,Tellur/de,tellurio/it,telurio/es,tel\'{u}rio/br}%
-\def\pgfPT at nomes@liii{iodo/pt,iodine/en,iode/fr,Iod/de,iodio/it,yodo/es,iodo/br}%
-\def\pgfPT at nomes@liv{x\'{e}non/pt,xenon/en,x\'{e}non/fr,Xenon/de,xeno/it,xen\'{o}n/es,xen\^{o}nio/br}%
-\def\pgfPT at nomes@lv{c\'{e}sio/pt,caesium/en,c\'{e}sium/fr,Caesium/de,cesio/it,cesio/es,c\'{e}sio/br}%
-\def\pgfPT at nomes@lvi{b\'{a}rio/pt,barium/en,baryum/fr,Barium/de,bario/it,bario/es,b\'{a}rio/br}%
-\def\pgfPT at nomes@lvii{lant\^{a}nio/pt,lanthanum/en,lanthane/fr,Lanthan/de,lantanio/it,lantano/es,lant\^{a}nio/br}%
-\def\pgfPT at nomes@lviii{c\'{e}rio/pt,cerium/en,c\'{e}rium/fr,Cer/de,cerio/it,cerio/es,c\'{e}rio/br}%
-\def\pgfPT at nomes@lix{praseod\'{i}mio/pt,praseodymium/en,pras\'{e}odyme/fr,Praseodym/de,praseodimio/it,praseodimio/es,praseod\'{i}mio/br}%
-\def\pgfPT at nomes@lx{neod\'{i}mio/pt,neodymium/en,n\'{e}odyme/fr,Neodym/de,neodimio/it,neodimio/es,neod\'{i}mio/br}%
-\def\pgfPT at nomes@lxi{prom\'{e}cio/pt,promethium/en,prom\'{e}thium/fr,Promethium/de,prometeo/it,prometeo/es,prom\'{e}cio/br}%
-\def\pgfPT at nomes@lxii{sam\'{a}rio/pt,samarium/en,samarium/fr,Samarium/de,samario/it,samario/es,sam\'{a}rio/br}%
-\def\pgfPT at nomes@lxiii{eur\'{o}pio/pt,europium/en,europium/fr,Europium/de,europium/it,europio/es,eur\'{o}pio/br}%
-\def\pgfPT at nomes@lxiv{gadol\'{i}nio/pt,gadolinium/en,gadolinium/fr,Gadolinium/de,gadolinio/it,gadolinio/es,gadol\'{i}nio/br}%
-\def\pgfPT at nomes@lxv{t\'{e}rbio/pt,terbium/en,terbium/fr,Terbium/de,terbio/it,terbio/es,t\'{e}rbio/br}%
-\def\pgfPT at nomes@lxvi{dispr\'{o}sio/pt,dysprosium/en,dysprosium/fr,Dysprosium/de,dysprosium/it,disprosio/es,dispr\'{o}sio/br}%
-\def\pgfPT at nomes@lxvii{h\'{o}lmio/pt,holmium/en,holmium/fr,Holmium/de,olmio/it,holmio/es,h\'{o}lmio/br}%
-\def\pgfPT at nomes@lxviii{\'{e}rbio/pt,erbium/en,erbium/fr,Erbium/de,erbio/it,erbio/es,\'{e}rbio/br}%
-\def\pgfPT at nomes@lxix{t\'{u}lio/pt,thulium/en,thulium/fr,Thulium/de,tulio/it,tulio/es,t\'{u}lio/br}%
-\def\pgfPT at nomes@lxx{it\'{e}rbio/pt,ytterbium/en,ytterbium/fr,Ytterbium/de,itterbio/it,iterbio/es,it\'{e}rbio/br}%
-\def\pgfPT at nomes@lxxi{lut\'{e}cio/pt,lutetium/en,lut\'{e}tium/fr,Lutetium/de,lutezio/it,lutecio/es,lut\'{e}cio/br}%
-\def\pgfPT at nomes@lxxii{h\'{a}fnio/pt,hafnium/en,hafnium/fr,Hafnium/de,afnio/it,hafnio/es,h\'{a}fnio/br}%
-\def\pgfPT at nomes@lxxiii{t\^{a}ntalo/pt,tantalum/en,tantale/fr,Tantal/de,tantalio/it,tantalio/es,t\^{a}ntalo/br}%
-\def\pgfPT at nomes@lxxiv{tungst\'{e}nio/pt,tungsten/en,tungst\`{e}ne/fr,Wolfram/de,tungsteno/it,tungsteno/es,tungst\^{e}nio/br}%
-\def\pgfPT at nomes@lxxv{r\'{e}nio/pt,rhenium/en,rh\'{e}nium/fr,Rhenium/de,rhenium/it,renio/es,r\^{e}nio/br}%
-\def\pgfPT at nomes@lxxvi{\'{o}smio/pt,osmium/en,osmium/fr,Osmium/de,osmio/it,osmio/es,\'{o}smio/br}%
-\def\pgfPT at nomes@lxxvii{ir\'{i}dio/pt,iridium/en,iridium/fr,Iridium/de,iridio/it,iridio/es,ir\'{i}dio/br}%
-\def\pgfPT at nomes@lxxviii{platina/pt,platinum/en,platine/fr,Platin/de,platino/it,platino/es,platina/br}%
-\def\pgfPT at nomes@lxxix{ouro/pt,gold/en,or/fr,Gold/de,oro/it,oro/es,ouro/br}%
-\def\pgfPT at nomes@lxxx{merc\'{u}rio/pt,mercury/en,mercure/fr,Quecksilber/de,mercurio/it,mercurio/es,merc\'{u}rio/br}%
-\def\pgfPT at nomes@lxxxi{t\'{a}lio/pt,thallium/en,thallium/fr,Thallium/de,tallio/it,talio/es,t\'{a}lio/br}%
-\def\pgfPT at nomes@lxxxii{chumbo/pt,lead/en,conduire/fr,Blei/de,piombo/it,plomo/es,chumbo/br}%
-\def\pgfPT at nomes@lxxxiii{bismuto/pt,bismuth/en,bismuth/fr,Bismut/de,bismuto/it,bismuto/es,bismuto/br}%
-\def\pgfPT at nomes@lxxxiv{pol\'{o}nio/pt,polonium/en,polonium/fr,Polonium/de,polonio/it,polonio/es,pol\^{o}nio/br}%
-\def\pgfPT at nomes@lxxxv{astato/pt,astatine/en,astatine/fr,Astat/de,astato/it,astato/es,\'{a}stato/br}%
-\def\pgfPT at nomes@lxxxvi{r\'{a}don/pt,radon/en,radon/fr,Radon/de,radon/it,rad\'{o}n/es,rad\^{o}nio/br}%
-\def\pgfPT at nomes@lxxxvii{fr\^{a}ncio/pt,francium/en,francium/fr,Francium/de,francio/it,francio/es,fr\^{a}ncio/br}%
-\def\pgfPT at nomes@lxxxviii{r\'{a}dio/pt,radium/en,radium/fr,Radium/de,radio/it,radio/es,r\'{a}dio/br}%
-\def\pgfPT at nomes@lxxxix{act\'{i}nio/pt,actinium/en,actinium/fr,Actinium/de,attinio/it,actinio/es,act\'{i}nio/br}%
-\def\pgfPT at nomes@xc{t\'{o}rio/pt,thorium/en,thorium/fr,Thorium/de,torio/it,torio/es,t\'{o}rio/br}%
-\def\pgfPT at nomes@xci{protact\'{i}nio/pt,protactinium/en,protactinium/fr,Protactinium/de,protactinio/it,protactinio/es,protact\'{i}nio/br}%
-\def\pgfPT at nomes@xcii{ur\^{a}nio/pt,uranium/en,uranium/fr,Uran/de,uranio/it,uranio/es,ur\^{a}nio/br}%
-\def\pgfPT at nomes@xciii{nept\'{u}nio/pt,neptunium/en,neptunium/fr,Neptunium/de,nettunio/it,neptunio/es,net\'{u}nio/br}%
-\def\pgfPT at nomes@xciv{plut\'{o}nio/pt,plutonium/en,plutonium/fr,Plutonium/de,plutonio/it,plutonio/es,plut\^{o}nio/br}%
-\def\pgfPT at nomes@xcv{amer\'{i}cio/pt,americium/en,am\'{e}ricium/fr,Americium/de,americio/it,americio/es,amer\'{i}cio/br}%
-\def\pgfPT at nomes@xcvi{c\'{u}rio/pt,curium/en,curium/fr,Curium/de,curio/it,curio/es,c\'{u}rio/br}%
-\def\pgfPT at nomes@xcvii{berqu\'{e}lio/pt,berkelium/en,Berkelium/fr,berkelium/de,berkelium/it,berkelio/es,berqu\'{e}lio/br}%
-\def\pgfPT at nomes@xcviii{calif\'{o}rnio/pt,californium/en,Californium/fr,californium/de,californio/it,californio/es,calif\'{o}rnio/br}%
-\def\pgfPT at nomes@xcix{einst\'{e}nio/pt,einsteinium/en,Einsteinium/fr,einsteinium/de,einsteinio/it,einstenio/es,einst\^{e}nio/br}%
-\def\pgfPT at nomes@c{f\'{e}rmio/pt,fermium/en,fermium/fr,Rermium/de,fermium/it,fermio/es,f\'{e}rmio/br}%
-\def\pgfPT at nomes@ci{mendel\'{e}vio/pt,mendelevium/en,mendelevium/fr,Mendelevium/de,mendelevio/it,mendelevio/es,mendel\'{e}vio/br}%
-\def\pgfPT at nomes@cii{nob\'{e}lio/pt,nobelium/en,nobelium/fr,Nobelium/de,nobelium/it,nobelio/es,nob\'{e}lio/br}%
-\def\pgfPT at nomes@ciii{laur\^{e}ncio/pt,lawrencium/en,lawrencium/fr,Lawrencium/de,laurenzio/it,lawrencium/es,laur\^{e}ncio/br}%
-\def\pgfPT at nomes@civ{rutherf\'{o}rdio/pt,rutherfordium/en,rutherfordium/fr,Rutherfordium/de,rutherfordium/it,rutherfordio/es,rutherf\'{o}rdio/br}%
-\def\pgfPT at nomes@cv{d\'{u}bnio/pt,dubnium/en,dubnium/fr,Dubnium/de,dubnio/it,dubnium/es,d\'{u}bnio/br}%
-\def\pgfPT at nomes@cvi{seab\'{o}rgio/pt,seaborgium/en,seaborgium/fr,Seaborgium/de,seaborgio/it,seaborgio/es,seab\'{o}rgio/br}%
-\def\pgfPT at nomes@cvii{b\'{o}rio/pt,bohrium/en,bohrium/fr,Bohrium/de,bohrio/it,bohrium/es,b\'{o}hrio/br}%
-\def\pgfPT at nomes@cviii{h\'{a}ssio/pt,hassium/en,hassium/fr,Hassium/de,hassio/it,hassium/es,h\'{a}ssio/br}%
-\def\pgfPT at nomes@cix{meitn\'{e}rio/pt,meitnerium/en,meitnerium/fr,Meitnerium/de,meitnerio/it,meitnerio/es,meitn\'{e}rio/br}%
-\def\pgfPT at nomes@cx{darmst\'{a}dio/pt,darmstadtium/en,darmstadtium/fr,Darmstadtium/de,darmstadtium/it,darmstadtium/es,darmst\'{a}dtio/br}%
-\def\pgfPT at nomes@cxi{roentg\'{e}nio/pt,roentgenium/en,roentgenium/fr,R\"{o}ntgenium/de,roentgenio/it,roentgenio/es,roentg\^{e}nio/br}%
-\def\pgfPT at nomes@cxii{copern\'{i}cio/pt,copernicium/en,copernicium/fr,Copernicium/de,copernicium/it,copernicio/es,copern\'{i}cio/br}%
-\def\pgfPT at nomes@cxiii{nip\'{o}nio/pt,nihonium/en,nihonium/fr,Nihonium/de,nihonium/it,nihonio/es,nip\^{o}nio/br}%
-\def\pgfPT at nomes@cxiv{fler\'{o}vio/pt,flerovium/en,flerovium/fr,Flerovium/de,flerovio/it,flerovio/es,fler\'{o}vio/br}%
-\def\pgfPT at nomes@cxv{mosc\'{o}vio/pt,moscovium/en,moscovium/fr,Moscovium/de,moscovium/it,moscovio/es,mosc\'{o}vio/br}%
-\def\pgfPT at nomes@cxvi{liverm\'{o}rio/pt,livermorium/en,livermorium/fr,Livermorium/de,livermorio/it,livermorium/es,liverm\'{o}rio/br}%
-\def\pgfPT at nomes@cxvii{tenesso/pt,tennessine/en,tennessine/fr,Tenness/de,tennessine/it,teneso/es,tenesso/br}%
-\def\pgfPT at nomes@cxviii{ogan\'{e}sson/pt,oganesson/en,oganesson/fr,Oganesson/de,oganesson/it,oganes\'{o}n/es,oganess\^{o}nio/br}%
+\def\pgfPT at nomes@i{hidrog\'{e}nio/pt,hydrogen/en,hydrog\`{e}ne/fr,Wasserstoff/de,idrogeno/it,hidr\'{o}geno/es,hidrog\^{e}nio/br,\pgfPT at user@CSname at H/user}%
+\def\pgfPT at nomes@ii{h\'{e}lio/pt,helium/en,h\'{e}lium/fr,Helium/de,elio/it,helio/es,h\'{e}lio/br,\pgfPT at user@CSname at He/user}%
+\def\pgfPT at nomes@iii{l\'{i}tio/pt,lithium/en,lithium/fr,Lithium/de,litio/it,litio/es,l\'{i}tio/br,\pgfPT at user@CSname at Li/user}%
+\def\pgfPT at nomes@iv{ber\'{i}lio/pt,beryllium/en,b\'{e}ryllium/fr,Beryllium/de,berillio/it,berilio/es,ber\'{i}lio/br,\pgfPT at user@CSname at Be/user}%
+\def\pgfPT at nomes@v{boro/pt,boron/en,bore/fr,Bor/de,boro/it,boro/es,boro/br,\pgfPT at user@CSname at B/user}%
+\def\pgfPT at nomes@vi{carbono/pt,carbon/en,carbone/fr,Kohlenstoff/de,carbonio/it,carb\'{o}n/es,carbono/br,\pgfPT at user@CSname at C/user}%
+\def\pgfPT at nomes@vii{azoto/pt,nitrogen/en,azote/fr,Stickstoff/de,azoto/it,nitr\'{o}geno/es,nitrog\^{e}nio/br,\pgfPT at user@CSname at N/user}%
+\def\pgfPT at nomes@viii{oxig\'{e}nio/pt,oxygen/en,oxyg\`{e}ne/fr,Sauerstoff/de,ossigeno/it,ox\'{i}geno/es,oxig\^{e}nio/br,\pgfPT at user@CSname at O/user}%
+\def\pgfPT at nomes@ix{fl\'{u}or/pt,fluorine/en,fluor/fr,Fluor/de,fluoro/it,fl\'{u}or/es,fl\'{u}or/br,\pgfPT at user@CSname at F/user}%
+\def\pgfPT at nomes@x{n\'{e}on/pt,neon/en,n\'{e}on/fr,Neon/de,neon/it,ne\'{o}n/es,ne\^{o}nio/br,\pgfPT at user@CSname at Ne/user}%
+\def\pgfPT at nomes@xi{s\'{o}dio/pt,sodium/en,sodium/fr,Natrium/de,sodio/it,sodio/es,s\'{o}dio/br,\pgfPT at user@CSname at Na/user}%
+\def\pgfPT at nomes@xii{magn\'{e}sio/pt,magnesium/en,magn\'{e}sium/fr,Magnesium/de,magnesio/it,magnesio/es,magn\'{e}sio/br,\pgfPT at user@CSname at Mg/user}%
+\def\pgfPT at nomes@xiii{alum\'{i}nio/pt,aluminium/en,aluminium/fr,Aluminium/de,alluminio/it,aluminio/es,alum\'{i}nio/br,\pgfPT at user@CSname at Al/user}%
+\def\pgfPT at nomes@xiv{sil\'{i}cio/pt,silicon/en,silicium/fr,Silizium/de,silicio/it,silicio/es,sil\'{i}cio/br,\pgfPT at user@CSname at Si/user}%
+\def\pgfPT at nomes@xv{f\'{o}sforo/pt,phosphorus/en,phosphore/fr,Phosphor/de,fosforo/it,f\'{o}sforo/es,f\'{o}sforo/br,\pgfPT at user@CSname at P/user}%
+\def\pgfPT at nomes@xvi{enxofre/pt,sulfur/en,soufre/fr,Schwefel/de,zolfo/it,azufre/es,enxofre/br,\pgfPT at user@CSname at S/user}%
+\def\pgfPT at nomes@xvii{cloro/pt,chlorine/en,chlore/fr,Chlor/de,cloro/it,cloro/es,cloro/br,\pgfPT at user@CSname at Cl/user}%
+\def\pgfPT at nomes@xviii{\'{a}rgon/pt,argon/en,argon/fr,Argon/de,argo/it,arg\'{o}n/es,arg\^{o}nio/br,\pgfPT at user@CSname at Ar/user}%
+\def\pgfPT at nomes@xix{pot\'{a}ssio/pt,potassium/en,potassium/fr,Kalium/de,potassio/it,potasio/es,pot\'{a}ssio/br,\pgfPT at user@CSname at K/user}%
+\def\pgfPT at nomes@xx{c\'{a}lcio/pt,calcium/en,calcium/fr,Kalzium/de,calcio/it,calcio/es,c\'{a}lcio/br,\pgfPT at user@CSname at Ca/user}%
+\def\pgfPT at nomes@xxi{esc\^{a}ndio/pt,scandium/en,scandium/fr,Scandium/de,scandio/it,escandio/es,esc\^{a}ndio/br,\pgfPT at user@CSname at Sc/user}%
+\def\pgfPT at nomes@xxii{tit\^{a}nio/pt,titanium/en,titane/fr,Titan/de,titanio/it,titanio/es,tit\^{a}nio/br,\pgfPT at user@CSname at Ti/user}%
+\def\pgfPT at nomes@xxiii{van\'{a}dio/pt,vanadium/en,vanadium/fr,Vanadium/de,vanadio/it,vanadio/es,van\'{a}dio/br,\pgfPT at user@CSname at V/user}%
+\def\pgfPT at nomes@xxiv{cr\'{o}mio/pt,chromium/en,chrome/fr,Chrom/de,cromo/it,cromo/es,cr\^{o}mio/br,\pgfPT at user@CSname at Cr/user}%
+\def\pgfPT at nomes@xxv{mangan\'{e}sio/pt,manganese/en,mangan\`{e}se/fr,Mangan/de,manganese/it,manganeso/es,mangan\^{e}s/br,\pgfPT at user@CSname at Mn/user}%
+\def\pgfPT at nomes@xxvi{ferro/pt,iron/en,fer/fr,Eisen/de,ferro/it,planchar/es,ferro/br,\pgfPT at user@CSname at Fe/user}%
+\def\pgfPT at nomes@xxvii{cobalto/pt,cobalt/en,cobalt/fr,Kobalt/de,cobalto/it,cobalto/es,cobalto/br,\pgfPT at user@CSname at Co/user}%
+\def\pgfPT at nomes@xxviii{n\'{i}quel/pt,nickel/en,nickel/fr,Nickel/de,nichel/it,n\'{i}quel/es,n\'{i}quel/br,\pgfPT at user@CSname at Ni/user}%
+\def\pgfPT at nomes@xxix{cobre/pt,copper/en,cuivre/fr,Kupfer/de,rame/it,cobre/es,cobre/br,\pgfPT at user@CSname at Cu/user}%
+\def\pgfPT at nomes@xxx{zinco/pt,zinc/en,zinc/fr,Zink/de,zinco/it,zinc/es,zinco/br,\pgfPT at user@CSname at Zn/user}%
+\def\pgfPT at nomes@xxxi{g\'{a}lio/pt,gallium/en,gallium/fr,Gallium/de,gallio/it,galio/es,g\'{a}lio/br,\pgfPT at user@CSname at Ga/user}%
+\def\pgfPT at nomes@xxxii{germ\^{a}nio/pt,germanium/en,germanium/fr,Germanium/de,germanio/it,germanio/es,germ\^{a}nio/br,\pgfPT at user@CSname at Ge/user}%
+\def\pgfPT at nomes@xxxiii{ars\'{e}nio/pt,arsenic/en,arsenic/fr,Arsen/de,arsenico/it,ars\'{e}nico/es,ars\^{e}nio/br,\pgfPT at user@CSname at As/user}%
+\def\pgfPT at nomes@xxxiv{sel\'{e}nio/pt,selenium/en,s\'{e}l\'{e}nium/fr,Selen/de,selenio/it,selenio/es,sel\^{e}nio/br,\pgfPT at user@CSname at Se/user}%
+\def\pgfPT at nomes@xxxv{bromo/pt,bromine/en,brome/fr,Brom/de,bromo/it,bromo/es,bromo/br,\pgfPT at user@CSname at Br/user}%
+\def\pgfPT at nomes@xxxvi{cr\'{i}pton/pt,krypton/en,krypton/fr,Krypton/de,krypton/it,cript\'{o}n/es,cript\^{o}nio/br,\pgfPT at user@CSname at Kr/user}%
+\def\pgfPT at nomes@xxxvii{rub\'{i}dio/pt,rubidium/en,rubidium/fr,Rubidium/de,rubidio/it,rubidio/es,rub\'{i}dio/br,\pgfPT at user@CSname at Rb/user}%
+\def\pgfPT at nomes@xxxviii{estr\^{o}ncio/pt,strontium/en,strontium/fr,Strontium/de,stronzio/it,estroncio/es,estr\^{o}ncio/br,\pgfPT at user@CSname at Sr/user}%
+\def\pgfPT at nomes@xxxix{\'{i}trio/pt,yttrium/en,yttrium/fr,Yttrium/de,ittrio/it,itrio/es,\'{i}trio/br,\pgfPT at user@CSname at Y/user}%
+\def\pgfPT at nomes@xl{zirc\'{o}nio/pt,zirconium/en,zirconium/fr,Zirkonium/de,zirconio/it,circonio/es,zirc\^{o}nio/br,\pgfPT at user@CSname at Zr/user}%
+\def\pgfPT at nomes@xli{ni\'{o}bio/pt,niobium/en,niobium/fr,Niob/de,niobio/it,niobio/es,ni\'{o}bio/br,\pgfPT at user@CSname at Nb/user}%
+\def\pgfPT at nomes@xlii{molibd\'{e}nio/pt,molybdenum/en,molybd\`{e}ne/fr,Molybd\"{a}n/de,molibdeno/it,molibdeno/es,molibd\^{e}nio/br,\pgfPT at user@CSname at Mo/user}%
+\def\pgfPT at nomes@xliii{tecn\'{e}cio/pt,technetium/en,techn\'{e}tium/fr,Technetium/de,tecnezio/it,tecnecio/es,tecn\'{e}cio/br,\pgfPT at user@CSname at Tc/user}%
+\def\pgfPT at nomes@xliv{rut\'{e}nio/pt,ruthenium/en,ruth\'{e}nium/fr,Ruthenium/de,rutenio/it,rutenio/es,rut\^{e}nio/br,\pgfPT at user@CSname at Ru/user}%
+\def\pgfPT at nomes@xlv{r\'{o}dio/pt,rhodium/en,rhodium/fr,Rhodium/de,rodio/it,rodio/es,r\'{o}dio/br,\pgfPT at user@CSname at Rh/user}%
+\def\pgfPT at nomes@xlvi{pal\'{a}dio/pt,palladium/en,palladium/fr,Palladium/de,palladio/it,paladio/es,pal\'{a}dio/br,\pgfPT at user@CSname at Pd/user}%
+\def\pgfPT at nomes@xlvii{prata/pt,silver/en,argent/fr,Silber/de,argento/it,plata/es,prata/br,\pgfPT at user@CSname at Ag/user}%
+\def\pgfPT at nomes@xlviii{c\'{a}dmio/pt,cadmium/en,cadmium/fr,Cadmium/de,cadmio/it,cadmio/es,c\'{a}dmio/br,\pgfPT at user@CSname at Cd/user}%
+\def\pgfPT at nomes@xlix{\'{i}ndio/pt,indium/en,indium/fr,Indium/de,indio/it,indio/es,\'{i}ndio/br,\pgfPT at user@CSname at In/user}%
+\def\pgfPT at nomes@l{estanho/pt,tin/en,\'{e}tain/fr,Zinn/de,lattina/it,esta\~{n}o/es,estanho/br,\pgfPT at user@CSname at Sn/user}%
+\def\pgfPT at nomes@li{antim\'{o}nio/pt,antimony/en,antimoine/fr,Antimon/de,antimonio/it,antimonio/es,antim\^{o}nio/br,\pgfPT at user@CSname at Sb/user}%
+\def\pgfPT at nomes@lii{tel\'{u}rio/pt,tellurium/en,tellure/fr,Tellur/de,tellurio/it,telurio/es,tel\'{u}rio/br,\pgfPT at user@CSname at Te/user}%
+\def\pgfPT at nomes@liii{iodo/pt,iodine/en,iode/fr,Iod/de,iodio/it,yodo/es,iodo/br,\pgfPT at user@CSname at I/user}%
+\def\pgfPT at nomes@liv{x\'{e}non/pt,xenon/en,x\'{e}non/fr,Xenon/de,xeno/it,xen\'{o}n/es,xen\^{o}nio/br,\pgfPT at user@CSname at Xe/user}%
+\def\pgfPT at nomes@lv{c\'{e}sio/pt,caesium/en,c\'{e}sium/fr,Caesium/de,cesio/it,cesio/es,c\'{e}sio/br,\pgfPT at user@CSname at Cs/user}%
+\def\pgfPT at nomes@lvi{b\'{a}rio/pt,barium/en,baryum/fr,Barium/de,bario/it,bario/es,b\'{a}rio/br,\pgfPT at user@CSname at Ba/user}%
+\def\pgfPT at nomes@lvii{lant\^{a}nio/pt,lanthanum/en,lanthane/fr,Lanthan/de,lantanio/it,lantano/es,lant\^{a}nio/br,\pgfPT at user@CSname at La/user}%
+\def\pgfPT at nomes@lviii{c\'{e}rio/pt,cerium/en,c\'{e}rium/fr,Cer/de,cerio/it,cerio/es,c\'{e}rio/br,\pgfPT at user@CSname at Ce/user}%
+\def\pgfPT at nomes@lix{praseod\'{i}mio/pt,praseodymium/en,pras\'{e}odyme/fr,Praseodym/de,praseodimio/it,praseodimio/es,praseod\'{i}mio/br,\pgfPT at user@CSname at Pr/user}%
+\def\pgfPT at nomes@lx{neod\'{i}mio/pt,neodymium/en,n\'{e}odyme/fr,Neodym/de,neodimio/it,neodimio/es,neod\'{i}mio/br,\pgfPT at user@CSname at Nd/user}%
+\def\pgfPT at nomes@lxi{prom\'{e}cio/pt,promethium/en,prom\'{e}thium/fr,Promethium/de,prometeo/it,prometeo/es,prom\'{e}cio/br,\pgfPT at user@CSname at Pm/user}%
+\def\pgfPT at nomes@lxii{sam\'{a}rio/pt,samarium/en,samarium/fr,Samarium/de,samario/it,samario/es,sam\'{a}rio/br,\pgfPT at user@CSname at Sm/user}%
+\def\pgfPT at nomes@lxiii{eur\'{o}pio/pt,europium/en,europium/fr,Europium/de,europium/it,europio/es,eur\'{o}pio/br,\pgfPT at user@CSname at Eu/user}%
+\def\pgfPT at nomes@lxiv{gadol\'{i}nio/pt,gadolinium/en,gadolinium/fr,Gadolinium/de,gadolinio/it,gadolinio/es,gadol\'{i}nio/br,\pgfPT at user@CSname at Gd/user}%
+\def\pgfPT at nomes@lxv{t\'{e}rbio/pt,terbium/en,terbium/fr,Terbium/de,terbio/it,terbio/es,t\'{e}rbio/br,\pgfPT at user@CSname at Tb/user}%
+\def\pgfPT at nomes@lxvi{dispr\'{o}sio/pt,dysprosium/en,dysprosium/fr,Dysprosium/de,dysprosium/it,disprosio/es,dispr\'{o}sio/br,\pgfPT at user@CSname at Dy/user}%
+\def\pgfPT at nomes@lxvii{h\'{o}lmio/pt,holmium/en,holmium/fr,Holmium/de,olmio/it,holmio/es,h\'{o}lmio/br,\pgfPT at user@CSname at Ho/user}%
+\def\pgfPT at nomes@lxviii{\'{e}rbio/pt,erbium/en,erbium/fr,Erbium/de,erbio/it,erbio/es,\'{e}rbio/br,\pgfPT at user@CSname at Er/user}%
+\def\pgfPT at nomes@lxix{t\'{u}lio/pt,thulium/en,thulium/fr,Thulium/de,tulio/it,tulio/es,t\'{u}lio/br,\pgfPT at user@CSname at Tm/user}%
+\def\pgfPT at nomes@lxx{it\'{e}rbio/pt,ytterbium/en,ytterbium/fr,Ytterbium/de,itterbio/it,iterbio/es,it\'{e}rbio/br,\pgfPT at user@CSname at Yb/user}%
+\def\pgfPT at nomes@lxxi{lut\'{e}cio/pt,lutetium/en,lut\'{e}tium/fr,Lutetium/de,lutezio/it,lutecio/es,lut\'{e}cio/br,\pgfPT at user@CSname at Lu/user}%
+\def\pgfPT at nomes@lxxii{h\'{a}fnio/pt,hafnium/en,hafnium/fr,Hafnium/de,afnio/it,hafnio/es,h\'{a}fnio/br,\pgfPT at user@CSname at Hf/user}%
+\def\pgfPT at nomes@lxxiii{t\^{a}ntalo/pt,tantalum/en,tantale/fr,Tantal/de,tantalio/it,tantalio/es,t\^{a}ntalo/br,\pgfPT at user@CSname at Ta/user}%
+\def\pgfPT at nomes@lxxiv{tungst\'{e}nio/pt,tungsten/en,tungst\`{e}ne/fr,Wolfram/de,tungsteno/it,tungsteno/es,tungst\^{e}nio/br,\pgfPT at user@CSname at W/user}%
+\def\pgfPT at nomes@lxxv{r\'{e}nio/pt,rhenium/en,rh\'{e}nium/fr,Rhenium/de,rhenium/it,renio/es,r\^{e}nio/br,\pgfPT at user@CSname at Re/user}%
+\def\pgfPT at nomes@lxxvi{\'{o}smio/pt,osmium/en,osmium/fr,Osmium/de,osmio/it,osmio/es,\'{o}smio/br,\pgfPT at user@CSname at Os/user}%
+\def\pgfPT at nomes@lxxvii{ir\'{i}dio/pt,iridium/en,iridium/fr,Iridium/de,iridio/it,iridio/es,ir\'{i}dio/br,\pgfPT at user@CSname at Ir/user}%
+\def\pgfPT at nomes@lxxviii{platina/pt,platinum/en,platine/fr,Platin/de,platino/it,platino/es,platina/br,\pgfPT at user@CSname at Pt/user}%
+\def\pgfPT at nomes@lxxix{ouro/pt,gold/en,or/fr,Gold/de,oro/it,oro/es,ouro/br,\pgfPT at user@CSname at Au/user}%
+\def\pgfPT at nomes@lxxx{merc\'{u}rio/pt,mercury/en,mercure/fr,Quecksilber/de,mercurio/it,mercurio/es,merc\'{u}rio/br,\pgfPT at user@CSname at Hg/user}%
+\def\pgfPT at nomes@lxxxi{t\'{a}lio/pt,thallium/en,thallium/fr,Thallium/de,tallio/it,talio/es,t\'{a}lio/br,\pgfPT at user@CSname at Tl/user}%
+\def\pgfPT at nomes@lxxxii{chumbo/pt,lead/en,conduire/fr,Blei/de,piombo/it,plomo/es,chumbo/br,\pgfPT at user@CSname at Pb/user}%
+\def\pgfPT at nomes@lxxxiii{bismuto/pt,bismuth/en,bismuth/fr,Bismut/de,bismuto/it,bismuto/es,bismuto/br,\pgfPT at user@CSname at Bi/user}%
+\def\pgfPT at nomes@lxxxiv{pol\'{o}nio/pt,polonium/en,polonium/fr,Polonium/de,polonio/it,polonio/es,pol\^{o}nio/br,\pgfPT at user@CSname at Po/user}%
+\def\pgfPT at nomes@lxxxv{astato/pt,astatine/en,astatine/fr,Astat/de,astato/it,astato/es,\'{a}stato/br,\pgfPT at user@CSname at At/user}%
+\def\pgfPT at nomes@lxxxvi{r\'{a}don/pt,radon/en,radon/fr,Radon/de,radon/it,rad\'{o}n/es,rad\^{o}nio/br,\pgfPT at user@CSname at Rn/user}%
+\def\pgfPT at nomes@lxxxvii{fr\^{a}ncio/pt,francium/en,francium/fr,Francium/de,francio/it,francio/es,fr\^{a}ncio/br,\pgfPT at user@CSname at Fr/user}%
+\def\pgfPT at nomes@lxxxviii{r\'{a}dio/pt,radium/en,radium/fr,Radium/de,radio/it,radio/es,r\'{a}dio/br,\pgfPT at user@CSname at Ra/user}%
+\def\pgfPT at nomes@lxxxix{act\'{i}nio/pt,actinium/en,actinium/fr,Actinium/de,attinio/it,actinio/es,act\'{i}nio/br,\pgfPT at user@CSname at Ac/user}%
+\def\pgfPT at nomes@xc{t\'{o}rio/pt,thorium/en,thorium/fr,Thorium/de,torio/it,torio/es,t\'{o}rio/br,\pgfPT at user@CSname at Th/user}%
+\def\pgfPT at nomes@xci{protact\'{i}nio/pt,protactinium/en,protactinium/fr,Protactinium/de,protactinio/it,protactinio/es,protact\'{i}nio/br,\pgfPT at user@CSname at Pa/user}%
+\def\pgfPT at nomes@xcii{ur\^{a}nio/pt,uranium/en,uranium/fr,Uran/de,uranio/it,uranio/es,ur\^{a}nio/br,\pgfPT at user@CSname at U/user}%
+\def\pgfPT at nomes@xciii{nept\'{u}nio/pt,neptunium/en,neptunium/fr,Neptunium/de,nettunio/it,neptunio/es,net\'{u}nio/br,\pgfPT at user@CSname at Np/user}%
+\def\pgfPT at nomes@xciv{plut\'{o}nio/pt,plutonium/en,plutonium/fr,Plutonium/de,plutonio/it,plutonio/es,plut\^{o}nio/br,\pgfPT at user@CSname at Pu/user}%
+\def\pgfPT at nomes@xcv{amer\'{i}cio/pt,americium/en,am\'{e}ricium/fr,Americium/de,americio/it,americio/es,amer\'{i}cio/br,\pgfPT at user@CSname at Am/user}%
+\def\pgfPT at nomes@xcvi{c\'{u}rio/pt,curium/en,curium/fr,Curium/de,curio/it,curio/es,c\'{u}rio/br,\pgfPT at user@CSname at Cm/user}%
+\def\pgfPT at nomes@xcvii{berqu\'{e}lio/pt,berkelium/en,berkelium/fr,Berkelium/de,berkelium/it,berkelio/es,berqu\'{e}lio/br,\pgfPT at user@CSname at Bk/user}%
+\def\pgfPT at nomes@xcviii{calif\'{o}rnio/pt,californium/en,californium/fr,Californium/de,californio/it,californio/es,calif\'{o}rnio/br,\pgfPT at user@CSname at Cf/user}%
+\def\pgfPT at nomes@xcix{einst\'{e}nio/pt,einsteinium/en,einsteinium/fr,Einsteinium/de,einsteinio/it,einstenio/es,einst\^{e}nio/br,\pgfPT at user@CSname at Es/user}%
+\def\pgfPT at nomes@c{f\'{e}rmio/pt,fermium/en,fermium/fr,Rermium/de,fermium/it,fermio/es,f\'{e}rmio/br,\pgfPT at user@CSname at Fm/user}%
+\def\pgfPT at nomes@ci{mendel\'{e}vio/pt,mendelevium/en,mendelevium/fr,Mendelevium/de,mendelevio/it,mendelevio/es,mendel\'{e}vio/br,\pgfPT at user@CSname at Md/user}%
+\def\pgfPT at nomes@cii{nob\'{e}lio/pt,nobelium/en,nobelium/fr,Nobelium/de,nobelium/it,nobelio/es,nob\'{e}lio/br,\pgfPT at user@CSname at No/user}%
+\def\pgfPT at nomes@ciii{laur\^{e}ncio/pt,lawrencium/en,lawrencium/fr,Lawrencium/de,laurenzio/it,lawrencium/es,laur\^{e}ncio/br,\pgfPT at user@CSname at Lr/user}%
+\def\pgfPT at nomes@civ{rutherf\'{o}rdio/pt,rutherfordium/en,rutherfordium/fr,Rutherfordium/de,rutherfordium/it,rutherfordio/es,rutherf\'{o}rdio/br,\pgfPT at user@CSname at Rf/user}%
+\def\pgfPT at nomes@cv{d\'{u}bnio/pt,dubnium/en,dubnium/fr,Dubnium/de,dubnio/it,dubnium/es,d\'{u}bnio/br,\pgfPT at user@CSname at Db/user}%
+\def\pgfPT at nomes@cvi{seab\'{o}rgio/pt,seaborgium/en,seaborgium/fr,Seaborgium/de,seaborgio/it,seaborgio/es,seab\'{o}rgio/br,\pgfPT at user@CSname at Sg/user}%
+\def\pgfPT at nomes@cvii{b\'{o}rio/pt,bohrium/en,bohrium/fr,Bohrium/de,bohrio/it,bohrium/es,b\'{o}hrio/br,\pgfPT at user@CSname at Bh/user}%
+\def\pgfPT at nomes@cviii{h\'{a}ssio/pt,hassium/en,hassium/fr,Hassium/de,hassio/it,hassium/es,h\'{a}ssio/br,\pgfPT at user@CSname at Hs/user}%
+\def\pgfPT at nomes@cix{meitn\'{e}rio/pt,meitnerium/en,meitnerium/fr,Meitnerium/de,meitnerio/it,meitnerio/es,meitn\'{e}rio/br,\pgfPT at user@CSname at Mt/user}%
+\def\pgfPT at nomes@cx{darmst\'{a}dio/pt,darmstadtium/en,darmstadtium/fr,Darmstadtium/de,darmstadtium/it,darmstadtium/es,darmst\'{a}dtio/br,\pgfPT at user@CSname at Ds/user}%
+\def\pgfPT at nomes@cxi{roentg\'{e}nio/pt,roentgenium/en,roentgenium/fr,R\"{o}ntgenium/de,roentgenio/it,roentgenio/es,roentg\^{e}nio/br,\pgfPT at user@CSname at Rg/user}%
+\def\pgfPT at nomes@cxii{copern\'{i}cio/pt,copernicium/en,copernicium/fr,Copernicium/de,copernicium/it,copernicio/es,copern\'{i}cio/br,\pgfPT at user@CSname at Cn/user}%
+\def\pgfPT at nomes@cxiii{nip\'{o}nio/pt,nihonium/en,nihonium/fr,Nihonium/de,nihonium/it,nihonio/es,nip\^{o}nio/br,\pgfPT at user@CSname at Nh/user}%
+\def\pgfPT at nomes@cxiv{fler\'{o}vio/pt,flerovium/en,flerovium/fr,Flerovium/de,flerovio/it,flerovio/es,fler\'{o}vio/br,\pgfPT at user@CSname at Fl/user}%
+\def\pgfPT at nomes@cxv{mosc\'{o}vio/pt,moscovium/en,moscovium/fr,Moscovium/de,moscovium/it,moscovio/es,mosc\'{o}vio/br,\pgfPT at user@CSname at Mc/user}%
+\def\pgfPT at nomes@cxvi{liverm\'{o}rio/pt,livermorium/en,livermorium/fr,Livermorium/de,livermorio/it,livermorium/es,liverm\'{o}rio/br,\pgfPT at user@CSname at Lv/user}%
+\def\pgfPT at nomes@cxvii{tenesso/pt,tennessine/en,tennessine/fr,Tenness/de,tennessine/it,teneso/es,tenesso/br,\pgfPT at user@CSname at Ts/user}%
+\def\pgfPT at nomes@cxviii{ogan\'{e}sson/pt,oganesson/en,oganesson/fr,Oganesson/de,oganesson/it,oganes\'{o}n/es,oganess\^{o}nio/br,\pgfPT at user@CSname at Og/user}%
 \endinput%

Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.process.language.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.process.language.tex	2024-02-16 21:11:56 UTC (rev 69923)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.process.language.tex	2024-02-16 21:16:08 UTC (rev 69924)
@@ -4,7 +4,8 @@
 % --------------------------------------------------------------------------------------------------
 % \xABThe macros for process the language(s) data to display in the Periodic Table\xBB ------------
 % --------------------------------------------------------------------------------------------------
-% Labels available in: pt, en, fr, de, it, es, br
+% v2.1.0: Added support for user language
+% Labels available in: pt, en, fr, de, it, es, br, user
 % --------------------------------------------------------------------------------------------------
 % \pgfPTsetLanguage{<language flag>}
 % --------------------------------------------------------------------------------------------------
@@ -17,17 +18,23 @@
 %       - it, Italian
 %       - es, Spanish
 %       - br, Portuguese (Brazil)
+%       - user, user language
 \def\pgfPTsetLanguage#1{%
-\pgfPT at validLang{#1}%
+% changed in  v2.1.0
+\edef\pgfPT at tmp{#1}%
+\ifx\pggPT at userlanguage@ISOcode\pgfPT at tmp\relax\edef\pgfPT at tmp{user}\fi%
+%\pgfPT at validLang{#1}%
+\pgfPT at validLang{\pgfPT at tmp}%
+%
 \ifx\pgfPT at langOK\undefined\relax%
 \PackageError{pgfPT}{invalid language flag '#1'. It will be ignored (default 'en'\space will be used)}{}%
 \xdef\pgfPT at defaultLanguage{en}%
-\else\xdef\pgfPT at defaultLanguage{#1}\global\let\pgfPT at langOK\undefined\relax%
+\else\xdef\pgfPT at defaultLanguage{#1}\global\let\pgfPT at langOK\undefined\relax\global\let\pgfPTlanguages\pgfPT at tmp\relax%
 \fi}%
 % --------------------------------------------------------------------------------------------------
 % List of available languages
 % --------------------------------------------------------------------------------------------------
-\def\pgfPT at languagesList{pt,en,fr,de,it,es,br}%
+\def\pgfPT at languagesList{pt,en,fr,de,it,es,br,user}%
 % --------------------------------------------------------------------------------------------------
 % Validating language
 \def\pgfPT at validLang#1{\ignorespaces%



More information about the tex-live-commits mailing list.