diff options
author | Karl Berry <karl@freefriends.org> | 2025-02-11 20:51:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2025-02-11 20:51:03 +0000 |
commit | 1774533818fb720ab3d7499b01d54013b1b20b45 (patch) | |
tree | aac4147612d9b47a061c31d58d5cb6379f1e17e1 | |
parent | 210bd4a987d41c57290dd6464cb673ae7ca093f3 (diff) |
pgf-periodictable (11feb25)
git-svn-id: svn://tug.org/texlive/trunk@73886 c570f23f-e606-0410-a88d-b1316a301751
29 files changed, 1139 insertions, 183 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/README b/Master/texmf-dist/doc/latex/pgf-periodictable/README index bfdfafd70ac..6015fa1578e 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/README +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/README @@ -1,11 +1,11 @@ -This is pgf-PeriodicTable, version 2.1.4 (2024/09/08). +This is pgf-PeriodicTable, version 2.1.5 (2025/02/10). 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 different languages: English, French, German, Portuguese (from Portugal and from Brazil), Spanish, Italian and translations -by user contributions (currently Dutch). +by user contributions - currently in Dutch and Chinese. ____________________________________________________________ Just typeset \pgfPT to get a Periodic Table of Elements or \pgfPT[<options list>] @@ -21,6 +21,41 @@ ____________________________________________________________ ____________________________________________________________ Major changes: +*** v2.1.5 (10/02/2025) *** +New options for loading the package, fixing the interaction of pgf-PeriodicTable with the beamer class and pdfLaTeX (small caps): +- beamer (requires the lmodern package) +- beamer* +- beamer** (requires the silence package) +New translation: +- Chinese translation provided by Fan Hongtao +New commands for Chinese language: +- \pgfPTzhFontFeatures +- \pgfPTzhtextfontSS +- \pgfPTzhtextfontSSB +- \pgfPTzhtextfontLv +Changes to the default values of the following keys when the Chinese langauge is loaded: +- name font +- CS font +- title font +- Z font +- Z padding +Changes in Mandarin numerals: +- default font is now BabelStone Han +- the \pgfPTzhfont command has been renamed to \pgfPTzhnumberfont (\pgfPTzhfont is still defined for backwards compatibility) +New keys: +- decimal separator (sets the decimal separator in the numerical values of quantities) +- legend acronyms font size (sets the font size of the text used in the legend acronyms description) +New color schemes: +- pgfPTWikipediaI +- pgfPTWikipediaII +New styles: +- comma separator +- dot separator +- csWikipediaI +- csWikipediaII +The Z list key supports a new syntax which makes possible to get empty cells anywhere in the Periodic Table. +Fixed an incorrect translation for 'fermium' in German. +New section in package documentation 'Tips & Tricks: inspired by user questions'. *** v2.1.4 (08/09/2024) *** Fixed wrong box width on extra legend of Country of Discovery. diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TipsTricks.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TipsTricks.tex new file mode 100644 index 00000000000..ed1dbca3d05 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TipsTricks.tex @@ -0,0 +1,58 @@ +\vfill% +\subsection{Control overall width of table} +\tikz{\node[text width=\linewidth-6mm,draw=green!70,rounded corners=2pt,fill=black!10!green!10,inner sep=3mm] {% +Is there a simple way to set the periodic table to text width, column width, etc.? +};}% +\\ [6pt]Yes, there is. It can be done using the \textsf{\large\textbackslash resizebox} command provided by the graphicx package (and also by the graphics package). For example: +\\ [2pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\begin{minipage}{\linewidth}% +\begin{verbatim} +\resizebox{\linewidth}{!}{\pgfPT} +\end{verbatim} +\end{minipage}};}% +\\ or +\\ [2pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\begin{minipage}{\linewidth}% +\begin{verbatim} +\resizebox{\linewidth}{!}{\pgfPT[show title=false]} +\end{verbatim} +\end{minipage}};}% +\\ [2pt]will produce a Periodic Table with the width of the current \textsf{\large\textbackslash linewidth}, whatever is its value (the text width, the column width, the width of a minipage,\ldots), and with the proper scaling of its height. +\\ There is no need of loading the graphicx package since pgf-PeriodicTable loads the tikz package, which in turn loads the graphicx package. +\\ [2pt]\tikz{\path[draw=green!70,rounded corners=2pt,fill=black!10!green!10,rounded corners=2pt] (0,0) rectangle ++(\textwidth,-4.5pt);}% +\subsection{Compact Periodic Table} +\tikz{\node[text width=\linewidth-6mm,draw=green!70,rounded corners=2pt,fill=black!10!green!10,inner sep=3mm] {% +Is there a way to put groups 1 and 2 really next to group 13 to 18? That would make the whole thing more compact. I sometimes need just the representative elements for teaching purposes. +};}% +\\ [6pt]Although it is not common usage, it can be done: +\\ [2pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\begin{minipage}{\linewidth}% +\begin{verbatim} +\documentclass[border=10pt]{standalone} +\usepackage{pgf-PeriodicTable} +\usepgfPTlibrary{colorschemes} +\pgfPTGroupColors{example}{G1=blue!50!white,G2=green!90!white} +\pgfPTsetLanguage{de} +\begin{document} +% \pgfPTstyle[show title=false, back color scheme=example,show legend=false] +% \pgfPT[Z list = G1]\foreach \n in {2,13,14,15,16,17,18} {% +% \pgfPT[show period numbers=false,Z list = G\n]% +% }% make sure there are no spaces between \pgfPT +% or +% \pgfPTstyle[show title=false,show period numbers=false,back color scheme=example, +% show legend=false] +% \pgfPT[show period numbers,Z list = G1]\pgfPT[Z list = G2]\pgfPT[Z list = p]% make +% sure there are no spaces between \pgfPT +% or + \pgfPTstyle[show title=false,show period numbers=false,back color scheme=example, + show legend=false] + \pgfPT[show period numbers,Z list = s]\pgfPT[Z list = p] +\end{document} +\end{verbatim} +\end{minipage}};}% +\newpage% +\begin{center} +\scalebox{.6}{\includegraphics{manualfiles/pgfPT_user_compactPT.pdf}} +\end{center} +\tikz{\path[draw=green!70,rounded corners=2pt,fill=black!10!green!10,rounded corners=2pt] (0,0) rectangle ++(\textwidth,-4.5pt);}% +\endinput diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex index a17797548a2..600538875ca 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_TitleLegend.tex @@ -61,21 +61,30 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms=false]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms=false]}}% \\ [0pt]\pgfPTendoption% +% legend acronyms +\label{option_legend_acronyms_font_size}% +\vfill% +\pgfPTMoption[\pgfPTnewinversion{2.1.5}]{4}{legend acronyms font size}{document font size}% +{Sets the font size of the text used in the \red{legend acronyms} description. It must be a valid \TeX\ dimension and \textit{it only works when the key \red{legend acronyms} is set to \red{true}}. +\vskip0pt\relax}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms font size=14pt]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms font size=14pt]}}% +\\ [0pt]\pgfPTendoption% +\vfill% +\newpage\vspace{-34pt}\ % % legend box (style) \label{style_legend box}% -\vfill% \pgfPTMstyle{4}{legend box}{left color=black!20,right color=black!10,draw=black!30}% {Style to define the appearance of the box around the legend, legend pins and acronym descriptions, built with any of the \txttikz\ keys that can be applied to a path construction. \textit{It only works when the key \red{legend acronyms} is set to \red{true}}.}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]}}% -\newpage%\\ [10pt] -\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10,legend acronyms=false}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10},legend acronyms=false]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={}]}}% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10,legend acronyms=false}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10},legend acronyms=false]}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={}]}}% \\ [0pt]\pgfPTendstyle% % legend back color \label{option_legend back color}% @@ -98,6 +107,7 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend radio color=red,legend acronyms=false]}}% \\ [0pt]\pgfPTendoption% % legend CS color +\vfill% \label{option_legend CS color}% \pgfPTMoption{4}{legend CS color}{black!50}% {Sets the color of the Chemical Symbol acronym and corresponding description.}% @@ -108,6 +118,7 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend CS color=red,legend acronyms=false]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend CS color=red,legend acronyms=false]}}% \\ [0pt]\pgfPTendoption% +\newpage\vspace{-34pt}\ % % legend Z color \label{option_legend Z color}% \pgfPTMoption{4}{legend Z color}{\{\}}% @@ -119,15 +130,16 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend Z color=red,legend acronyms=false]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend Z color=red,legend acronyms=false]}}% \\ [0pt]\pgfPTendoption% +\newpage\vspace{-34pt}\ % % show legend pins \label{option_show legend pins}% \pgfPTMoption{4}{show legend pins}{true}% {When set to \red{true} the legend pins are shown, otherwise they are not shown.}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show legend pins=false]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show legend pins=false]}}% -\\ [0pt]\pgfPTendoption% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show legend pins=false]}}% +\\ [-5pt]\pgfPTendoption% % legend pins (style) \label{style_legend pins}% \pgfPTMstyle{4}{legend pins}{\raisebox{-\baselineskip}{% @@ -136,9 +148,10 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p {\ \\ [4pt]Style to define the appearance of the legend pins, built with any of the \txttikz\ keys that can be applied to a path construction.}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10}]% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10}]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10}]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]% +\newpage%\\ [10pt] +\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]}}% \\ [0pt]\pgfPTendstyle% % show extra legend @@ -153,12 +166,14 @@ When set to \red{false}, only the cell is displayed with the des\-criptions in p \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,show extra legend=false]}}% \\ [0pt]\pgfPTendoption% % extra legend (style) +\vfill% \label{style_extra legend}% \pgfPTMstyle{4}{extra legend}{\raisebox{-\baselineskip}{% \vbox{\hsize=.5\linewidth\hbox{\{draw=black!50,fill=black!10,line width=.05pt,}\hbox{rounded corners=2pt\}}}} }% {\ \\ [4pt]Style to define the appearance of the extra legend, built with any of the \txttikz\ keys that can be applied to a path construction.}% -\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc]% +\newpage%\\ [5pt] +\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTdisc]}}% \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]}}% @@ -176,11 +191,10 @@ The key \red{show legend} is set to \red{true}. \textcolor{cyan!10!white}{legend=\{}radio=<color>,CS=<color>,Z=<color>,pins style=<tikz path keys>,\\ % \textcolor{cyan!10!white}{legend=\{}extra style=<tikz path keys>,box=<tikz path keys>\}};}}}% }% -\vfill% -\newpage%\\ [5pt] +\newpage% \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,legend={bc=black!10,extra=false}]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,legend={bc=black!10,extra=false}]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,legend={acro=false,extra=false}]% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,legend={acro=false,extra=false}]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,legend={acro=false,extra=false}]}}% \\ [0pt]\pgfPTendstyle% \endinput diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex index 3d1f256bd6b..27356e91c3d 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex @@ -1,3 +1,4 @@ +\vfill% \subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}}%\vspace{6pt}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Z backcolor diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex index cbc7cbc2fad..354278b0154 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_commands.tex @@ -15,7 +15,7 @@ \item\pgfPTMmacro{pgfPTpreviewcellstyle}[]\lb\red{name}\rb% \ or \pgfPTMmacro{pgfPTpreviewcellstyle}[]\lp\red{scale factor}\rp\lb\red{name}\rb% \ -- preview the named builded cell with an optional scale factor. -\item\pgfPTMmacro{pgfPTnewcolorscheme}[trailing color]\lb\red{name}\rb\lb\red{color list}\rb% +\item\pgfPTMmacro{pgfPTnewColorScheme}[trailing color]\lb\red{name}\rb\lb\red{color list}\rb% \ -- makes a color scheme to fill the cells along the Periodic Table. \item\pgfPTMmacro{pgfPTnewZlist}[]\lb\red{name}\rb% \ -- create a user defined atomic numbers (Z) \red{named} list. diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_decSep.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_decSep.tex new file mode 100644 index 00000000000..a6e4d3f97a2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_decSep.tex @@ -0,0 +1,24 @@ +\subsubsection{\texorpdfstring{\ding{224} \itshape Decimal separator in numbers}{Decimal separator in numbers}}\vspace{6pt}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Decimal separator +\pgfPTMoption[\pgfPTnewinversion{2.1.5}]{4}{decimal separator}{.}{% +Sets the decimal separator in the numeric values of quantities. \textit{If the separator character is a comma it must be provided between curly braces -- \{,\}}. \\ Note that the decimal separator key is used to perform a direct replacement of the dot with the specified character. Therefore, there is no validation and any character can be used as a decimal separator (usually a dot or a comma). +}% +\newpage%\\ [5pt] +\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},decimal separator={,}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},decimal separator={,}]}}% +\\ [0pt]\pgfPTendoption% +\\ [5pt] +\pgfPTMstyle[\pgfPTnewinversion{2.1.5}]{4}{comma separator}{no value}% +{A style equivalent to \red{decimal separator=\{,\}}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[comma separator]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[comma separator]}}% +\\ [0pt]\pgfPTendstyle% +\\ [5pt] +\pgfPTMstyle[\pgfPTnewinversion{2.1.5}]{4}{dot separator}{no value}% +{A style equivalent to \red{decimal separator=.}}% +\newpage%\\ [5pt] +\pgfPTMmacrobox{pgfPT}[dot separator]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[dot separator]}}% +\\ [0pt]\pgfPTendstyle% +\endinput diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex index 2eb989abaed..00f6da0af4b 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_exerciselayout.tex @@ -1,7 +1,7 @@ \vfill% \subsubsection{\texorpdfstring{\ding{224} \itshape Exercise layout}{Exercise layout}}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -The \red{keys} described in this section enable the \textit{exercise layout} of the Periodic Table, \ie, in this mode the \textit{structure} of the Periodic Table is drawn, but there are only a few contents available in the cells. +The \red{keys} \hypertarget{exMODE}{described in this} section enable the \textit{exercise layout} of the Periodic Table, \ie, in this mode the \textit{structure} of the Periodic Table is drawn, but there are only a few contents available in the cells. % only cells=false \pgfPTMoption{4}{only cells}{false}% {When set to \red{true} the Periodic Table is drawn with only the cells without any contents. diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex index 3c32e1a95cd..ed6f4ad78f8 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_generallayout.tex @@ -2,11 +2,11 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Z list \label{option_Z list}% -\pgfPTMoption{4}{Z list}{all}% -{Set's the list of the elements to display in the Periodic Table. It could be a \lblue{name} or a \lblue{comma sepa\-rated} list of atomic numbers, which in turn supports \textit{the dots notation} as explained in the section \textit{Repeating Things: The Foreach Statement} in the \href{https://www.ctan.org/pkg/pgf}{pgfmanual}.} +\pgfPTMoption[\pgfPTchangedinversion{2.1.5}]{4}{Z list}{all}% +{Set's the list of the elements to display in the Periodic Table. It could be a \lblue{name} or a \lblue{comma sepa\-rated} list of atomic numbers (\hyperlink{Zlistdesc}{see below}), which in turn supports \textit{the dots notation} as explained in the section \textit{Repeating Things: The Foreach Statement} in the \href{https://www.ctan.org/pkg/pgf}{pgfmanual}.\vskip0pt\relax} \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]% \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}% -\\ [10pt]\pgfPTMoptiontxt{% +\\ [5pt]\pgfPTMoptiontxt{% The possible \lblue{name} is one of the following: \begin{itembar} \item\textbf{built-in}: @@ -20,11 +20,36 @@ The possible \lblue{name} is one of the following: \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{ P1}, \myldots\ , \sq{P7}, \sq{P6*}, \sq{P7*}, which are used, respectively, for the elements of the \textit{1\raisebox{3pt}{\scriptsize st} period}, \myldots\ , \textit{7\raisebox{3pt}{\scriptsize\hspace{.5pt}th} period}, \textit{6\raisebox{3.5pt}{\scriptsize\hspace{.25pt}th} period and lanthanoids}\red{$\,^\dag$}, \textit{7\raisebox{3pt}{\scriptsize\hspace{.5pt}th} period and actinoids}\red{$\,^\dag$}. \\ [3pt]\makebox[\linewidth][r]{\scriptsize\red{$^\dag\,$}\textit{Depending on the value of the \red{IUPAC} key, the Lanthanum or Actinium are or are not included}.} \end{itemize} -\item -any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} +\item any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} \end{itembar}% }% -\\ [-10pt]\pgfPTendoption% +\newpage%\vspace{-34pt}\ % +\pgfPTMoptiontxt{% +\hypertarget{Zlistdesc}{Since} \blue{v2.1.5} the \red{Z list} supports a new syntax which makes possible to get \textit{empty} cells \textit{anywhere} in the Periodic Table. The \red{Z list} can be: +\vspace{6pt} +\begin{itembar} +\item a list of numbers -- \green{Z list=\{1,...,118\}} or \green{Z list=\{1,2,3,4,5,6,11,12,13,14,15,16\}}. +\item[] +\item a list of numbers preceded with a star -- \green{Z list=*\{1,...,5,9,10,...,24\}} or \green{Z list=*(\red{options})\{1,...,5,9, 10,...,24\}}. +\begin{itemize} +\item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}] \red{Z list} preceded only with a star: +\\ It is used to draw the cells skipped in the list without information, but with the atomic number and filling. +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=*{1,...,5,9,10,...,18}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=*{1,...,5,9,10,...,18}]}}% +\item[] +\item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}] \red{Z list} is preceded with a star followed by \red{options}: +\\ It is used to draw the cells skipped in the list without information, with what is shown and how it is shown controlled by the options. There are only two options available -- \red{hide Z} and \red{back color=<color>} -- which can be used separately or as a comma separated pair in any order. +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=*(hide Z){1,...,5,9,10,...,18}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=*(hide Z){1,...,5,9,10,...,18}]}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=*({back color=white}){1,...,5,9,10,...,18}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=*({back color=white}){1,...,5,9,10,...,18}]}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list=*({hide Z,back color=white}){1,...,5,9,10,...,18}]% +\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list=*({hide Z,back color=white}){1,...,5,9,10,...,18}]}}% +\\ [10pt]The \textit{starred} version of the \red{Z list} can be used as an alternative or a complement to the \hyperlink{exMODE}{Exercise layout} mode of the Periodic Table. +\end{itemize} +\end{itembar}% +}% +\\ [-5pt]\pgfPTendoption% \newpage\vspace{-34pt}\ % % cell width \label{option_cell width}% @@ -84,10 +109,15 @@ any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} % font \vfill% \label{option_font}% -\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}. +\pgfPTMoption[\pgfPTchangedinversion{2.1.5}]{4}{font}{\raisebox{-\baselineskip}{% +\vbox{\hsize=.675\linewidth\hbox{phv (\textrm{pdf\LaTeX}); TeX Gyre Heros (\textrm{Xe\LaTeX} or \textrm{Lua\LaTeX});}% +\hbox{BabelStone Han (for Chinese)}}}% +}% +%phv (\textrm{pdf\LaTeX}); TeX Gyre Heros (\textrm{Xe\LaTeX} or \textrm{Lua\LaTeX});\par BabelStone Han (for Chinese)}% +{\ \\ [8pt]Sets the font family, via the proper \textrm{\LaTeX} \textit{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 \textrm{\LaTeX} \textit{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 or} \textrm{\LaTeX} \textit{distribuition} and with \textrm{Lua\LaTeX} it can also be any \textit{font name available in your} \textrm{TEXMF} \textit{tree}. +\\ [2pt]If the Chinese language is loaded the default font is BabelStone Han. See \hyperlink{subsec::zhLang}{Chinese} user language for more details. \\ \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]% @@ -148,14 +178,24 @@ any \textbf{user defined} name via \pgfPTMmacro{pgfPTnewZlist}[]\{name\}\{list\} \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% +\vfill +% back color +\label{option_back color}% +\pgfPTMoption{4}{back color}{white}% +{Sets the background of each cell of the Periodic Table. It only takes effect if the \red{back color scheme} key is set to \red{solid}}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},back color=black!15]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},back color=black!15]}}% +\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},back color scheme=solid,back color=black!15]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},back color scheme=solid,back color=black!15]}}% +\\ [5pt]\pgfPTendoption% +\newpage\vspace{-34pt}\ % % back color scheme \label{option_back color scheme}% -\vfill \pgfPTMoption{4}{back color scheme}{pgfPTdefault}% {Sets a \blue{named} back color scheme for the Periodic Table.}% -\\ [5pt]\pgfPTMmacrobox{pgfPT}[back color scheme=pgfPTSoft]% -\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[back color scheme=pgfPTSoft]}}% -\newpage% +\\ [2.5pt]\pgfPTMmacrobox{pgfPT}[back color scheme=pgfPTSoft]% +\\ [2.5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[back color scheme=pgfPTSoft]}}% +\vfill \pgfPTMoptiontxt{% The possible \lblue{name} is one of the following: \begin{itembar} @@ -167,7 +207,12 @@ The possible \lblue{name} is one of the following: elements in molecular models. The scheme is named after the CPK molecular models designed by chemists Robert Corey and Linus Pauling, and improved by Walter Koltun. \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTRasmol}, is the color scheme used in the computer software \href{http://www.rasmol.org/}{RasMol}, a program for molecular graphics visualization originally developed by Roger Sayle. \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTRasmolNew}, is a color scheme used in RasMol with revision of CPK colors made by C. Chigbo (RasMol 2.7.3). -\item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTWikipedia}, is the color scheme based on the \href{https://en.wikipedia.org/wiki/Periodic_table\#Classification_of_elements}{Wikipedia Periodic Table of Elements}. +\item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTWikipediaII}, is the color scheme based on the most recent (\href{https://commons.wikimedia.org/wiki/File:Simple_Periodic_Table_Chart-en.svg\#filehistory}{November 2020 to present}) \href{https://en.wikipedia.org/wiki/Periodic_table\#Classification_of_elements}{Wikipedia Periodic Table of Elements}. +\item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTWikipediaI}, is the color scheme based on the previous (\href{https://commons.wikimedia.org/wiki/File:Simple_Periodic_Table_Chart-en.svg\#filehistory}{until October 2020}) Wikipedia Periodic Table of Elements. + \\ [2pt]\tikz{\node[text width=\linewidth-3mm,draw=green!70,rounded corners=2pt,fill=black!10!green!10,inner sep=1.5mm] {% + The higher the number on Wikipedia, the more recent the color scheme. + \\ For backwards compatibility (and also for simplicity) pgfPTWikipedia points to pgfPTWikipediaII.% and csWikipedia points to csWikipediaII, + };} \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTMNM}, is designed to show \textbf{M}etals and \textbf{N}on \textbf{M}etals in two different colors, showing also the semi-metals in a third color. \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTPS}, is designed to show the \textbf{P}hysical \textbf{S}tate of the elements at normal temperature and pressure (NTP) in different colors. \item[\raisebox{1pt}{\scriptsize$\vartriangleright\,$}]\sq{pgfPTRadio}, is designed to show the \textbf{R}adioactive elements in one color and the non radioactive elements in another color. @@ -177,16 +222,7 @@ elements in molecular models. The scheme is named after the CPK molecular models \item any \textbf{user defined} name via \bs{pgfPTnewColorScheme}\lb\red{name}\rb\lb\red{color list}\rb% \end{itembar}% }% -\\ [-5pt]\pgfPTendoption% -% back color -\label{option_back color}% -\pgfPTMoption{4}{back color}{white}% -{Sets the background of each cell of the Periodic Table. It only takes effect if the \red{back color scheme} key is set to \red{solid}}% -\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},back color=black!15]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},back color=black!15]}}% -\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},back color scheme=solid,back color=black!15]% -\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},back color scheme=solid,back color=black!15]}}% -\\ [5pt]\pgfPTendoption% +\\ [-7.5pt]\pgfPTendoption% \newpage\ \vfill% \textit{It is possible to set the \red{back color scheme} key with the built-in names using the following styles}:\vfill% % STYLES for back color schemes -> csSoft,csJmol,csCPK,csRasmol,csRasmolNew,csWikipedia,csMNM,csPS,csRadio,csBlocks,csSolid @@ -199,9 +235,11 @@ elements in molecular models. The scheme is named after the CPK molecular models \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[csSolid=black!15]}}% \\ [5pt]\pgfPTendstyle% \newpage\vspace{-34pt}\ % -\foreach \csName/\x in {Soft/0,Jmol/1,CPK/0,Rasmol/1,RasmolNew/0,Wikipedia/1,MNM/0,PS/1,Radio/0,Blocks/1}{% +%\foreach \csName/\x in {Soft/0,Jmol/1,CPK/0,Rasmol/1,RasmolNew/0,Wikipedia/1,MNM/0,PS/1,Radio/0,Blocks/1}{% +\foreach \csName/\x\desc in {Soft/0/Soft,Jmol/1/Jmol,CPK/0/CPK,Rasmol/1/Rasmol,RasmolNew/0/RasmolNew,% +Wikipedia/1/WikipediaII,WikipediaI/0/WikipediaI,WikipediaII/1/WikipediaII,MNM/0/MNM,PS/1/PS,Radio/0/Radio,Blocks/1/Blocks}{% \pgfPTMstyletxt{4}{cs\csName}{no value}% -{A style equivalent to \red{back color scheme=pgfPT\csName}}% +{A style equivalent to \red{back color scheme=pgfPT\desc}}% \\ [5pt]\pgfPTMmacrobox{pgfPT}[cs\csName]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[cs\csName]}}% \\ [0pt]\pgfPTendstyle% diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex index ff09b0b2e16..07bf4200371 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex @@ -10,6 +10,7 @@ \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show period numbers=false]}}% \\ [5pt]\pgfPTendoption% % show group numbers +\newpage\vspace{-34pt}\ % \label{option_show group numbers}% \pgfPTMoption{4}{show group numbers}{true}% {When set to \red{true} the group numbers are shown, otherwise they are not shown.}% diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_user_compactPT.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_user_compactPT.pdf Binary files differnew file mode 100644 index 00000000000..adc5c41f5f0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_user_compactPT.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.pdf Binary files differnew file mode 100644 index 00000000000..ec28f5dc442 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.tex new file mode 100644 index 00000000000..b0d2008a90f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_1.tex @@ -0,0 +1,10 @@ +\documentclass{article} +\usepackage[userlang=zh]{pgf-PeriodicTable}% + +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{0pt}% + +\begin{document}\noindent% +\pgfPT +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.pdf Binary files differnew file mode 100644 index 00000000000..046a4210ea3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.tex new file mode 100644 index 00000000000..4775b8e0091 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_2.tex @@ -0,0 +1,10 @@ +\documentclass{article} +\usepackage[userlang=zh,numerals=zh]{pgf-PeriodicTable}% + +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{0pt}% + +\begin{document}\noindent% +\pgfPT +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.pdf Binary files differnew file mode 100644 index 00000000000..41ede02fc5c --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.tex new file mode 100644 index 00000000000..f0af9374790 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_3.tex @@ -0,0 +1,17 @@ +\documentclass{article} +\usepackage[userlang=zh]{pgf-PeriodicTable}% + +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{0pt}% + +\begin{document}\noindent% +\setmainfont{SimSun} +\pgfPTzhtextfontSS{SimSun}% font for names of elements Z={109,112.113,117,118} -> +% meitnerium, copernicium, nihonium, tennessine, oganesson +\pgfPTzhtextfontSSB{SimSun-ExtB}% font for names of elements Z={104,105,106,107,108,110,111,114} -> +% rutherfordium, dubnium, seaborgium, bohrium, hassium,darmstadtium, roentgenium, flerovium +\pgfPTzhtextfontLv{SimSun-ExtB}% font for name of element Z={116} -> livermorium + +\pgfPT[font=SimSun] +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.pdf Binary files differnew file mode 100644 index 00000000000..0afcb0d8858 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.tex new file mode 100644 index 00000000000..896f22bb61e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPT_zh_fonts.tex @@ -0,0 +1,105 @@ +% !TeX TS-program = XeLaTeX + +\documentclass{article} + +\usepackage{fontspec}[2020/02/03] +\setmainfont{Verdana} +\usepackage{tikz} + +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{0pt}% + +\newcount\nl\nl=1\relax% line number +\newcount\nc\nc=0\relax% column number +\newdimen\wdc\wdc=75pt\relax% column width + +% TeX Live 2024 Fonts: +% FandolSong,FandolFang,FandolHei,FandolKai,AR PL SungtiL GB,AR PL KaitiM GB (collection-langcjk + collection-langchinese) +% Microsoft Fonts: +% Win10 & 11: SimSun & SimSun-ExtB +% Win10 & 11: Microsoft YaHei & Microsoft YaHei UI +% Win10 & 11: Microsoft JhengHei & Microsoft JhengHei UI + +% Testing the Fonts: +\def\pgfPTzhTF#1{\begingroup\setmainfont{\typeface}#1\endgroup} + +\begin{document} +\begin{tikzpicture}[every node/.style={below right,text depth=0pt}] +\node[minimum height=14pt,text width=100pt,align=center,inner sep=0pt,draw] +at (0,0) {\bfseries ELEMENT}; +\foreach \element in {hydrogen,\ldots,lawrencium,% +rutherfordium,dubnium,seaborgium,bohrium,hassium,meitnerium,darmstadtium,% +roentgenium,copernicium,nihonium,flerovium,livermorium,tennessine,oganesson% +}% +{% +\node[minimum height=14pt,text width=100pt,align=center,inner sep=0pt,draw] +at (0,-14pt*\nl) {\element}; +\global\advance\nl by1\relax% +}% +% ------------- BabelStoneHan Font --------------------------------------------------------- +\node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,fill=green!5] +at (100pt,14pt) {\itshape\resizebox{.9\wdc}{\height}{BabelStone Fonts}};% +\foreach \typeface in {BabelStone Han} +{ +\global\nl=1\relax% +\node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw] +at (100pt+\wdc*\nc,0) {\bfseries\resizebox{.9\wdc}{\height}{\typeface}}; + \foreach \zhElement in {æ°¢,\ldots,铹,𬬻,ð¬Š,ð¬³,ð¬›,ð¬¶,é¿,𫟼,ð¬¬,é¿”,é¿,𫓧,ð«Ÿ·,鿬,é¿«}{ + \node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw,fill=green!5] + at (100pt+\wdc*\nc,-14pt*\nl) {\pgfPTzhTF{\zhElement}}; + \global\advance\nl by1\relax% + } +\global\advance\nc by1\relax% +} +% ------------- Win Fonts ------------------------------------------------------------------- +\node[minimum height=14pt,text width=5*\wdc,align=center,inner sep=0pt,fill=orange!10] +at (100pt+\wdc,14pt) {\itshape Windows 10 \& Windows 11 Fonts};% +\foreach \typeface in {SimSun,SimSun-ExtB,Microsoft YaHei,Microsoft JhengHei,MingLiU-ExtB} +{ +\global\nl=1\relax% +\node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw] +at (100pt+\wdc*\nc,0) {\bfseries\setbox0=\hbox{\typeface}% + \ifdim\wd0>.9\wdc\relax\resizebox{.9\wdc}{\height}{\typeface}\else% + \typeface\fi}; + \foreach \zhElement in {æ°¢,\ldots,铹,𬬻,ð¬Š,ð¬³,ð¬›,ð¬¶,é¿,𫟼,ð¬¬,é¿”,é¿,𫓧,ð«Ÿ·,鿬,é¿«}{ + \node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw] + at (100pt+\wdc*\nc,-14pt*\nl) {\pgfPTzhTF{\zhElement}}; + \global\advance\nl by1\relax% + } +\global\advance\nc by1\relax% +} +% ------------- «newline» ------------------------------------------- +\node[minimum height=14pt,text width=100pt,align=center,inner sep=0pt,draw] +at (0,-266pt) {\bfseries ELEMENT}; +\global\advance\nl by2\relax% +\global\nc=0\relax% +\foreach \element in {hydrogen,\ldots,lawrencium,% +rutherfordium,dubnium,seaborgium,bohrium,hassium,meitnerium,darmstadtium,% +roentgenium,copernicium,nihonium,flerovium,livermorium,tennessine,oganesson% +}% +{% +\node[minimum height=14pt,text width=100pt,align=center,inner sep=0pt,draw] +at (0,-14pt*\nl) {\element}; +\global\advance\nl by1\relax% +}% +% ------------- TeX Live 2024 Fonts -------------------------------- +\node[minimum height=14pt,text width=6*\wdc,align=center,inner sep=0pt,fill=red!10] +at (100pt,-252pt) {\itshape TeX Live 2024 Fonts};% +\foreach \typeface in {FandolSong,FandolFang,FandolHei,FandolKai,AR PL SungtiL GB,AR PL KaitiM GB} +{ +\global\nl=1\relax% +\node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw] +at (100pt+\wdc*\nc,-266pt) {\bfseries\setbox0=\hbox{\typeface}% + \ifdim\wd0>.9\wdc\relax\resizebox{.9\wdc}{\height}{\typeface}\else% + \typeface\fi}; + \foreach \zhElement in {æ°¢,\ldots,铹,𬬻,ð¬Š,ð¬³,ð¬›,ð¬¶,é¿,𫟼,ð¬¬,é¿”,é¿,𫓧,ð«Ÿ·,鿬,é¿«}{ + \node[minimum height=14pt,text width=\wdc,align=center,inner sep=0pt,draw] + at (100pt+\wdc*\nc,-266pt-14pt*\nl) {\pgfPTzhTF{\zhElement}}; + \global\advance\nl by1\relax% + } +\global\advance\nc by1\relax% +} + +\end{tikzpicture} +\end{document} diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex index 0783999e805..73abb57f784 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgfPTmanual.macros.tex @@ -1,6 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Definitions for pgf-PeriodicTable Manual -% Hugo Gomes @ 09/09/2024 v2.1.4 +% Hugo Gomes @ 10/02/2025 v2.1.5 +% Hugo Gomes @ 08/09/2024 v2.1.4 % Hugo Gomes @ 07/08/2024 v2.1.3 % Hugo Gomes @ 01/08/2024 v2.1.2 % Hugo Gomes @ 07/07/2024 v2.1.1 @@ -10,7 +11,7 @@ % 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.1.4}% +\def\pgfPTversion{2.1.5}% \def\pgfPTnewinversion#1{new in v#1}% \def\pgfPTchangedinversion#1{changed in v#1}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf Binary files differindex 9eff3db20be..c395dc96fa3 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex b/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex index c2b22dd9ad3..44ceaf521e0 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/pgf-PeriodicTableManual.tex @@ -10,7 +10,7 @@ \date{\today} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document}% -\usefont{T1}{vna}{m}{n} +\usefont{T1}{verdana}{m}{n}% \begin{titlepage} \vspace{\stretch{1}}% \maketitle\thispagestyle{empty}% @@ -21,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 different languages: English, French, German, Portuguese (from Portugal and from Brazil), Spanish, Italian and translations provided by user contributions -- currently in Dutch only. +\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 (empirical), covalent 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 distribution, electronic configuration (increasing $n$ and increasing $n+\ell$), density, specific heat capacity, thermal conductivity, 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 and Chinese. \\ [6pt] \end{abstract} };}} @@ -43,7 +43,7 @@ \\ [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). \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. +\\ [6pt]It can also be loaded with a comma separated list of \textit{options} to select the desired default language, to use Devanagari or Mandarin numerals in the Atomic Number, Periods and/or Groups or to fix the interaction with the beamer class. \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}{\}}} @@ -64,10 +64,17 @@ There are six \textit{built-in }languages -- English, French, German, Portuguese \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]\textit{The \textcolor{brown!60!black}{user language ISO CODES} available are:} +\vspace{2pt}\hrule\vspace{4pt} +\begin{minipage}[t]{.5\linewidth} +\begin{itemize} +\item[$\checkmark$]\textbf{nl} for Dutch, +\end{itemize}\end{minipage}\begin{minipage}[t]{.5\linewidth} +\begin{itemize} +\item[$\checkmark$]\textbf{zh} for Chinese (simplified). +\end{itemize}\end{minipage} +\vspace{4pt}\hrule\vspace{12pt} +\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}: @@ -98,9 +105,10 @@ This option works with the \textrm{Xe\LaTeX} and \textrm{Lua\LaTeX} engines to t \\ [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. +\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhnumberfont}%\pgfPTzhnumberfont +\\ [3pt]\bs{pgfPTzhnumberfont}\lp\red{font options}\rp\lb\red{font name}\rb +\\ [3pt]\textit{For backwards compatibility (up to v2.1.4) the previous \bs{pgfPTzhfont} command now points to \bs{pgfPTzhnumberfont}, so older documents do not need any changes}. +\\ [3pt]The default font is \textit{BabelStone Han} (since v2.1.5) loaded with the \textit{AutoFakeBold=4} option. For details on installing this font, see the \hyperlink{subsec::zhLang}{Chinese (zh) subsection} below. \\ [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}. @@ -112,6 +120,87 @@ This option works with the \textrm{Xe\LaTeX} and \textrm{Lua\LaTeX} engines to t \\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]% \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPTnumMand2.pdf}}}% \\ [3pt]\pgfPTMline +\newpage% +\subsection{User languages} +\textit{User languages} are provided by user translations. They are only available if passed as an option when loading the package. In addition to the \textit{built-in} languages, the chosen language is the only one available and becomes the default language for the Periodic Table. +\bigskip +\subsubsection{Dutch (nl)} +The Dutch language is 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}{\}}} +\\ [10pt]\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}[]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_nl.pdf}}}% +\\ [3pt]\pgfPTMline +\bigskip +\subsubsection{Chinese (zh)} +\hypertarget{subsec::zhLang}{The Chinese language} is loaded by: +\\ [3pt]\texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textcolor{blue!70!black}{[}\textcolor{brown!60!black}{userlang=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] {% +The default font is \textit{BabelStone Han} \textbf{which is not available in TeX Live}. +\\ It can be downloaded for free from the BabelStone website: +\\ [3pt]\hfil\href{https://www.babelstone.co.uk/Fonts/Han.html}{https://www.babelstone.co.uk/Fonts/Han.html}\hfil};} +\\ [6pt]The use of a font which is not included in the TeX Live software distribution, nor in common Operating Systems, circumvents the missing Ideographs for the most recent elements -- from rutherfordium to oganesson. The BabelStone Han has all of them as can be seen in the following table: +\begin{center}\small +\includegraphics[width=\linewidth]{manualfiles/pgfPT_zh_fonts.pdf} +\\ [3pt]Glyphs available in \textsf{BabelStone Han} font and in some Windows and TeX Live fonts. +\end{center} +\vfill% +To use the BabelStone Han it is necessary to \href{https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip}{download it}, unzip it and install the extracted font file: +\begin{itemize}\small +\item for Windows users, just right click on \textsf{BabelStoneHan.ttf} and choose \textsf{install for all users}. This can also be done in Windows Settings $\rightarrow$ Personalization $\rightarrow$ Fonts. +\item for Linux users, open the Linux Terminal and type \textsf{sudo apt install fonts-BabelStoneHan.ttf} +\item for macOS users, just copy or drag the font file (\textsf{BabelStoneHan.ttf}) into \textsf{/Library/Fonts} or \mbox{double-click} on \textsf{BabelStoneHan.ttf} to open the preview window. Click on \textsf{Install font} button at the bottom of the preview window. +\end{itemize}\medskip +Make sure the \textsf{BabelStone Han} font is \textit{visible} to the \textrm{Xe\LaTeX} or \textrm{Lua\LaTeX} engines. +\\ [9pt]If you do not want to install this font on your operating system, you can place it in the \textsf{truetype} fonts folder in the TeX Live distribution and \textit{Update filename database} in the TeX Live manager. After that, the font will be known only by the filename \textsf{BabelStoneHan.ttf} instead of its name, \textsf{BabelStone Han}. + +\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=zh]\{pgf-PeriodicTable\}}};}% +\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_zh_1.pdf}}}% +\\ [3pt]\pgfPTMline +\vfill +To get the Periodic Table with the atomic number and the period/group numbers in mandarin numerals load the package with the correponding options: +\\ [10pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[userlang=zh,numerals=zh]\{pgf-PeriodicTable\}}};}% +\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_zh_2.pdf}}}% +\\ [3pt]\pgfPTMline +\newpage% +When the Chinese language is loaded four extra commands are defined: +\begin{itemize} +\item\bs{pgfPTzhFontFeatures}\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhFontFeatures} can be used to set font features for the loaded Chinese font (set by the \red{font} option). For more details see the \textsf{fontspec} package documentation. +\item\bs{pgfPTzhtextfontSS}\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhtextfontSS} is used to set the font for the elements meitnerium, copernicium, nihonium, tennessine and oganesson (Z=109, 112. 113, 117 and 118). +\item\bs{pgfPTzhtextfontSSB}\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhtextfontSSB} is used to set the font for the elements rutherfordium, dubnium, seaborgium, bohrium, hassium,darmstadtium, roentgenium and flerovium (Z=104, 105, 106, 107, 108, 110, 111 and 114). +\item\bs{pgfPTzhtextfontLv}\index{COMMANDS@\textbf{COMMANDS}!\textbackslash pgfPTzhtextfontLv} is used to set the livermorium (Z=116) font. +\end{itemize} +The defaults for some features of the Periodic Table are also changed: +\begin{itemize} +\item[--]the \red{name font} is switched from \texttt{\large\textbackslash tiny} to \texttt{\large\textbackslash footnotesize}. +\item[--]the \red{CS font} is switched from \texttt{\large\textbackslash small\textbackslash bfseries} to \texttt{\large\textbackslash large}. +\item[--]the \red{title font} is switched from \texttt{\large\textbackslash Large\textbackslash bfseries} to \texttt{\large\textbackslash LARGE}. +\item[--]when not using the Chinese numerals (loaded with the option \textcolor{brown!60!black}{numerals=zh}) the \red{Z font} is switched from \texttt{\large\textbackslash tiny\textbackslash bfseries} to \texttt{\large\textbackslash scriptsize}, as well the \red{Z padding} is changed from \texttt{\large 0.25ex} to \texttt{\large 0ex}. +\end{itemize} +\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[userlang=zh]\{pgf-PeriodicTable\}}};}% +\\ [-4pt]\tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt,text=black!50] % +{\bs{pgfPTzhtextfontSS}\lb\red{SimSun}\rb\% font for Z=\{109,112.113,117,118\} +\\ \makebox[8em][s]{}\% meitnerium, copernicium, nihonium, tennessine, oganesson +\\ \bs{pgfPTzhtextfontSSB}\lb\red{SimSun-ExtB}\rb\% font for +\\ \makebox[8em][s]{}\% Z=\{104,105,106,107,108,110,111,114\} +\\ \makebox[8em][s]{}\% rutherfordium, dubnium, seaborgium, bohrium, hassium, +\\ \makebox[8em][s]{}\% darmstadtium, roentgenium, flerovium +\\ \bs{pgfPTzhtextfontLv}\lb\red{SimSun-ExtB}\rb\% font for Z=116 +\\ \makebox[8em][s]{}\% livermorium +};}% +\\ [-4pt]\pgfPTMmacrobox[l]{pgfPT}[font=SimSun]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\includegraphics{manualfiles/pgfPT_zh_3.pdf}}}% +\\ [3pt]\pgfPTMline +\newpage% \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{name font=\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 @@ -122,8 +211,27 @@ Using \texttt{\large\textcolor{green!40!black}{\textbackslash usepackage}\textco \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% +\vspace{4pt}\hrule\vspace{4pt}Use a local group: \{\bs{justifying}\bs{pgfPT}\}\vspace{4pt}\hrule% +\subsubsection{beamer} +\textrm{\large beamer}, \pack{} and \textrm{PDF\LaTeX} in combination have an issue: the \texttt{\large\textbackslash textsc} fails to produce the correct small caps. The error given is: +\smallskip\hrule\begin{verbatim} +Font shape `T1/cmss/m/sc' undefined +(Font) using `T1/cmss/m/n' instead on input line ... +\end{verbatim}\hrule +\smallskip\hrule\smallskip\bigskip +To avoid this, the \pack{} package can be loaded with one of the following options: +\begin{description} +\item[\red{beamer}] which loads the \textrm{\large lmodern} package, setting small caps compatibility with beamer via `lmodern' package. +\\ \tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[beamer]\{pgf-PeriodicTable\}}};}% +\item[\red{beamer*}] which sets small caps compatibility with beamer via T1 \textrm{\large cmr} fonts. +\\ \tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[beamer*]\{pgf-PeriodicTable\}}};}% +\item[\red{beamer**}] which sets small caps compatibility with beamer via T1 \textrm{\large cmr} fonts and loads the \textrm{\large silence} package to suppress small caps font substitution warnings. +\\ \tikz{\node[text width=\linewidth-8pt,inner xsep=4pt,align=left,fill=black!10,rounded corners=2pt] % +{\small\textcolor{black!50}{\%\ \string\usepackage[beamer**]\{pgf-PeriodicTable\}}};}% +\end{description} +\newpage \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. \\ [12pt]\header @@ -133,7 +241,7 @@ Commission on Isotopic Abundances and Atomic Weights,\newline\bfseries\textsf{\t \newline(\href{https://ciaaw.org/impressum.htm}{https://ciaaw.org/impressum.htm})}% \\ [-1pt]\linhaimpar{radio}{Radioactivity}{}{(gperiodic-3.0.3, Dec 26 2018)}% \\ [-1pt]\linhapar{R}{Atomic Radius}{$\mathsf{pm}$}{Calculated (Wikidata @04/jul/2022)}% -\\ [-1pt]\linhaimpar{Rcov}{Covalente Radius}{$\mathsf{pm}$}{Single bond, Wikidata @04/jul/2022)}% +\\ [-1pt]\linhaimpar{Rcov}{Covalent Radius}{$\mathsf{pm}$}{Single bond, Wikidata @04/jul/2022)}% \\ [-1pt]\linhapar{Rion}{Ionic Radius}{$\mathsf{pm}$}{(Wikidata @04/jul/2022)}% \\ [-1pt]\linhaimpar{Ei}{First Ionization Energy}{$\mathsf{kJ\cdot mol^{-1}}$}{(Wikidata @04/jul/2022)}% \\ [-1pt]\linhapar{eneg}{Electronegativity\newline (Pauling)}{}{(Wikidata @04/jul/2022)}% @@ -193,8 +301,11 @@ The following options and styles are used to \textit{control} the Periodic Table \input{manualfiles/pgf-PeriodicTableManual_DarkMode.tex}% \label{file:exerciselayout}% \input{manualfiles/pgf-PeriodicTableManual_exerciselayout.tex}% +\vfill% \subsection{\texorpdfstring{$\maltese$ Cell contents options: keys, styles and \itshape pseudo styles}{Cell contents options}} The following options and styles are used for customizing the contents available in each individual cell of the Periodic Table, like the \textit{fonts} or the \textit{colors} used in the shown contents. +\label{file:decSep}% +\input{manualfiles/pgf-PeriodicTableManual_decSep.tex}% \label{file:Z}% \input{manualfiles/pgf-PeriodicTableManual_Z.tex}% \label{file:CS}% @@ -231,6 +342,10 @@ In this part the \hypertarget{sec:lib}{library} packages are documented. They pr \\ [1.6cm]% \input{manualfiles/pgf-PeriodicTableManual_libCS.tex}% \newpage% +\section{Tips \& Tricks: inspired by user questions} +In this section a list of selected user questions and the corresponding answers can be found, hoping it can be useful to anyone using this package. +\input{manualfiles/pgf-PeriodicTableManual_TipsTricks} +\newpage% \section{A few more examples} \input{manualfiles/pgf-PeriodicTableManual_Examples.tex}% \newpage\small% diff --git a/Master/texmf-dist/doc/latex/pgf-periodictable/pgfPT.colorSchemes.info.pdf b/Master/texmf-dist/doc/latex/pgf-periodictable/pgfPT.colorSchemes.info.pdf Binary files differindex a621b090572..68481a1175b 100644 --- a/Master/texmf-dist/doc/latex/pgf-periodictable/pgfPT.colorSchemes.info.pdf +++ b/Master/texmf-dist/doc/latex/pgf-periodictable/pgfPT.colorSchemes.info.pdf diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty b/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty index 41e135194ff..e29d0f458db 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgf-PeriodicTable.sty @@ -1,5 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Hugo Gomes @ 09/09/2024 v2.1.4 +% Hugo Gomes @ 10/02/2025 v2.1.5 +% Hugo Gomes @ 08/09/2024 v2.1.4 % Hugo Gomes @ 07/08/2024 v2.1.3 % Hugo Gomes @ 01/08/2024 v2.1.2 % Hugo Gomes @ 07/07/2024 v2.1.1 @@ -11,7 +12,7 @@ % Hugo Gomes @ 10/10/2022 v1.0.0 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{pgf-PeriodicTable}[08/09/2024 pgf-PeriodicTable v2.1.4]%% +\ProvidesPackage{pgf-PeriodicTable}[10/02/2025 pgf-PeriodicTable v2.1.5]%% \RequirePackage{tikz}% \usetikzlibrary{fadings}% \tikzfading[name=aumentax, left color=transparent!80, right color=transparent!1]% @@ -38,7 +39,8 @@ \newif\ifpgfPT@user@lang\pgfPT@user@langfalse% \newif\ifpgfPT@user@lang@isvalid\pgfPT@user@lang@isvalidfalse% % ISO code language list -------------------------------------> -\def\pggPT@userlanguage@ISOcode@list{nl/Nederlands}% +% added zh in v2.1.5 +\def\pggPT@userlanguage@ISOcode@list{nl/Nederlands,zh/Chinese}% % ---------------------------------------------------------------- \def\pggPT@userlanguage@ISOcode@check#1{% \edef\pgfPT@tmpISOcode{#1}% @@ -68,6 +70,10 @@ \DeclareOption{it}{\def\pgfPT@defaultLanguage{it}}% \DeclareOption{es}{\def\pgfPT@defaultLanguage{es}}% \DeclareOption{br}{\def\pgfPT@defaultLanguage{br}}% +\DeclareOption{beamer}{\def\pgfPT@beamer{setting small caps compatibility with beamer via 'lmodern' package.}}% new in v2.1.5 +\DeclareOption{beamer*}{\def\pgfPT@beamerstar{setting small caps compatibility with beamer via T1 cmr fonts.}}% new in v2.1.5 +\DeclareOption{beamer**}{\def\pgfPT@beamerstar{setting small caps compatibility with beamer via T1 cmr fonts.}% +\def\pgfPT@suppressfontwrn{suppressing small caps font substitution warnings with the 'silence' package.}}% new in v2.1.5 \DeclareOption{dvnnumerals}{% \ifnum\pgfPT@fontspec=0\relax% \def\pgfPT@dvn@wrn{\PackageError{pgfPT}{package option 'numerals=dvn' (Devanagari Numerals) requires 'fontspec' package with XeLaTeX engine...}}% @@ -99,6 +105,8 @@ \pggPT@userlanguage@ISOcode@check{##2}% \ifpgfPT@user@lang@isvalid% \message{Loading \pggPT@userlanguage@ISOcode@Name\space language data...}% +\edef\pgfPT@langtest{zh}\ifx\pgfPT@langtest\pggPT@userlanguage@ISOcode\relax% if Chinese... +\def\pgfPT@lang@zh{}\fi% new v2.1.5 \pgfPT@user@langtrue\def\pgfPT@defaultLanguage{user}% \else% \@latex@error{Unknown language ISO code '\pgfPT@tmpISOcode' for \@cls@pkg\space`\@currname'}% @@ -118,19 +126,69 @@ }% END \DeclareOption* \ExecuteOptions{en}% \ProcessOptions\relax% +% setting beamer \textsc compatibility with beamer and pdfLaTeX. new in v2.1.5 +\ifx\pgfPT@beamer\undefined\relax\else% +\ifnum\pgfPT@fontspec=0\relax% pdfLaTeX +\RequirePackage{lmodern}% +\PackageWarning{pgfPT}{\pgfPT@beamer}\else% XeLaTeX or LuaLaTeX +\PackageWarning{pgfPT}{option 'beamer' ignored.}\fi\fi% +\ifx\pgfPT@beamerstar\undefined\relax\else% +\ifnum\pgfPT@fontspec=0\relax% pdfLaTeX +\DeclareFontShape{T1}{cmss}{m}{sc}{<->sub*cmr/m/sc}{}% +\DeclareFontShape{T1}{cmss}{m}{scsl}{<->sub*cmr/m/scsl}{}% +\DeclareFontShape{T1}{cmss}{bx}{sc}{<->sub*cmr/bx/sc}{}% +\DeclareFontShape{T1}{cmss}{bx}{scsl}{<->sub*cmr/bx/scsl}{}% +\PackageWarning{pgfPT}{\pgfPT@beamerstar} +\ifx\pgfPT@suppressfontwrn\undefined\relax\else% suppressing font warnings +\PackageWarning{pgfPT}{\pgfPT@suppressfontwrn}% +\RequirePackage{silence}% +\WarningFilter{latexfont}{Font shape `T1/cmss/m/sc'}% +\WarningFilter{latexfont}{Font shape `T1/cmss/m/scsl'}% +\WarningFilter{latexfont}{Font shape `T1/cmss/bx/sc'}% +\WarningFilter{latexfont}{Font shape `T1/cmss/bx/scsl'}% +\WarningFilter{latexfont}{Font shape `T1/cmss/m/scit'}% +\WarningFilter{latexfont}{Font shape `T1/cmss/bx/scit'}% +\fi% +\else% XeLaTeX or LuaLaTeX +\PackageWarning{pgfPT}{Option 'beamer' ignored.}\fi\fi% +% \ifx\pgfPT@dvn@wrn\undefined\relax\else\pgfPT@dvn@wrn\fi% \ifx\pgfPT@zh@wrn\undefined\relax\else\pgfPT@zh@wrn\fi% \ifx\pgfPT@zhnumerals\undefined\relax\else% \RequirePackage{zhnumber}% \pgfPT@zhnumbers@Ztrue\pgfPT@zhnumbers@pertrue\pgfPT@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% +%\newfontfamily\pgfPTzhthenumberfont[Script=CJK,AutoFakeBold=4]{SimSun}% changed in v2.1.5 to -> +\newfontfamily\pgfPTzhthenumberfont[Script=CJK,AutoFakeBold=4]{BabelStoneHan.ttf}% +\def\pgfPTzhnumberfont{\@ifnextchar[{\@pgfPTzhnumfont}{\@pgfPTzhnumfont[]}}% changed in v2.1.5 +\def\@pgfPTzhnumfont[#1]#2{\renewfontfamily\pgfPTzhthenumberfont[Script=CJK,#1]{#2}}% +\let\pgfPTnumberfont\pgfPTzhthenumberfont% changed in v2.1.5 +\let\pgfPTzhfont\pgfPTzhnumberfont% new in v2.1.5 for compatibility with previous versions \let\pgfPT@printnum\zhnumber% \fi% \ifx\pgfPT@printnum\undefined\relax\let\pgfPT@printnum\relax\let\pgfPTnumberfont\relax\fi% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Chinese language +\ifx\pgfPT@lang@zh\undefined\relax\else% Chinese +\ifnum\pgfPT@fontspec=0\relax% +\PackageError{pgfPT}{package option 'userlang=zh' (Chinese) requires 'fontspec' package with XeLaTeX or LuaLaTeX engines...}% +\else% +% setting font features +\def\pgfPT@zhFontFeatures{[Script=CJK,AutoFakeBold=4]}% +\def\pgfPTzhFontFeatures#1{\def\pgfPT@zhFontFeatures{[Script=CJK,#1]}}% +% extra font selection for ideographs not available in «common» fonts (UTF-8 ranges not available) +% - defaults: +\def\pgfPT@fontzhSS{BabelStoneHan.ttf}% font for names of elements Z={109,112.113,117,118} -> +% meitnerium, copernicium, nihonium, tennessine, oganesson +\def\pgfPT@fontzhSSB{BabelStoneHan.ttf}% font for names of elements Z={104,105,106,107,108,110,111,114} -> +% rutherfordium, dubnium, seaborgium, bohrium, hassium,darmstadtium, roentgenium, flerovium +\def\pgfPT@fontzhSSLv{BabelStoneHan.ttf}% font for name of element Z={116} -> livermorium +% - user choices +\def\pgfPTzhtextfontSS#1{\def\pgfPT@fontzhSS{#1}}% +\def\pgfPTzhtextfontSSB#1{\def\pgfPT@fontzhSSB{#1}}% +\def\pgfPTzhtextfontLv#1{\def\pgfPT@fontzhSSLv{#1}}% +\fi% +\fi% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % process user language \ifpgfPT@user@lang% \input{translations/pgfPT.lang.\pggPT@userlanguage@ISOcode.tex}% @@ -154,6 +212,7 @@ \newif\ifpgfPTis@backcolorsolid% \newif\ifpgfPTis@labeldrawn% \newif\ifpgfPT@drawLaAc% +\newif\ifpgfPT@Zliststar\pgfPT@Zliststarfalse% v2.1.5 \def\pgfPT@true{true}% \def\pgfPT@TRUE{TRUE}% \def\pgfPT@false{false}% @@ -199,11 +258,11 @@ % Resetting global style for the Periodic Table \def\pgfPTresetstyle{\tikzset{/pgfPerTable/.cd,languages,other languages font,other languages color,% font,IUPAC,capitalize element names=false,show title,show period numbers,show group numbers,% -show legend,legend acronyms,legend back color,show legend pins,show extra legend,legend radio color,% +show legend,legend acronyms,legend acronyms font size,legend back color,show legend pins,show extra legend,legend radio color,% legend CS color,legend Z color,show blocks=false,show families=false,show MNM line,show periodic variations=false,% show label LaAc,title font,title color,cell width,cell height,cell style,label font,period label color,group label color,% label LaAc font,group numbers,Roman label color,Z list,CS solid, CS liquid,CS gas,CS synt,CS font,CS render mode,CS outline color,CS outline width,% -Z backcolor,Z color,Z font,Z align,Z padding,Z use box width=false,name color,name font,name align,Ar color,Ar font,Ar label,Ar precision,% +decimal separator,Z backcolor,Z color,Z font,Z align,Z padding,Z use box width=false,name color,name font,name align,Ar color,Ar font,Ar label,Ar precision,% R color,R font,Rcov color,Rcov font,Rion color,Rion font,Ei color,Ei font,eneg color,eneg font,eaff color,eaff font,% O color,O font,O Roman=false,Tmelt color,Tmelt font,TmeltC color,TmeltC font,Tboil color,Tboil font,TboilC color,TboilC font,% eDist color,eDist font,eDist sep,eConfign color,eConfign font,eConfignl color,eConfignl font,d color,d font,Cp color,Cp font,% @@ -229,15 +288,28 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \def\pgfPT@draw[#1]{% \@pgfPT@setlayers% \tikz[every node/.append style={inner sep=0pt,below right}]{% +% changing defaults for Chinese -> new in v2.1.5 +\ifnum\pgfPT@fontspec=1\relax% fontspec is loaded +\ifx\pgfPT@lang@zh\undefined\relax% other languages +\else% Chinese +\let\pgfPTnamefont\footnotesize\relax\let\pgfPTCSfont\large\relax\let\pgfPTtitlefont\LARGE\relax% +\ifpgfPT@zhnumbers@Z\relax\else\let\pgfPTZfont\scriptsize\relax\edef\@pgf@zhZspace{0ex}\let\pgfPTZspace\@pgf@zhZspace\relax\fi% +\fi\fi% \pgfkeys{/pgfPerTable/.cd,#1}% % setting the font \ifnum\pgfPT@fontspec=1\relax% fontspec is loaded -\edef\pgfPT@defaultfont{phv}% -\ifx\pgfPTglobalfont\pgfPT@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 «extra space» before ':' for babel:french + \edef\pgfPT@defaultfont{phv}% + \ifx\pgfPT@lang@zh\undefined\relax% other languages -> new if in v2.1.5 + \ifx\pgfPTglobalfont\pgfPT@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 «extra space» before ':' for babel:french + \else% Chinese -> new in v2.1.5 + \ifx\pgfPTglobalfont\pgfPT@defaultfont\relax\edef\pgfPTglobalfont{BabelStoneHan.ttf}\fi% replacing 'phv' by 'BabelStone Han' + \setmainfont[\pgfPT@zhFontFeatures]{\pgfPTglobalfont}% + \fi% Chinese \else% fontenc is loaded (with T1 option) \fontfamily{\pgfPTglobalfont}\selectfont\renewcommand*\rmdefault{\pgfPTglobalfont}\fi% +% \edef\pgfPT@doc@fsize{\f@size}% \input{pgfPT.coordinates.tex}% % loading the cell style @@ -308,6 +380,15 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \savebox{\pgfPT@radiobox}{\includegraphics[height=\pgfPT@dima]{pgfPT_radio_symbol.pdf}} % computing and defining the font size for standard atomic weight -----> \ifpgfPT@Arstar\pgfPTArfont\selectfont\pgfmathsetlength{\pgfPT@dimb}{.825*\f@size}\relax\fi% +% shifts for Z, if in the corners of the cell +\newdimen\pgfPT@tmpwd\pgfmathsetlength{\pgfPT@tmpwd}{\pgfPTcellwd}% +\newdimen\pgfPT@tmpht\pgfmathsetlength{\pgfPT@tmpht}{\pgfPTcellht}% +\ifx\pgfPT@data@Z@x\undefined\relax\else% +\ifdim\pgfPT@data@Z@x=0pt\relax\xdef\@pgfPT@Zxshift{\pgfPTcelllinewd}\fi% +\ifdim\pgfPT@data@Z@x=\pgfPT@tmpwd\relax\xdef\@pgfPT@Zxshift{-\pgfPTcelllinewd}\fi% +\ifdim\pgfPT@data@Z@y=0pt\relax\xdef\@pgfPT@Zyshift{\pgfPTcelllinewd}\fi% +\ifdim\pgfPT@data@Z@y=\pgfPT@tmpht\relax\xdef\@pgfPT@Zyshift{-\pgfPTcelllinewd}\fi% +\fi% % drawing the cells of lanthanides and actinides -----> \ifpgfPTIUPACMMIX% \global\pgfPT@drawLaAcfalse% @@ -331,35 +412,36 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@Z \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont% \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% - \pgfmathparse{width("\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \pgfmathparse{width("\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax% \pgfmathparse{\pgfPT@data@Z@wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}}\hspace{\pgfPTZspace}\vfil}};% \else% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}\hspace{\pgfPTZspace}\vfil}};% \fi% \else\let\pgfPT@printnum\relax% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{57--71}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xLa) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{57--71}\hspace{\pgfPTZspace}\vfil}};% \fi% }% \else{% \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% - \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% - \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax\edef\@pgfPT@resizebox{1}% + \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax\edef\@pgfPT@resizebox{1}\edef\pgfPT@zh@scale{1}% \pgfPT@zh@scale -> new in v2.1.5 to scale the Z background in Chinese without zhnumbers \pgfmathparse{\pgfPT@data@Z@wd-1ex}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}\else\edef\@pgfPT@resizebox{0}\fi% \else\let\pgfPT@printnum\relax% \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifx\pgfPT@lang@zh\undefined\relax\edef\pgfPT@zh@scale{1}\else\edef\pgfPT@zh@scale{.8}\fi% \fi% - \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT@data@Z@natwd,inner xsep=.5ex]% - at (xLa) {% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width={\pgfPT@zh@scale*\pgfPT@data@Z@natwd},inner xsep=.5ex]% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xLa) {% \ifpgfPT@zhnumbers@Z% \ifnum\@pgfPT@resizebox=1\relax% - \vbox to\pgfPT@data@Z@ht{\vfil\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}}\vfil}% + \vbox to\pgfPT@data@Z@ht{\vfil\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}}\vfil}% \else% - \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{57}\ --\ \pgfPT@printnum{71}\vfil}% + \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{57}\ -\ \pgfPT@printnum{71}\vfil}% \fi% \else% \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{57--71}\vfil}% @@ -402,35 +484,36 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@Z% \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont% \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% - \pgfmathparse{width("\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \pgfmathparse{width("\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax% \pgfmathparse{\pgfPT@data@Z@wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}}\hspace{\pgfPTZspace}\vfil}};% \else% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}\hspace{\pgfPTZspace}\vfil}};% \fi% \else\let\pgfPT@printnum\relax% \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% - at (xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{89--103}\hspace{\pgfPTZspace}\vfil}};% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xAc) {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{89--103}\hspace{\pgfPTZspace}\vfil}};% \fi% }% \else{% \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% - \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% - \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax\edef\@pgfPT@resizebox{1}% + \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax\edef\@pgfPT@resizebox{1}\edef\pgfPT@zh@scale{1}% \pgfmathparse{\pgfPT@data@Z@wd-1ex}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}\else\edef\@pgfPT@resizebox{0}\fi% \else\let\pgfPT@printnum\relax% \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifx\pgfPT@lang@zh\undefined\relax\edef\pgfPT@zh@scale{1}\else\edef\pgfPT@zh@scale{.85}\fi% \fi% - \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT@data@Z@natwd,inner xsep=.5ex]% - at (xAc) {% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width={\pgfPT@zh@scale*\pgfPT@data@Z@natwd},inner xsep=.5ex]% + at ([xshift=.5*\@pgfPT@Zxshift,yshift=-.5*\@pgfPT@Zyshift]xAc) {% \ifpgfPT@zhnumbers@Z% \ifnum\@pgfPT@resizebox=1\relax% - \vbox to\pgfPT@data@Z@ht{\vfil\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}}\vfil}% + \vbox to\pgfPT@data@Z@ht{\vfil\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}}\vfil}% \else% - \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{89}\ --\ \pgfPT@printnum{103}\vfil}% + \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{89}\ -\ \pgfPT@printnum{103}\vfil}% \fi% \else% \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{89--103}\vfil}% @@ -458,15 +541,6 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \edef\pgfPT@teststra{lanthanoids}\ifx\pgfPT@teststra\pgfPT@teststrb\pgfPT@drawLaAcfalse\xdef\pgfPT@@cellslist{\pgfPT@cells@La}\fi% \edef\pgfPT@teststra{actinoids}\ifx\pgfPT@teststra\pgfPT@teststrb\pgfPT@drawLaAcfalse\xdef\pgfPT@@cellslist{\pgfPT@cells@Ac}\fi% \fi% -% shifts for Z, if in the corners of the cell -\newdimen\pgfPT@tmpwd\pgfmathsetlength{\pgfPT@tmpwd}{\pgfPTcellwd}% -\newdimen\pgfPT@tmpht\pgfmathsetlength{\pgfPT@tmpht}{\pgfPTcellht}% -\ifx\pgfPT@data@Z@x\undefined\relax\else% -\ifdim\pgfPT@data@Z@x=0pt\relax\xdef\@pgfPT@Zxshift{\pgfPTcelllinewd}\fi% -\ifdim\pgfPT@data@Z@x=\pgfPT@tmpwd\relax\xdef\@pgfPT@Zxshift{-\pgfPTcelllinewd}\fi% -\ifdim\pgfPT@data@Z@y=0pt\relax\xdef\@pgfPT@Zyshift{\pgfPTcelllinewd}\fi% -\ifdim\pgfPT@data@Z@y=\pgfPT@tmpht\relax\xdef\@pgfPT@Zyshift{-\pgfPTcelllinewd}\fi% -\fi% % drawing the cells of the Periodic Table -----> \foreach \Z in \pgfPT@@cellslist {% \ifpgfPTis@backcolorsolid\relax\else\pgfPT@processbackcolor{\Z}\fi% @@ -571,16 +645,17 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@Ar% \ifnum\pgfPTArprecision<0\relax% \node[font=\pgfPTArfont,text=\pgfPTArcolor,text width=\pgfPT@data@Ar@wd,text centered]% - at ([xshift=\pgfPT@data@Ar@x,yshift=-\pgfPT@data@Ar@y]\Z) {\vbox to\pgfPT@data@Ar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@data@Ar}\vfil}};% + at ([xshift=\pgfPT@data@Ar@x,yshift=-\pgfPT@data@Ar@y]\Z) {\vbox to\pgfPT@data@Ar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@formatnumber{-1}{\pgfPT@data@Ar}}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTArprecision>3\relax% \node[font=\pgfPTArfont,text=\pgfPTArcolor,text width=\pgfPT@data@Ar@wd,text centered]% - at ([xshift=\pgfPT@data@Ar@x,yshift=-\pgfPT@data@Ar@y]\Z) {\vbox to\pgfPT@data@Ar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@data@Ar}\vfil}};% + at ([xshift=\pgfPT@data@Ar@x,yshift=-\pgfPT@data@Ar@y]\Z) {\vbox to\pgfPT@data@Ar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@formatnumber{-1}{\pgfPT@data@Ar}}\vfil}};% % changed in v2.1.5 \else% \node[font=\pgfPTArfont,text=\pgfPTArcolor,text width=\pgfPT@data@Ar@wd,text centered]% at ([xshift=\pgfPT@data@Ar@x,yshift=-\pgfPT@data@Ar@y]\Z) {\vbox to\pgfPT@data@Ar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@formatnumber{\pgfPTArprecision}{\pgfPT@data@Ar}}\vfil}};% \fi\fi%\fi% \fi% - \ifpgfPT@Arstar% + \ifpgfPT@Arstar% changed in v2.1.5 + \ifx\pgfPTdecimalseparator\pgfPT@dot\relax% \node[font=\pgfPTArfont,% text=\pgfPTArcolor,text width=\pgfPT@data@Arstar@wd,text centered]% at ([xshift=\pgfPT@data@Arstar@x,yshift=-\pgfPT@data@Arstar@y]\Z) % @@ -588,6 +663,15 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \vbox to\pgfPT@data@Arstar@ht{\vfil\resizebox{.95\textwidth}{!}{\pgfPT@box@zerodepth{\pgfPT@data@Arstar}}\vfil}% \else\vbox to\pgfPT@data@Arstar@ht{\vfil\pgfPT@box@zerodepth{\pgfPT@data@Arstar}\vfil}\fi% };% + \else% replace . in value1/2 by user decimal separator and the , by ; in [value1,value2] if it is the case + \node[font=\pgfPTArfont,% + text=\pgfPTArcolor,text width=\pgfPT@data@Arstar@wd,text centered]% + at ([xshift=\pgfPT@data@Arstar@x,yshift=-\pgfPT@data@Arstar@y]\Z) % + {\setbox0=\hbox{\expandafter\pgfPT@formatArstar\pgfPT@data@Arstar\relax}\ifdim\wd0>.95\textwidth\relax% + \vbox to\pgfPT@data@Arstar@ht{\vfil\resizebox{.95\textwidth}{!}{\pgfPT@box@zerodepth{\usebox0}}\vfil}% + \else\vbox to\pgfPT@data@Arstar@ht{\vfil\pgfPT@box@zerodepth{\usebox0}\vfil}\fi% + };% + \fi% \fi% % radioactivity \ifpgfPT@radio\relax\ifnum\pgfPT@data@radio=1\relax% @@ -644,10 +728,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@Ei\relax% \ifnum\pgfPTEprecision<0\relax% \node[font=\pgfPTEifont,text=\pgfPTEicolor,text width=\pgfPT@data@Ei@wd,text centered]% - at ([xshift=\pgfPT@data@Ei@x,yshift=-\pgfPT@data@Ei@y]\Z) {\vbox to\pgfPT@data@Ei@ht{\vfil\pgfPT@data@Ei\vfil}};% - \else\ifnum\pgfPTEprecision>2\relax% + at ([xshift=\pgfPT@data@Ei@x,yshift=-\pgfPT@data@Ei@y]\Z) {\vbox to\pgfPT@data@Ei@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Ei}\vfil}};% changed in v2.1.5 + \else\ifnum\pgfPTEprecision>2\relax%0 \node[font=\pgfPTEifont,text=\pgfPTEicolor,text width=\pgfPT@data@Ei@wd,text centered]% - at ([xshift=\pgfPT@data@Ei@x,yshift=-\pgfPT@data@Ei@y]\Z) {\vbox to\pgfPT@data@Ei@ht{\vfil\pgfPT@data@Ei\vfil}};% + at ([xshift=\pgfPT@data@Ei@x,yshift=-\pgfPT@data@Ei@y]\Z) {\vbox to\pgfPT@data@Ei@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Ei}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTEifont,text=\pgfPTEicolor,text width=\pgfPT@data@Ei@wd,text centered]% at ([xshift=\pgfPT@data@Ei@x,yshift=-\pgfPT@data@Ei@y]\Z) {\vbox to\pgfPT@data@Ei@ht{\vfil\pgfPT@formatnumber{\pgfPTEprecision}{\pgfPT@data@Ei}\vfil}};% @@ -662,10 +746,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@eaff\relax% \ifnum\pgfPTEprecision<0\relax% \node[font=\pgfPTeafffont,text=\pgfPTeaffcolor,text width=\pgfPT@data@eaff@wd,text centered]% - at ([xshift=\pgfPT@data@eaff@x,yshift=-\pgfPT@data@eaff@y]\Z) {\vbox to\pgfPT@data@eaff@ht{\vfil\pgfPT@data@eaff\vfil}};% + at ([xshift=\pgfPT@data@eaff@x,yshift=-\pgfPT@data@eaff@y]\Z) {\vbox to\pgfPT@data@eaff@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@eaff}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTEprecision>1\relax% \node[font=\pgfPTeafffont,text=\pgfPTeaffcolor,text width=\pgfPT@data@eaff@wd,text centered]% - at ([xshift=\pgfPT@data@eaff@x,yshift=-\pgfPT@data@eaff@y]\Z) {\vbox to\pgfPT@data@eaff@ht{\vfil\pgfPT@data@eaff\vfil}};% + at ([xshift=\pgfPT@data@eaff@x,yshift=-\pgfPT@data@eaff@y]\Z) {\vbox to\pgfPT@data@eaff@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@eaff}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTeafffont,text=\pgfPTeaffcolor,text width=\pgfPT@data@eaff@wd,text centered]% at ([xshift=\pgfPT@data@eaff@x,yshift=-\pgfPT@data@eaff@y]\Z) {\vbox to\pgfPT@data@eaff@ht{\vfil\pgfPT@formatnumber{\pgfPTEprecision}{\pgfPT@data@eaff}\vfil}};% @@ -700,19 +784,19 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT at ([xshift=\pgfPT@data@Tmelt@x,yshift=-\pgfPT@data@Tmelt@y]\Z) {% \setbox0=\hbox{\pgfPT@data@Tmelt}\pgfmathsetlength{\pgfPT@dima}{\wd0}% \ifdim\pgfPT@dima>.975\linewidth\relax% - \vbox to\pgfPT@data@Tmelt@ht{\vfil\resizebox{.95\linewidth}{\height}{\pgfPT@data@Tmelt}\vfil}% + \vbox to\pgfPT@data@Tmelt@ht{\vfil\resizebox{.95\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@Tmelt}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@Tmelt@ht{\vfil\pgfPT@data@Tmelt\vfil}% + \vbox to\pgfPT@data@Tmelt@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Tmelt}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTTprecision>4\relax% \node[font=\pgfPTTmeltfont,text=\pgfPTTmeltcolor,text width=\pgfPT@data@Tmelt@wd,text centered]% at ([xshift=\pgfPT@data@Tmelt@x,yshift=-\pgfPT@data@Tmelt@y]\Z) { - \setbox0=\hbox{\pgfPT@data@Tmelt}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@Tmelt}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.975\linewidth\relax% - \vbox to\pgfPT@data@Tmelt@ht{\vfil\resizebox{.95\linewidth}{\height}{\pgfPT@data@Tmelt}\vfil}% + \vbox to\pgfPT@data@Tmelt@ht{\vfil\resizebox{.95\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@Tmelt}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@Tmelt@ht{\vfil\pgfPT@data@Tmelt\vfil}% + \vbox to\pgfPT@data@Tmelt@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Tmelt}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -732,21 +816,21 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifnum\pgfPTTprecision<0\relax% \node[font=\pgfPTTmeltCfont,text=\pgfPTTmeltCcolor,text width=\pgfPT@data@TmeltC@wd,text centered]% at ([xshift=\pgfPT@data@TmeltC@x,yshift=-\pgfPT@data@TmeltC@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@TmeltC}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@TmeltC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@TmeltC}\vfil}% + \vbox to\pgfPT@data@TmeltC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@TmeltC@ht{\vfil\pgfPT@data@TmeltC\vfil}% + \vbox to\pgfPT@data@TmeltC@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTTprecision>4\relax% \node[font=\pgfPTTmeltCfont,text=\pgfPTTmeltCcolor,text width=\pgfPT@data@TmeltC@wd,text centered]% at ([xshift=\pgfPT@data@TmeltC@x,yshift=-\pgfPT@data@TmeltC@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@TmeltC}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@TmeltC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@TmeltC}\vfil}% + \vbox to\pgfPT@data@TmeltC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@TmeltC@ht{\vfil\pgfPT@data@TmeltC\vfil}% + \vbox to\pgfPT@data@TmeltC@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@TmeltC}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -766,21 +850,21 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifnum\pgfPTTprecision<0\relax% \node[font=\pgfPTTboilfont,text=\pgfPTTboilcolor,text width=\pgfPT@data@Tboil@wd,text centered]% at ([xshift=\pgfPT@data@Tboil@x,yshift=-\pgfPT@data@Tboil@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@Tboil}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@Tboil@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@Tboil}\vfil}% + \vbox to\pgfPT@data@Tboil@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@Tboil@ht{\vfil\pgfPT@data@Tboil\vfil}% + \vbox to\pgfPT@data@Tboil@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTTprecision>2\relax% \node[font=\pgfPTTboilfont,text=\pgfPTTboilcolor,text width=\pgfPT@data@Tboil@wd,text centered]% at ([xshift=\pgfPT@data@Tboil@x,yshift=-\pgfPT@data@Tboil@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@Tboil}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@Tboil@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@Tboil}\vfil}% + \vbox to\pgfPT@data@Tboil@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@Tboil@ht{\vfil\pgfPT@data@Tboil\vfil}% + \vbox to\pgfPT@data@Tboil@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Tboil}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -800,21 +884,21 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifnum\pgfPTTprecision<0\relax% \node[font=\pgfPTTboilCfont,text=\pgfPTTboilCcolor,text width=\pgfPT@data@TboilC@wd,text centered]% at ([xshift=\pgfPT@data@TboilC@x,yshift=-\pgfPT@data@TboilC@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@TboilC}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@TboilC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@TboilC}\vfil}% + \vbox to\pgfPT@data@TboilC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@TboilC@ht{\vfil\pgfPT@data@TboilC\vfil}% + \vbox to\pgfPT@data@TboilC@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTTprecision>2\relax% \node[font=\pgfPTTboilCfont,text=\pgfPTTboilCcolor,text width=\pgfPT@data@TboilC@wd,text centered]% at ([xshift=\pgfPT@data@TboilC@x,yshift=-\pgfPT@data@TboilC@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@TboilC}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@TboilC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@TboilC}\vfil}% + \vbox to\pgfPT@data@TboilC@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@TboilC@ht{\vfil\pgfPT@data@TboilC\vfil}% + \vbox to\pgfPT@data@TboilC@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@TboilC}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -848,21 +932,21 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifnum\pgfPTdprecision<0\relax% \node[font=\pgfPTdfont,text=\pgfPTdcolor,text width=\pgfPT@data@d@wd,text centered]% at ([xshift=\pgfPT@data@d@x,yshift=-\pgfPT@data@d@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@d}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@d}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@d@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@d}\vfil}% + \vbox to\pgfPT@data@d@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@d}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@d@ht{\vfil\pgfPT@data@d\vfil}% + \vbox to\pgfPT@data@d@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@d}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTdprecision>\pgfPT@maxprecision\relax% \node[font=\pgfPTdfont,text=\pgfPTdcolor,text width=\pgfPT@data@d@wd,text centered]% at ([xshift=\pgfPT@data@d@x,yshift=-\pgfPT@data@d@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@d}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@d}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@d@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@d}\vfil}% + \vbox to\pgfPT@data@d@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@d}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@d@ht{\vfil\pgfPT@data@d\vfil}% + \vbox to\pgfPT@data@d@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@d}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -881,10 +965,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@Cp\relax% \ifnum\pgfPTCpprecision<0\relax% \node[font=\pgfPTCpfont,text=\pgfPTCpcolor,text width=\pgfPT@data@Cp@wd,text centered]% - at ([xshift=\pgfPT@data@Cp@x,yshift=-\pgfPT@data@Cp@y]\Z) {\vbox to\pgfPT@data@Cp@ht{\vfil\pgfPT@data@Cp\vfil}};% + at ([xshift=\pgfPT@data@Cp@x,yshift=-\pgfPT@data@Cp@y]\Z) {\vbox to\pgfPT@data@Cp@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Cp}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTCpprecision>2\relax% \node[font=\pgfPTCpfont,text=\pgfPTCpcolor,text width=\pgfPT@data@Cp@wd,text centered]% - at ([xshift=\pgfPT@data@Cp@x,yshift=-\pgfPT@data@Cp@y]\Z) {\vbox to\pgfPT@data@Cp@ht{\vfil\pgfPT@data@Cp\vfil}};% + at ([xshift=\pgfPT@data@Cp@x,yshift=-\pgfPT@data@Cp@y]\Z) {\vbox to\pgfPT@data@Cp@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@Cp}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTCpfont,text=\pgfPTCpcolor,text width=\pgfPT@data@Cp@wd,text centered]% at ([xshift=\pgfPT@data@Cp@x,yshift=-\pgfPT@data@Cp@y]\Z) {\vbox to\pgfPT@data@Cp@ht{\vfil\pgfPT@formatnumber{\pgfPTCpprecision}{\pgfPT@data@Cp}\vfil}};% @@ -895,21 +979,21 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifnum\pgfPTkTprecision<0\relax% \node[font=\pgfPTkTfont,text=\pgfPTkTcolor,text width=\pgfPT@data@kT@wd,text centered]% at ([xshift=\pgfPT@data@kT@x,yshift=-\pgfPT@data@kT@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@kT}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@kT}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@kT@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@kT}\vfil}% + \vbox to\pgfPT@data@kT@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@kT}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@kT@ht{\vfil\pgfPT@data@kT\vfil}% + \vbox to\pgfPT@data@kT@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@kT}\vfil}% changed in v2.1.5 \fi% };% \else\ifnum\pgfPTkTprecision>4\relax% \node[font=\pgfPTkTfont,text=\pgfPTkTcolor,text width=\pgfPT@data@kT@wd,text centered]% at ([xshift=\pgfPT@data@kT@x,yshift=-\pgfPT@data@kT@y]\Z) {% - \setbox0=\hbox{\pgfPT@data@kT}\pgfmathsetlength{\pgfPT@dima}{\wd0}% + \setbox0=\hbox{\pgfPT@formatnumber{-1}{\pgfPT@data@kT}}\pgfmathsetlength{\pgfPT@dima}{\wd0}% changed in v2.1.5 \ifdim\pgfPT@dima>.95\linewidth\relax% - \vbox to\pgfPT@data@kT@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@data@kT}\vfil}% + \vbox to\pgfPT@data@kT@ht{\vfil\resizebox{.925\linewidth}{\height}{\pgfPT@formatnumber{-1}{\pgfPT@data@kT}}\vfil}% changed in v2.1.5 \else% - \vbox to\pgfPT@data@kT@ht{\vfil\pgfPT@data@kT\vfil}% + \vbox to\pgfPT@data@kT@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@kT}\vfil}% changed in v2.1.5 \fi% };% \else% @@ -961,10 +1045,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \fi% \ifnum\pgfPTlsprecision<0\relax% \node[font=\pgfPTlsafont,text=\pgfPTlsacolor,text width=\pgfPT@data@lsa@wd,text centered]% - at ([xshift=\pgfPT@data@lsa@x,yshift=-\pgfPT@data@lsa@y]\Z) {\vbox to\pgfPT@data@lsa@ht{\vfil\pgfPT@data@lsa\vfil}};% + at ([xshift=\pgfPT@data@lsa@x,yshift=-\pgfPT@data@lsa@y]\Z) {\vbox to\pgfPT@data@lsa@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsa}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTlsprecision>\pgfPT@maxprecision\relax% \node[font=\pgfPTlsafont,text=\pgfPTlsacolor,text width=\pgfPT@data@lsa@wd,text centered]% - at ([xshift=\pgfPT@data@lsa@x,yshift=-\pgfPT@data@lsa@y]\Z) {\vbox to\pgfPT@data@lsa@ht{\vfil\pgfPT@data@lsa\vfil}};% + at ([xshift=\pgfPT@data@lsa@x,yshift=-\pgfPT@data@lsa@y]\Z) {\vbox to\pgfPT@data@lsa@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsa}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTlsafont,text=\pgfPTlsacolor,text width=\pgfPT@data@lsa@wd,text centered]% at ([xshift=\pgfPT@data@lsa@x,yshift=-\pgfPT@data@lsa@y]\Z) {\vbox to\pgfPT@data@lsa@ht{\vfil\pgfPT@formatnumber{\pgfPTlsprecision}{\pgfPT@data@lsa}\vfil}};% @@ -979,10 +1063,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \fi% \ifnum\pgfPTlsprecision<0\relax% \node[font=\pgfPTlsbfont,text=\pgfPTlsbcolor,text width=\pgfPT@data@lsb@wd,text centered]% - at ([xshift=\pgfPT@data@lsb@x,yshift=-\pgfPT@data@lsb@y]\Z) {\vbox to\pgfPT@data@lsb@ht{\vfil\pgfPT@data@lsb\vfil}};% + at ([xshift=\pgfPT@data@lsb@x,yshift=-\pgfPT@data@lsb@y]\Z) {\vbox to\pgfPT@data@lsb@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsb}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTlsprecision>\pgfPT@maxprecision\relax% \node[font=\pgfPTlsbfont,text=\pgfPTlsbcolor,text width=\pgfPT@data@lsb@wd,text centered]% - at ([xshift=\pgfPT@data@lsb@x,yshift=-\pgfPT@data@lsb@y]\Z) {\vbox to\pgfPT@data@lsb@ht{\vfil\pgfPT@data@lsb\vfil}};% + at ([xshift=\pgfPT@data@lsb@x,yshift=-\pgfPT@data@lsb@y]\Z) {\vbox to\pgfPT@data@lsb@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsb}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTlsbfont,text=\pgfPTlsbcolor,text width=\pgfPT@data@lsb@wd,text centered]% at ([xshift=\pgfPT@data@lsb@x,yshift=-\pgfPT@data@lsb@y]\Z) {\vbox to\pgfPT@data@lsb@ht{\vfil\pgfPT@formatnumber{\pgfPTlsprecision}{\pgfPT@data@lsb}\vfil}};% @@ -997,10 +1081,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \fi% \ifnum\pgfPTlsprecision<0\relax% \node[font=\pgfPTlscfont,text=\pgfPTlsccolor,text width=\pgfPT@data@lsc@wd,text centered]% - at ([xshift=\pgfPT@data@lsc@x,yshift=-\pgfPT@data@lsc@y]\Z) {\vbox to\pgfPT@data@lsc@ht{\vfil\pgfPT@data@lsc\vfil}};% + at ([xshift=\pgfPT@data@lsc@x,yshift=-\pgfPT@data@lsc@y]\Z) {\vbox to\pgfPT@data@lsc@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsc}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTlsprecision>\pgfPT@maxprecision\relax% \node[font=\pgfPTlscfont,text=\pgfPTlsccolor,text width=\pgfPT@data@lsc@wd,text centered]% - at ([xshift=\pgfPT@data@lsc@x,yshift=-\pgfPT@data@lsc@y]\Z) {\vbox to\pgfPT@data@lsc@ht{\vfil\pgfPT@data@lsc\vfil}};% + at ([xshift=\pgfPT@data@lsc@x,yshift=-\pgfPT@data@lsc@y]\Z) {\vbox to\pgfPT@data@lsc@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsc}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTlscfont,text=\pgfPTlsccolor,text width=\pgfPT@data@lsc@wd,text centered]% at ([xshift=\pgfPT@data@lsc@x,yshift=-\pgfPT@data@lsc@y]\Z) {\vbox to\pgfPT@data@lsc@ht{\vfil\pgfPT@formatnumber{\pgfPTlsprecision}{\pgfPT@data@lsc}\vfil}};% @@ -1010,10 +1094,10 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \ifpgfPT@lsca\relax% \ifnum\pgfPTlsprecision<0\relax% \node[font=\pgfPTlscafont,text=\pgfPTlscacolor,text width=\pgfPT@data@lsca@wd,text centered]% - at ([xshift=\pgfPT@data@lsca@x,yshift=-\pgfPT@data@lsca@y]\Z) {\vbox to\pgfPT@data@lsca@ht{\vfil\pgfPT@data@lsca\vfil}};% + at ([xshift=\pgfPT@data@lsca@x,yshift=-\pgfPT@data@lsca@y]\Z) {\vbox to\pgfPT@data@lsca@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsca}\vfil}};% changed in v2.1.5 \else\ifnum\pgfPTlsprecision>1\relax% \node[font=\pgfPTlscafont,text=\pgfPTlscacolor,text width=\pgfPT@data@lsca@wd,text centered]% - at ([xshift=\pgfPT@data@lsca@x,yshift=-\pgfPT@data@lsca@y]\Z) {\vbox to\pgfPT@data@lsca@ht{\vfil\pgfPT@data@lsca\vfil}};% + at ([xshift=\pgfPT@data@lsca@x,yshift=-\pgfPT@data@lsca@y]\Z) {\vbox to\pgfPT@data@lsca@ht{\vfil\pgfPT@formatnumber{-1}{\pgfPT@data@lsca}\vfil}};% changed in v2.1.5 \else% \node[font=\pgfPTlscafont,text=\pgfPTlscacolor,text width=\pgfPT@data@lsca@wd,text centered]% at ([xshift=\pgfPT@data@lsca@x,yshift=-\pgfPT@data@lsca@y]\Z) {\vbox to\pgfPT@data@lsca@ht{\vfil\pgfPT@formatnumber{\pgfPTlsprecision}{\pgfPT@data@lsca}\vfil}};% @@ -1036,6 +1120,86 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \fi% }% end foreach \Z %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% new in v2.1.5 +% process the empty list +\ifpgfPT@Zliststar% +\ifx\pgfPT@emptycellslist@options\undefined\relax\else% +\edef\pgfPT@emptycellslist@option@noZ{hide Z}% +\edef\pgfPT@emptycellslist@option@bc{back color}% +\def\pgfPT@emptycellslist@option@decompose##1=##2\relax{% + \edef\pgfPT@emptycellslist@option@decompose@i{##1}% + \edef\pgfPT@emptycellslist@option@decompose@ii{##2}}% +\@for\@pgfPT@tmp:=\pgfPT@emptycellslist@options\do{% + \ifx\@pgfPT@tmp\pgfPT@emptycellslist@option@noZ\relax\edef\pgfPT@emptycellslist@noZ{}% + \else% + \expandafter\pgfPT@emptycellslist@option@decompose\@pgfPT@tmp\relax% + \ifx\pgfPT@emptycellslist@option@decompose@i\pgfPT@emptycellslist@option@bc\relax% + \edef\pgfPT@emptycellslist@bc{\pgfPT@emptycellslist@option@decompose@ii}% + \else% + \PackageError{pgfPT}{Unknown option '\@pgfPT@tmp'. It will be ignored...}{}% + \fi% + \fi% + }% +\fi% +\foreach \Z in \pgfPT@@emptycellslist {% +\ifx\pgfPT@emptycellslist@bc\undefined\relax% +\ifpgfPTis@backcolorsolid\relax\else\pgfPT@processbackcolor{\Z}\fi% +\else\colorlet{cpgfPTTMP}{\pgfPT@emptycellslist@bc}% +\fi% + % drawing the cell + \draw[fill=cpgfPTTMP,line width=\pgfPTcelllinewd,draw=\pgfPTcelllinecolor] (\Z) rectangle ++(\pgfPTcellwd,-\pgfPTcellht); +\ifx\pgfPT@emptycellslist@noZ\undefined\relax% + % append the Z box + \ifpgfPT@Z% + \ifpgfZuseboxwidth{\pgfPTZfont\pgfPTnumberfont% + \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% + \pgfmathparse{width("\pgfPT@printnum{\Z}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax% + \pgfmathparse{\pgfPT@data@Z@wd-2*\pgfPTZspace-.3333em}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% + at ([xshift=.5*\pgfPT@data@Z@x,yshift=-.5*\pgfPT@data@Z@y]\Z) + {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{\Z}}\hspace{\pgfPTZspace}\vfil}}; + \else% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% + at ([xshift=.5*\pgfPT@data@Z@x,yshift=-.5*\pgfPT@data@Z@y]\Z) + {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{\Z}\hspace{\pgfPTZspace}\vfil}}; + \fi% + \else\let\pgfPT@printnum\relax% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,align=\pgfPTZalign,text width=\pgfPT@data@Z@wd]% + at ([xshift=.5*\pgfPT@data@Z@x,yshift=-.5*\pgfPT@data@Z@y]\Z) + {\vbox to\pgfPT@data@Z@ht{\vfil\hspace{\pgfPTZspace}\pgfPT@printnum{\Z}\hspace{\pgfPTZspace}\vfil}}; + \fi% + }% + \else% + {% + \ifpgfPT@zhnumbers@Z\let\pgfPT@printnum\zhnumber% + \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{\Z}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \ifdim\pgfPT@data@Z@natwd>\pgfPT@data@Z@wd\relax\edef\@pgfPT@resizebox{1}% + \pgfmathparse{\pgfPT@data@Z@wd-1ex}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}\else\edef\@pgfPT@resizebox{0}\fi% + \else\let\pgfPT@printnum\relax% + \pgfPTZfont\pgfPTnumberfont\pgfmathparse{width("\pgfPT@printnum{\Z}")}\pgfmathsetlength{\pgfPT@data@Z@natwd}{\pgfmathresult}% + \fi% + \node[fill=\pgfPTZback,font=\pgfPTZfont,text=\pgfPTZcolor,text width=\pgfPT@data@Z@natwd,inner xsep=.5ex]% + at ([xshift=\pgfPT@data@Z@x+.5*\@pgfPT@Zxshift,yshift=-\pgfPT@data@Z@y-.5*\@pgfPT@Zyshift]\Z) {% + \ifpgfPT@zhnumbers@Z% + \ifnum\@pgfPT@resizebox=1\relax% + \vbox to\pgfPT@data@Z@ht{\vfil\resizebox{\pgfPT@data@Z@natwd}{\height}{\pgfPT@printnum{\Z}}\vfil}% + \else% + \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{\Z}\vfil}% + \fi% + \else% + \vbox to\pgfPT@data@Z@ht{\vfil\pgfPT@printnum{\Z}\vfil}% + \fi% + };}% + \fi% + \fi% +\fi% +\let\pgfPT@emptycellslist@noZ\undefined\relax% +\let\pgfPT@emptycellslist@bc\undefined\relax% +}% +\pgfPT@Zliststarfalse\edef\pgfPT@@cellslist{\pgfPT@@cellslist,\pgfPT@@emptycellslist}% +\fi% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifpgfPTexMode% \expandafter\pgfPT@get@limits\pgfPT@@cellslist\relax% \pgfmathsetcount{\pgfPT@countc}{\pgfPT@limits@min-1}% @@ -1066,6 +1230,7 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT % periods --> \ifpgfPTperlabels% \global\pgfPTis@labeldrawnfalse% +\ifnum\pgfPT@fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}% \foreach \per in {1,...,7} {% \edef\pgfPT@@perlist{\csname pgfPT@cells@P\@Roman\per\endcsname}% \foreach \Zsearch in \pgfPT@@perlist{% @@ -1208,7 +1373,7 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \fi% \ifnum\pgfPT@fontspec=1\relax\setmainfont{\pgfPTglobalfont}\else\fontfamily{\pgfPTglobalfont}\selectfont\fi\fontseries{\seriesdefault}\fontshape{\shapedefault}% \fi% -% groups --> +% groups --> changed in v2.1.5 to accommodate IUPAC*/CAS* with zhnumbers \ifpgfPTgrlabels% \global\pgfPTis@labeldrawnfalse% \pgfPT@gr@numbers{\pgfPTgrnum}% new in v2.1.1 @@ -1218,13 +1383,15 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \foreach \Zsearch in \pgfPT@@grlist{% \foreach \Z in \pgfPT@@cellslist {% \ifnum\Z=\Zsearch\global\pgfPTis@labeldrawntrue% - {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else% + {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr%\let\pgfPT@printnum\zhnumber\else% + \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\zhnumber\fi\else% \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\relax\fi\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift]\Z) {\pgfPT@printnum{\group}}; \ifpgfPT@grarabic\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}% + \ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else\let\pgfPT@printnum\relax\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% - ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {\group};\fi}% + ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {\pgfPT@printnum{\group}};\fi}% \breakforeach\fi% }% \ifpgfPTis@labeldrawn\global\pgfPTis@labeldrawnfalse\breakforeach\fi% @@ -1234,13 +1401,15 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \foreach \Zsearch in \pgfPT@cells@GIIILaAc{% \foreach \Z in \pgfPT@@cellslist {% \ifnum\Z=\Zsearch\global\pgfPTis@labeldrawntrue% - {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else% + {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr%\let\pgfPT@printnum\zhnumber\else% + \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\zhnumber\fi\else% \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\relax\fi\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift]\Z) {\pgfPT@printnum{3}}; \ifpgfPT@grarabic\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}% + \ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else\let\pgfPT@printnum\relax\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% - ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {3};\fi}% + ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {\pgfPT@printnum{3}};\fi}% \breakforeach\fi% }% \ifpgfPTis@labeldrawn\global\pgfPTis@labeldrawnfalse\breakforeach\fi% @@ -1251,13 +1420,15 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \foreach \Zsearch in \pgfPT@@grlist{% \foreach \Z in \pgfPT@@cellslist {% \ifnum\Z=\Zsearch\global\pgfPTis@labeldrawntrue% - {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else% + {\pgfPTlabfont\pgfPTnumberfont\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}\ifpgfPT@zhnumbers@gr% + \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\zhnumber\fi\else% \ifpgfPT@grRoman\let\pgfPT@printnum\pgfPT@gr@Roman\colorlet{pgfPT@grcolor}{\pgfPTRomanlabgrcolor}\else\let\pgfPT@printnum\relax\fi\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift]\Z) {\pgfPT@printnum{\group}};% \ifpgfPT@grarabic\colorlet{pgfPT@grcolor}{\pgfPTlabgrcolor}% + \ifpgfPT@zhnumbers@gr\let\pgfPT@printnum\zhnumber\else\let\pgfPT@printnum\relax\fi% \node[above,font=\pgfPTlabfont,text=pgfPT@grcolor] at% - ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {\group};\fi}% + ([xshift=\pgfPT@@xshift,yshift=\pgfPT@grlabel@yshift+2ex]\Z) {\pgfPT@printnum{\group}};\fi}% \breakforeach\fi% }% \ifpgfPTis@labeldrawn\global\pgfPTis@labeldrawnfalse\breakforeach\fi% @@ -1318,7 +1489,8 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT \draw[fill=black!30,line width=.05pt,draw=black!50] (LCS.east) circle(.05*\pgfPTcellwd) ++(.05*\pgfPTcellwd,0) -- ++(\pgfPT@dimc+.35*\pgfPTcellwd,0); \pgfPTCSfont\selectfont\ifnum\pgfPT@countb>1\relax\pgfmathsetlength{\pgfPT@dima}{.35*\f@size}\pgfmathsetlength{\pgfPT@dimb}{.25*\f@size} \else\pgfmathsetlength{\pgfPT@dima}{.4*\f@size}\fi% - \fontsize{\pgfPT@doc@fsize}{\pgfPT@doc@fsize}\selectfont\relax% + %\fontsize{\pgfPT@doc@fsize}{\pgfPT@doc@fsize}\selectfont\relax% + %\fontsize{\pgfPTlegendacrofontsize}{\pgfPTlegendacrofontsize}\selectfont\relax% \node[legendpins,% text width={.7*\pgfPTcellwd+.2*(\pgfPT@countb-1)*\pgfPTcellwd-4pt},font=\fontsize{\the\pgfPT@dima}{\the\pgfPT@dima}\selectfont,inner xsep=2pt,inner ysep=1pt]% at ([xshift={\pgfPT@dimc+.2*\pgfPTcellwd},yshift={.25*\pgfPT@data@CS@ht}]LCS.east)% @@ -1689,7 +1861,8 @@ d unit,d precision,E precision,ls unit,ls precision,T precision,Cp precision,kT {\pgfPT@theacro};% \fi% % acronyms description - \fontsize{\pgfPT@doc@fsize}{\pgfPT@doc@fsize}\selectfont% + %\fontsize{\pgfPT@doc@fsize}{\pgfPT@doc@fsize}\selectfont% changed in v2.1.5 + \fontsize{\pgfPTlegendacrofontsize}{\pgfPTlegendacrofontsize}\selectfont% \ifnum\pgfPT@countb=2\relax\pgfmathsetlength{\pgfPT@dima}{.4*\f@size}\pgfmathsetlength{\pgfPT@dimb}{.3*\f@size}% \else\ifnum\pgfPT@countb>2\relax\pgfmathsetlength{\pgfPT@dima}{.3*\f@size}\pgfmathsetlength{\pgfPT@dimb}{.2*\f@size}% \else\pgfmathsetlength{\pgfPT@dima}{.45*\f@size}\fi\fi% @@ -3031,8 +3204,13 @@ rectangle % internal macro -> pgfPT@processlist ----------------------------------------------------------- % Analyze the key and store the list of Z numbers in \pgfPT@@cellslist ------------------------ \def\pgfPT@processlist{% -\def\pgfPT@processlist@firstchar##1##2\relax{\edef\pgfPT@tmp{##1}}% +\def\pgfPT@processlist@firstchar##1##2\relax{\edef\pgfPT@tmp{##1}\edef\pgfPT@theotherchars{##2}}% changed in v2.1.5 \expandafter\pgfPT@processlist@firstchar\pgfPTcells\relax% + %\pgfPTcells is a list of Z numbers preceded with a star -> new in v2.1.5 + \edef\pgfPT@liststar{*}% + \ifx\pgfPT@tmp\pgfPT@liststar\relax% + \expandafter\pgfPT@processZlist@star@makeTheLists\pgfPT@theotherchars\relax% + \else% \ifcat1\pgfPT@tmp\relax% %\pgfPTcells is a list of Z numbers \edef\pgfPT@@cellslist{\pgfPTcells}% @@ -3058,7 +3236,45 @@ rectangle \fi% \fi% \fi% + \fi% +}% +% ---- new in v2.1.5 +% \pgfPT@processZlist@star@makeTheLists +% store the original list in \pgfPT@@cellslist +% and makes the list \pgfPT@@emptycellslist with the 'gaps' in the original list +% Example: original list=*({empty list options}){1,...,5,9,10,...24} -> \pgfPT@@cellslist={1,...,5,9,10,...24} and \pgfPT@@emptycellslist={6,7,8} +% empty list options available: hide Z, back color +\def\pgfPT@processZlist@star@makeTheLists#1\relax{\ignorespaces% +\expandafter\pgfPT@processlist@firstchar#1\relax% +\edef\pgfPT@leftpar{(}% +\ifx\pgfPT@tmp\pgfPT@leftpar\relax% options to empty cells +\message{make::parenthesis found::\pgfPT@tmp}% +\def\pgfPT@emptycellslist@get@options(##1)##2\relax{\edef\pgfPT@emptycellslist@options{##1}\edef\pgfPT@@cellslist{##2}}% +\expandafter\pgfPT@emptycellslist@get@options#1\relax% +\else% +\edef\pgfPT@@cellslist{#1}% +\fi% +\def\pgfPT@@emptycellslist{}% +\expandafter\@pgfPT@processZlist@star@makeTheLists\pgfPT@@cellslist\relax% +}% +\def\@pgfPT@processZlist@star@makeTheLists#1\relax{\ignorespaces% +\pgfPT@countf=0% counter to indicate the start (0 -> first list element; 1 -> other list elements) +\foreach \n in {#1} {% + \ifnum\pgfPT@countf=0\relax\xdef\pgfPT@@auxlist@start{\n}\global\pgfPT@countf=1\relax\else% + \xdef\pgfPT@@auxlist@finish{\n}\fi% + }% +\foreach \n in {\pgfPT@@auxlist@start,...,\pgfPT@@auxlist@finish} {% + \gdef\pgfPT@foundinlist{0}% false + \foreach \p in {#1} {% + \ifnum\n=\p\relax\gdef\pgfPT@foundinlist{1}\breakforeach\fi% true + }% + \ifnum\pgfPT@foundinlist=1\relax\else\xdef\pgfPT@@emptycellslist{\pgfPT@@emptycellslist,\n}\fi% + }% +\def\pgfPT@cleanemptycellslist,##1\relax{\edef\pgfPT@@emptycellslist{##1}}% +\ifx\pgfPT@@emptycellslist\empty\relax\else% +\pgfPT@Zliststartrue\expandafter\pgfPT@cleanemptycellslist\pgfPT@@emptycellslist\relax\fi% }% +% ---- % END !! \pgfPT@processlist ---------------------------------------------------------------------- % % INPUT: number list -> {??,...,??} diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.backcolors.keys.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.backcolors.keys.tex index b9e45c2b5ef..fe18893047c 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.backcolors.keys.tex +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.backcolors.keys.tex @@ -15,7 +15,9 @@ \def\pgfPT@backColorsScheme@pgfPTCPK{1/1/1,0/1/1,.467/0/1,0/.467/0,1/.667/.467,.133/.133/.133,.133/.2/1,1/.133/0,.122/.941/.122,0/1/1,.467/0/1,0/.467/0,.867/.467/1,.867/.467/1,1/.6/0,1/.898/.133,.122/.941/.122,0/1/1,.467/0/1,0/.467/0,1/.667/.467,.6/.6/.6,1/.667/.467,1/.667/.467,1/.667/.467,.867/.467/0,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.6/.133/0,0/1/1,.467/0/1,0/.467/0,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.4/0/.733,0/1/1,.467/0/1,0/.467/0,1/.667/.467,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.467/0/1,0/.467/0,1/.667/.467,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,.867/.467/1,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/.667/.467,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1}% \def\pgfPT@backColorsScheme@pgfPTRasmol{1/1/1,1/.753/.796,.698/.133/.133,1/.078/.576,0/1/0,.784/.784/.784,.561/.561/1,.941/0/0,.855/.647/.125,1/.078/.576,0/0/1,.133/.545/.133,.502/.502/.565,.855/.647/.125,1/.647/0,1/.784/.196,0/1/0,1/.078/.576,1/.078/.576,.502/.502/.565,1/.078/.576,.502/.502/.565,1/.078/.576,.502/.502/.565,.502/.502/.565,1/.647/0,1/.078/.576,.647/.165/.165,.647/.165/.165,.647/.165/.165,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.647/.165/.165,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.502/.502/.565,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.627/.125/.941,1/.078/.576,1/.078/.576,1/.647/0,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.855/.647/.125,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1,1/1/1}% \def\pgfPT@backColorsScheme@pgfPTRasmolNew{1/1/1,1/.753/.796,.698/.129/.129,1/.078/.58,0/1/.004,.827/.827/.827,.529/.808/.902,1/0/0,.855/.647/.129,1/.078/.58,0/0/1,.133/.545/.137,.412/.412/.412,.855/.647/.129,1/.667/0,1/1/0,0/1/.004,1/.078/.576,1/.078/.576,.412/.412/.412,1/.078/.58,.412/.412/.412,1/.078/.58,.412/.412/.412,.412/.412/.412,1/.667/0,1/.078/.58,.502/.157/.157,.502/.157/.157,.502/.157/.157,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.502/.157/.157,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.412/.412/.412,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.627/.125/.945,1/.078/.576,1/.078/.576,1/.667/0,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,.855/.647/.129,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576,1/.078/.576}% -\def\pgfPT@backColorsScheme@pgfPTWikipedia{.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,.8/.8/.6,.941/1/.561,.941/1/.561,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,.8/.8/.8,.8/.8/.6,.941/1/.561,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.6,.8/.8/.6,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.6,.8/.8/.6,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,.753/1/1,1/.4/.4,1/.871/.678,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91}% +\def\pgfPT@backColorsScheme@pgfPTWikipediaI{.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,.8/.8/.6,.941/1/.561,.941/1/.561,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,.8/.8/.8,.8/.8/.6,.941/1/.561,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.6,.8/.8/.6,.941/1/.561,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.6,.8/.8/.6,.941/1/.561,.753/1/1,1/.4/.4,1/.871/.678,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,.753/1/1,1/.4/.4,1/.871/.678,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91,.91/.91/.91}% +\def\pgfPT@backColorsScheme@pgfPTWikipediaII{.627/1/.627,.753/1/1,1/.616/.616,1/.871/.678,.8/.8/.6,.627/1/.627,.627/1/.627,.627/1/.627,1/1/.6,.753/1/1,1/.616/.616,1/.871/.678,.8/.8/.8,.8/.8/.6,.627/1/.627,.627/1/.627,1/1/.6,.753/1/1,1/.616/.616,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.6,.8/.8/.6,.627/1/.627,1/1/.6,.753/1/1,1/.616/.616,1/.871/.678,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.6,.8/.8/.6,1/1/.6,.753/1/1,1/.616/.616,1/.871/.678,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.749/1,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,1/1/.6,.753/1/1,1/.616/.616,1/.871/.678,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.6/.8,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,1/.753/.753,.8/.8/.8,.8/.8/.8,.8/.8/.8,.8/.8/.8,1/1/.6,.753/1/1}% +\let\pgfPT@backColorsScheme@pgfPTWikipedia\pgfPT@backColorsScheme@pgfPTWikipediaII\relax% \def\pgfPT@backColorsScheme@pgfPTMNM{.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.878/.816/.753,.91/.839/.659,.91/.839/.659,.91/.839/.659,.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.886/.886/.847,.878/.816/.753,.91/.839/.659,.91/.839/.659,.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.878/.816/.753,.878/.816/.753,.91/.839/.659,.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.878/.816/.753,.878/.816/.753,.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.91/.839/.659,.91/.839/.659,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847,.886/.886/.847}% \def\pgfPT@backColorsScheme@pgfPTPS{.553/.706/.89,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.553/.706/.89,.553/.706/.89,.553/.706/.89,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.553/.706/.89,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.714/.867/.91,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.647/.647/.647,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.647/.647/.647,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.714/.867/.91,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.553/.706/.89,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,1/.878/.718,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647,.647/.647/.647}% \def\pgfPT@backColorsScheme@pgfPTRadio{.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.957/.933/0,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.957/.933/0,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.761/.839/.604,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0,.957/.933/0}% @@ -46,13 +48,15 @@ csJmol/.style={back color scheme=pgfPTJmol},% csCPK/.style={back color scheme=pgfPTCPK},% csRasmol/.style={back color scheme=pgfPTRasmol},% csRasmolNew/.style={back color scheme=pgfPTRasmolNew},% -csWikipedia/.style={back color scheme=pgfPTWikipedia},% +csWikipediaI/.style={back color scheme=pgfPTWikipediaI},% +csWikipediaII/.style={back color scheme=pgfPTWikipediaII},% +csWikipedia/.style={back color scheme=pgfPTWikipediaII},% csMNM/.style={back color scheme=pgfPTMNM},% csPS/.style={back color scheme=pgfPTPS},% csRadio/.style={back color scheme=pgfPTRadio},% csBlocks/.style={back color scheme=pgfPTBlocks},% csSolid/.style={back color scheme=solid,back color=#1}% -}% STYLES -> csSoft,csJmol,csCPK,csRasmol,csRasmolNew,csWikipedia,csMNM,csPS,csRadio,csBlocks,csSolid +}% STYLES -> csSoft,csJmol,csCPK,csRasmol,csRasmolNew,csWikipediaI,csWikipediaII,csWikipedia,csMNM,csPS,csRadio,csBlocks,csSolid % setting keys with default values --------------------------------------------------------------- \pgfkeys{/pgfPerTable/.cd,back color scheme,back color}% % end !! PGF keys: the cells of the periodic table to be drawn ---------------------------------- @@ -60,7 +64,7 @@ csSolid/.style={back color scheme=solid,back color=#1}% \def\pgfPTcolorSchemeInfo{% \global\pgfPT@dima=0pt\relax% \foreach \Z in {1,...,118}{\path (-\pgfPTcellwd,-10pt*\Z) rectangle node[midway,font=\tiny\bfseries] {Z=\Z} ++(\pgfPTcellwd,-10pt);}% -\foreach \cs in {pgfPTdefault,pgfPTSoft,pgfPTJmol,pgfPTCPK,pgfPTRasmol,pgfPTRasmolNew,pgfPTWikipedia,pgfPTMNM,pgfPTPS,pgfPTRadio,pgfPTBlocks}{% +\foreach \cs in {pgfPTdefault,pgfPTSoft,pgfPTJmol,pgfPTCPK,pgfPTRasmol,pgfPTRasmolNew,pgfPTWikipedia,pgfPTWikipediaI,pgfPTWikipediaII,pgfPTMNM,pgfPTPS,pgfPTRadio,pgfPTBlocks}{% \node[below right,text width=\pgfPTcellwd,text centered,font=\tiny,inner xsep=0pt] at (\pgfPT@dima,0pt) {\cs};% \path (\pgfPTcellwd+\pgfPT@dima,0pt) rectangle node[midway,font=\tiny\bfseries] {(r,g,b)} ++(2*\pgfPTcellwd,-10pt);% \edef\pgfPT@@colorlist{\csname pgfPT@backColorsScheme@\cs\endcsname}% diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex index 0a87ee38dda..b04a4ba5a77 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.data.tex @@ -38,7 +38,8 @@ % spectra: visible range spectral lines % cor: Physical state color % -------------------------------------------------------------------------------------------------- -\def\pgfPT@virgula{,\noexpand\hspace{.2ex}}% +%\def\pgfPT@virgula{,\noexpand\hspace{.2ex}}% +\def\pgfPT@virgula{,{\hskip.2ex}}% changed in v2.1.5 (to \pgfPT@formatArstar work...) \def\pgfPT@virgtxt{,\ }% \def\pgfPT@espaco{\noexpand\hspace{.2ex}}% \edef\pgfPT@BClabel{\csname pgfPT@labels@BC@\pgfPT@defaultLanguage\endcsname}\relax% @@ -144,16 +145,16 @@ % \def\pgfPT@data@i{H/CS,1.008/Ar,[1.0078\noexpand\pgfPT@virgula1.0082]/Arstar,0/radio,53/R,32/Rcov,139.9\noexpand\pgfPT@espaco(1-)/Rion,1312/Ei,2.2/eneg,72.77/eaff,\noexpand\pgfPT@pm1/O,\noexpand\pgfPT@pm I/ORoman,13.99/Tmelt,-259.16/TmeltC,20.271/Tboil,-252.879/TboilC,1/eDist,::1s+1/eConfign,::1s+1/eConfignl,0.08988/d,28.836/Cp,0.1805/kT,hex/ls,470/lsa,470/lsb,340/lsc,0.72/lsca,1766/DiscY,21/DiscC,1/spectra,gasoso/cor}% \def\pgfPT@data@ii{He/CS,4.0026/Ar,4.0026/Arstar,0/radio,31/R,46/Rcov,---/Rion,2372.3/Ei,---/eneg,0/eaff,---/O,---/ORoman,---/Tmelt,---/TmeltC,4.222/Tboil,-268.928/TboilC,2/eDist,::1s+2/eConfign,::1s+2/eConfignl,0.1786/d,20.786/Cp,0.1513/kT,fcc/ls,424.4/lsa,/lsb,/lsc,/lsca,1895/DiscY,19/DiscC,1/spectra,gasoso/cor}% -\def\pgfPT@data@iii{Li/CS,6.94/Ar,[6.938\noexpand\pgfPT@virgula6.997] /Arstar,0/radio,167/R,133/Rcov,76\noexpand\pgfPT@espaco(1+)/Rion,520.2/Ei,0.98/eneg,59.63/eaff,+1/O,+I/ORoman,453.65/Tmelt,180.5/TmeltC,1603/Tboil,1330/TboilC,2\noexpand\pgfPTeDistsep1/eDist,[He]::2s+1/eConfign,[He]::2s+1/eConfignl,534/d,24.86/Cp,84.8/kT,bcc/ls,350.93/lsa,/lsb,/lsc,/lsca,1817/DiscY,18/DiscC,1/spectra,solido/cor}% +\def\pgfPT@data@iii{Li/CS,6.94/Ar,[6.938\noexpand\pgfPT@virgula6.997]/Arstar,0/radio,167/R,133/Rcov,76\noexpand\pgfPT@espaco(1+)/Rion,520.2/Ei,0.98/eneg,59.63/eaff,+1/O,+I/ORoman,453.65/Tmelt,180.5/TmeltC,1603/Tboil,1330/TboilC,2\noexpand\pgfPTeDistsep1/eDist,[He]::2s+1/eConfign,[He]::2s+1/eConfignl,534/d,24.86/Cp,84.8/kT,bcc/ls,350.93/lsa,/lsb,/lsc,/lsca,1817/DiscY,18/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@iv{Be/CS,9.0122/Ar,9.0122/Arstar,0/radio,112/R,10/Rcov,45\noexpand\pgfPT@espaco(2+)/Rion,899.5/Ei,1.57/eneg,0/eaff,+2/O,+II/ORoman,1560/Tmelt,1287/TmeltC,2742/Tboil,2469/TboilC,2\noexpand\pgfPTeDistsep2/eDist,[He]::2s+2/eConfign,[He]::2s+2/eConfignl,1850/d,16.443/Cp,200/kT,hcp/ls,228.56/lsa,/lsb,358.32/lsc,1.57/lsca,1798/DiscY,5/DiscC,1/spectra,solido/cor}% -\def\pgfPT@data@v{B/CS,10.81/Ar,[10.806\noexpand\pgfPT@virgula10.821] /Arstar,0/radio,87/R,85/Rcov,27\noexpand\pgfPT@espaco(3+)/Rion,800.6/Ei,2.04/eneg,26.99/eaff,+3/O,+III/ORoman,2349/Tmelt,2076/TmeltC,4200/Tboil,3927/TboilC,2\noexpand\pgfPTeDistsep3/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+1/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+1/eConfignl,2340/d,11.087/Cp,27.4/kT,rho/ls,505.66/lsa,/lsb,/lsc,/lsca,1808/DiscY,7/DiscC,1/spectra,solido/cor}% +\def\pgfPT@data@v{B/CS,10.81/Ar,[10.806\noexpand\pgfPT@virgula10.821]/Arstar,0/radio,87/R,85/Rcov,27\noexpand\pgfPT@espaco(3+)/Rion,800.6/Ei,2.04/eneg,26.99/eaff,+3/O,+III/ORoman,2349/Tmelt,2076/TmeltC,4200/Tboil,3927/TboilC,2\noexpand\pgfPTeDistsep3/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+1/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+1/eConfignl,2340/d,11.087/Cp,27.4/kT,rho/ls,505.66/lsa,/lsb,/lsc,/lsca,1808/DiscY,7/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@vi{C/CS,12.011/Ar,[12.009\noexpand\pgfPT@virgula12.012]/Arstar,0/radio,67/R,75/Rcov,16\noexpand\pgfPT@espaco(4+)/Rion,1086.5/Ei,2.55/eneg,121.78/eaff,0\noexpand\pgfPT@virgula\noexpand\pgfPT@pm1\noexpand\pgfPT@virgula\noexpand\pgfPT@pm2\noexpand\pgfPT@virgula\noexpand\pgfPT@pm3\noexpand\pgfPT@virgula\noexpand\pgfPT@pm4/O,0\noexpand\pgfPT@virgula\noexpand\pgfPT@pm I\noexpand\pgfPT@virgula\noexpand\pgfPT@pm II\noexpand\pgfPT@virgula\noexpand\pgfPT@pm III\noexpand\pgfPT@virgula\noexpand\pgfPT@pm IV/ORoman,3823/Tmelt,3550/TmeltC,4300/Tboil,4027/TboilC,2\noexpand\pgfPTeDistsep4/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+2/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+2/eConfignl,2267/d,8.517/Cp,140/kT,hex/ls,246.12/lsa,/lsb,670.79/lsc,2.73/lsca,3750\noexpand\pgfPT@scaletxt{\pgfPTDiscYBCscale}{\noexpand\pgfPT@espaco\noexpand\pgfPT@BClabel}/DiscY,12/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@vii{N/CS,14.007/Ar,[14.006\noexpand\pgfPT@virgula14.008]/Arstar,0/radio,56/R,71/Rcov,146\noexpand\pgfPT@espaco(3-)\noexpand\pgfPT@virgula16\noexpand\pgfPT@espaco(3+)\noexpand\pgfPT@virgula13\noexpand\pgfPT@espaco(5+)/Rion,1402.3/Ei,3.04/eneg,0/eaff,\noexpand\pgfPT@pm3\noexpand\pgfPT@virgula+4\noexpand\pgfPT@virgula+5/O,\noexpand\pgfPT@pm III\noexpand\pgfPT@virgula+IV\noexpand\pgfPT@virgula+V/ORoman,63.15/Tmelt,-210/TmeltC,77.355/Tboil,-195.795/TboilC,2\noexpand\pgfPTeDistsep5/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+3/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+3/eConfignl,1.251/d,29.124/Cp,0.02583/kT,hex/ls,386.1/lsa,386.1/lsb,626.5/lsc,1.62/lsca,1772/DiscY,21/DiscC,1/spectra,gasoso/cor}% \def\pgfPT@data@viii{O/CS,15.999/Ar,[15.999\noexpand\pgfPT@virgula16.000]/Arstar,0/radio,48/R,63/Rcov,140\noexpand\pgfPT@espaco(2-)/Rion,1313.9/Ei,3.44/eneg,140.98/eaff,--2/O,--II/ORoman,54.36/Tmelt,-218.79/TmeltC,90.188/Tboil,-182.962/TboilC,2\noexpand\pgfPTeDistsep6/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+4/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+4/eConfignl,1.429/d,29.378/Cp,0.02658/kT,mono/ls,540.3/lsa,342.9/lsb,508.6/lsc,0.94/lsca,1771/DiscY,19/DiscC,1/spectra,gasoso/cor}% \def\pgfPT@data@ix{F/CS,18.998/Ar,18.998/Arstar,0/radio,42/R,64/Rcov,133\noexpand\pgfPT@espaco(1-)/Rion,1681/Ei,3.98/eneg,328.16/eaff,--1/O,--I/ORoman,53.48/Tmelt,-219.67/TmeltC,85.04/Tboil,-188.11/TboilC,2\noexpand\pgfPTeDistsep7/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+5/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+5/eConfignl,1.7/d,31.304/Cp,0.0277/kT,mono/ls,550/lsa,328/lsb,728/lsc,1.32/lsca,1886/DiscY,5/DiscC,1/spectra,gasoso/cor}% \def\pgfPT@data@x{Ne/CS,20.18/Ar,20.18/Arstar,0/radio,38/R,67/Rcov,---/Rion,2080.7/Ei,---/eneg,0/eaff,---/O,---/ORoman,24.56/Tmelt,-248.59/TmeltC,27.104/Tboil,-246.046/TboilC,2\noexpand\pgfPTeDistsep8/eDist,[He]::2s+2\noexpand\pgfPT@virgula2p+6/eConfign,[He]::2s+2\noexpand\pgfPT@virgula2p+6/eConfignl,0.9002/d,20.786/Cp,0.0491/kT,fcc/ls,442.9/lsa,/lsb,/lsc,/lsca,1898/DiscY,21/DiscC,1/spectra,gasoso/cor}% \def\pgfPT@data@xi{Na/CS,22.99/Ar,22.99/Arstar,0/radio,190/R,155/Rcov,102\noexpand\pgfPT@espaco(1+)/Rion,495.8/Ei,0.93/eneg,52.87/eaff,+1/O,+I/ORoman,370.944/Tmelt,97.794/TmeltC,1156.09/Tboil,882.94/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep1/eDist,[Ne]::3s+1/eConfign,[Ne]::3s+1/eConfignl,968/d,28.23/Cp,142/kT,bcc/ls,429.06/lsa,/lsb,/lsc,/lsca,1807/DiscY,21/DiscC,1/spectra,solido/cor}% -\def\pgfPT@data@xii{Mg/CS,24.305/Ar,[24.304\noexpand\pgfPT@virgula24.307] /Arstar,0/radio,145/R,139/Rcov,72\noexpand\pgfPT@espaco(2+)/Rion,737.7/Ei,1.31/eneg,0/eaff,+2/O,+II/ORoman,923/Tmelt,650/TmeltC,1363/Tboil,1090/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Ne]::3s+2/eConfign,[Ne]::3s+2/eConfignl,1738/d,24.869/Cp,156/kT,hcp/ls,320.94/lsa,/lsb,521.05/lsc,1.62/lsca,1755/DiscY,21/DiscC,1/spectra,solido/cor}% +\def\pgfPT@data@xii{Mg/CS,24.305/Ar,[24.304\noexpand\pgfPT@virgula24.307]/Arstar,0/radio,145/R,139/Rcov,72\noexpand\pgfPT@espaco(2+)/Rion,737.7/Ei,1.31/eneg,0/eaff,+2/O,+II/ORoman,923/Tmelt,650/TmeltC,1363/Tboil,1090/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Ne]::3s+2/eConfign,[Ne]::3s+2/eConfignl,1738/d,24.869/Cp,156/kT,hcp/ls,320.94/lsa,/lsb,521.05/lsc,1.62/lsca,1755/DiscY,21/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@xiii{Al/CS,26.982/Ar,26.982/Arstar,0/radio,118/R,126/Rcov,53.5\noexpand\pgfPT@espaco(3+)/Rion,577.5/Ei,1.61/eneg,41.76/eaff,+3/O,+III/ORoman,933.47/Tmelt,660.32/TmeltC,2743/Tboil,2470/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep3/eDist,[Ne]::3s+2\noexpand\pgfPT@virgula3p+1/eConfign,[Ne]::3s+2\noexpand\pgfPT@virgula3p+1/eConfignl,2700/d,24.2/Cp,237/kT,fcc/ls,404.95/lsa,/lsb,/lsc,/lsca,1824/DiscY,2/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@xiv{Si/CS,28.085/Ar,[28.084\noexpand\pgfPT@virgula28.086]/Arstar,0/radio,111/R,116/Rcov,40\noexpand\pgfPT@espaco(4+)/Rion,786.5/Ei,1.9/eneg,134.07/eaff,\noexpand\pgfPT@pm4/O,\noexpand\pgfPT@pm IV/ORoman,1687/Tmelt,1414/TmeltC,3538/Tboil,3265/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep4/eDist,[Ne]::3s+2\noexpand\pgfPT@virgula3p+2/eConfign,[Ne]::3s+2\noexpand\pgfPT@virgula3p+2/eConfignl,2330/d,19.789/Cp,149/kT,dia/ls,543.095/lsa,/lsb,/lsc,/lsca,1823/DiscY,18/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@xv{P/CS,30.974/Ar,30.974/Arstar,0/radio,98/R,111/Rcov,212\noexpand\pgfPT@espaco(3-)\noexpand\pgfPT@virgula44\noexpand\pgfPT@espaco(3+)\noexpand\pgfPT@virgula38\noexpand\pgfPT@espaco(5+)/Rion,1011.8/Ei,2.19/eneg,72.04/eaff,\noexpand\pgfPT@pm3\noexpand\pgfPT@virgula+5/O,\noexpand\pgfPT@pm III\noexpand\pgfPT@virgula+V/ORoman,317.3/Tmelt,44.15/TmeltC,550/Tboil,277/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep5/eDist,[Ne]::3s+2\noexpand\pgfPT@virgula3p+3/eConfign,[Ne]::3s+2\noexpand\pgfPT@virgula3p+3/eConfignl,1823/d,23.824/Cp,0.236/kT,tric/ls,1145/lsa,550.3/lsb,1126.1/lsc,0.98/lsca,1669/DiscY,8/DiscC,1/spectra,solido/cor}% @@ -202,7 +203,7 @@ \def\pgfPT@data@lviii{Ce/CS,140.12/Ar,140.12/Arstar,0/radio,210/R,163/Rcov,101\noexpand\pgfPT@espaco(3+)\noexpand\pgfPT@virgula87\noexpand\pgfPT@espaco(4+)/Rion,534.4/Ei,1.12/eneg,55/eaff,+3\noexpand\pgfPT@virgula+4/O,+III\noexpand\pgfPT@virgula+IV/ORoman,1068/Tmelt,795/TmeltC,3716/Tboil,3443/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep19\noexpand\pgfPTeDistsep9\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+1\noexpand\pgfPT@virgula5d+1\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+1\noexpand\pgfPT@virgula5d+1/eConfignl,6770/d,26.94/Cp,11.3/kT,hex/ls,362/lsa,/lsb,599/lsc,1.65/lsca,1803/DiscY,9/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@lix{Pr/CS,140.91/Ar,140.91/Arstar,0/radio,247/R,17/Rcov,99\noexpand\pgfPT@espaco(3+)/Rion,527/Ei,1.13/eneg,10.54/eaff,+3/O,+III/ORoman,1208/Tmelt,935/TmeltC,3403/Tboil,3130/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep21\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+3\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+3/eConfignl,6770/d,27.2/Cp,12.5/kT,hex/ls,367.21/lsa,/lsb,1183.26/lsc,3.22/lsca,1885/DiscY,1/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@lx{Nd/CS,144.24/Ar,144.24/Arstar,0/radio,206/R,17/Rcov,98.3\noexpand\pgfPT@espaco(3+)/Rion,533.1/Ei,1.14/eneg,9.41/eaff,+3/O,+III/ORoman,1297/Tmelt,1024/TmeltC,3347/Tboil,3074/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep22\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+4\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+4/eConfignl,7010/d,27.45/Cp,16.5/kT,hex/ls,365.82/lsa,/lsb,1179.66/lsc,3.22/lsca,1885/DiscY,1/DiscC,1/spectra,solido/cor}% -\def\pgfPT@data@lxi{Pm/CS,[145]/Ar,[145]/Arstar,1/radio,205/R,173/Rcov,97\noexpand\pgfPT@espaco(3+)/Rion,540/Ei,1.13/eneg,12.45/eaff,+3/O,+III/ORoman,1315/Tmelt,1042/TmeltC,3273/Tboil,3000/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep23\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+5\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+5/eConfignl,7260/d,---/Cp,17.9/kT,hex/ls,365/lsa,/lsb,1165/lsc,3.19/lsca,1945/DiscY,22/DiscC,1/spectra,sintetico/cor}% +\def\pgfPT@data@lxi{Pm/CS,[145]/Ar,/Arstar,1/radio,205/R,173/Rcov,97\noexpand\pgfPT@espaco(3+)/Rion,540/Ei,1.13/eneg,12.45/eaff,+3/O,+III/ORoman,1315/Tmelt,1042/TmeltC,3273/Tboil,3000/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep23\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+5\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+5/eConfignl,7260/d,---/Cp,17.9/kT,hex/ls,365/lsa,/lsb,1165/lsc,3.19/lsca,1945/DiscY,22/DiscC,1/spectra,sintetico/cor}% \def\pgfPT@data@lxii{Sm/CS,150.36/Ar,150.36(2)/Arstar,0/radio,238/R,172/Rcov,95.8\noexpand\pgfPT@espaco(3+)/Rion,544.5/Ei,1.17/eneg,15.63/eaff,+3/O,+III/ORoman,1345/Tmelt,1072/TmeltC,2173/Tboil,1900/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep24\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+6\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+6/eConfignl,7520/d,29.54/Cp,13.3/kT,rho/ls,362.1/lsa,/lsb,2625/lsc,7.25/lsca,1879/DiscY,5/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@lxiii{Eu/CS,151.96/Ar,151.96/Arstar,0/radio,231/R,168/Rcov,117\noexpand\pgfPT@espaco(2+)\noexpand\pgfPT@virgula94.7\noexpand\pgfPT@espaco(3+)/Rion,547.1/Ei,1.2/eneg,11.2/eaff,+2\noexpand\pgfPT@virgula+3/O,+II\noexpand\pgfPT@virgula+III/ORoman,1099/Tmelt,826/TmeltC,1802/Tboil,1529/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep25\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+7\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+7/eConfignl,5244/d,27.66/Cp,13.9/kT,bcc/ls,458.1/lsa,/lsb,/lsc,/lsca,1901/DiscY,5/DiscC,1/spectra,solido/cor}% \def\pgfPT@data@lxiv{Gd/CS,157.25/Ar,157.25(3)/Arstar,0/radio,233/R,169/Rcov,93.5\noexpand\pgfPT@espaco(3+)/Rion,593.4/Ei,1.2/eneg,13.22/eaff,+3/O,+III/ORoman,1585/Tmelt,1312/TmeltC,3273/Tboil,3000/TboilC,2\noexpand\pgfPTeDistsep8\noexpand\pgfPTeDistsep18\noexpand\pgfPTeDistsep25\noexpand\pgfPTeDistsep9\noexpand\pgfPTeDistsep2/eDist,[Xe]::4f+7\noexpand\pgfPT@virgula5d+1\noexpand\pgfPT@virgula6s+2/eConfign,[Xe]::6s+2\noexpand\pgfPT@virgula4f+7\noexpand\pgfPT@virgula5d+1/eConfignl,7900/d,37.03/Cp,10.6/kT,hcp/ls,363.6/lsa,/lsb,578.26/lsc,1.59/lsca,1880/DiscY,20/DiscC,1/spectra,solido/cor}% diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex index 140577bcce1..4b835ce7e24 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.drawing.keys.tex @@ -86,6 +86,9 @@ show group numbers/.is if=pgfPTgrlabels,% show legend pins/.is if=pgfPTlegendapins,% show legend/.is if=pgfPTlegenda,% legend acronyms/.is if=pgfPTlegacro,% +legend acronyms font size/.get=\pgfPTlegendacrofontsize,% new in v2.1.5 +legend acronyms font size/.store in=\pgfPTlegendacrofontsize,% +legend acronyms font size/.default=\pgfPT@doc@fsize,% legend back color/.get=\pgfPTlegendbackcolor,% legend back color/.store in=\pgfPTlegendbackcolor,% legend back color/.default=white,% @@ -119,7 +122,7 @@ title/.code=\pgfPT@titlestyle{#1},% title/.default={f=\Large\bfseries,c=black}% }% % setting key with default value ----------------------------------------------------------------- -\pgfkeys{/pgfPerTable/.cd,show title,show period numbers,show group numbers,show legend,legend acronyms,legend back color,% +\pgfkeys{/pgfPerTable/.cd,show title,show period numbers,show group numbers,show legend,legend acronyms,legend acronyms font size,legend back color,% show legend pins,show extra legend,legend radio color,legend CS color,legend Z color,show blocks=false,show families=false,% show MNM line,show periodic variations=false,show label LaAc,title font,title color}% % «mixed styles» @@ -342,6 +345,20 @@ CS/.default={r=fill and outline,c=black,w=.05,f=\small\bfseries,s=solido,l=liqui \pgfkeys{/pgfPerTable/.cd,CS font,CS render mode,CS outline color,CS outline width}% % end !! PGF keys: style for the chemical symbol of the element -------------------------------- % +% -------------------------------------------------------------------------------------------------- +% defining PGF keys: decimal separator to use in numerical values ---------------------------- +% new in v2.1.5 +\pgfkeys{/pgfPerTable/.cd,% +decimal separator/.get=\pgfPTdecimalseparator,% +decimal separator/.store in=\pgfPTdecimalseparator,% +decimal separator/.default=.,% +comma separator/.style={decimal separator={,}},% +dot separator/.style={decimal separator=.}% +}% +% setting key with default value ------------------------------------------------------------------ +\pgfkeys{/pgfPerTable/.cd,decimal separator}% +% end !! PGF keys: decimal separator to use in numerical values ------------------------------- +% % setting the style for the atomic number box ----------------------------------------------------- \newif\ifpgfZuseboxwidth% \pgfkeys{/pgfPerTable/.cd,% diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.formatNumbers.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.formatNumbers.tex index 1220d5c2298..4a0ff1a907f 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.formatNumbers.tex +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.formatNumbers.tex @@ -20,8 +20,15 @@ % \pgfPT@formatnumber{decimal places}{number} \def\pgfPT@formatnumber#1#2{% \ifx#2\@empty\relax\else% -\ifnum#1=-1\relax#2% print the number as-is -\else% +%\ifnum#1=-1\relax#2% print the number as-is +\ifnum#1=-1\relax% print the number as-is -> changed in v2.1.5 +\ifx\pgfPTdecimalseparator\pgfPT@dot\relax#2\else% replace . by user decimal separator +\pgfPT@counta=0\pgfPT@countb=0\pgfPT@countc=0\pgfPT@countd=0\pgfPT@tempfalse\pgfPT@foundfalse% +\edef\pgfPT@digits@todot{}\edef\pgfPT@digits@afterdot{}\pgfPT@has@minus{#2}% +\expandafter\pgfPT@numberdecompose\pgfPT@thenum\relax\relax% +\ifpgfPT@found\expandafter\pgfPT@replaceDot#2\relax\else#2\fi% +\fi% end replacing . by user decimal separator +\else% format number to the #1 decimal places \pgfPT@counta=0\pgfPT@countb=0\pgfPT@countc=0\pgfPT@countd=0\pgfPT@tempfalse\pgfPT@foundfalse% \edef\pgfPT@digits@todot{}\edef\pgfPT@digits@afterdot{}% \pgfPT@has@minus{#2}% @@ -36,7 +43,8 @@ \pgfPT@counte=#1% \pgfPT@temptrue\expandafter\pgfPT@str@insertdot\pgfPT@digits@toround\relax% \fi% -{\pgfPT@num@sign\pgfPT@digits@todot\ifnum#1>0\relax\ifpgfPT@found.\fi\fi\pgfPT@digits@afterdot}% +%{\pgfPT@num@sign\pgfPT@digits@todot\ifnum#1>0\relax\ifpgfPT@found.\fi\fi\pgfPT@digits@afterdot}% +{\pgfPT@num@sign\pgfPT@digits@todot\ifnum#1>0\relax\ifpgfPT@found\pgfPTdecimalseparator\fi\fi\pgfPT@digits@afterdot}% changed 1n v2.1.5 \fi\fi% }% % -------------------------------------------------------------------------------------------------- @@ -206,4 +214,16 @@ \ifx\pgfPT@tmp\pgfPT@relax\relax\else\@pgfPT@str@len#2 \relax\fi% }% % -------------------------------------------------------------------------------------------------- +\def\pgfPT@replaceDot#1.#2\relax{#1\pgfPTdecimalseparator#2}% new in v2.15 +% -------------------------------------------------------------------------------------------------- +\def\pgfPT@formatArstar#1\relax{% new in v2.15 +\setbox0=\hbox{#1}\ifdim\wd0=0pt\relax\relax% no value for Arstar +\else\expandafter\@pgfPT@formatArstar#1\relax\fi}% +\def\@pgfPT@formatArstar#1#2\relax{\edef\@pgfPT@sb{[}\edef\@pgfPT@test{#1}% +\ifx\@pgfPT@sb\@pgfPT@test\relax% Arstar is [value1,value2] +\def\@pgfPT@Arstarreplacedot[##1.##2,##3.##4]\relax{[##1\pgfPTdecimalseparator##2;##3\pgfPTdecimalseparator##4]}% +\expandafter\@pgfPT@Arstarreplacedot#1#2\relax\relax% +\else% Arstar is a number +\expandafter\pgfPT@replaceDot#1#2\relax\relax% +\fi}% \endinput% diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex index d4135f61b98..b171210b3ec 100644 --- a/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/pgfPT.names.tex @@ -121,7 +121,7 @@ \def\pgfPT@nomes@xcvii{berqu\'{e}lio/pt,berkelium/en,berkelium/fr,Berkelium/de,berkelium/it,berkelio/es,berqu\'{e}lio/br,\pgfPT@user@CSname@Bk/user}% \def\pgfPT@nomes@xcviii{calif\'{o}rnio/pt,californium/en,californium/fr,Californium/de,californio/it,californio/es,calif\'{o}rnio/br,\pgfPT@user@CSname@Cf/user}% \def\pgfPT@nomes@xcix{einst\'{e}nio/pt,einsteinium/en,einsteinium/fr,Einsteinium/de,einsteinio/it,einstenio/es,einst\^{e}nio/br,\pgfPT@user@CSname@Es/user}% -\def\pgfPT@nomes@c{f\'{e}rmio/pt,fermium/en,fermium/fr,Rermium/de,fermium/it,fermio/es,f\'{e}rmio/br,\pgfPT@user@CSname@Fm/user}% +\def\pgfPT@nomes@c{f\'{e}rmio/pt,fermium/en,fermium/fr,Fermium/de,fermium/it,fermio/es,f\'{e}rmio/br,\pgfPT@user@CSname@Fm/user}% \def\pgfPT@nomes@ci{mendel\'{e}vio/pt,mendelevium/en,mendelevium/fr,Mendelevium/de,mendelevio/it,mendelevio/es,mendel\'{e}vio/br,\pgfPT@user@CSname@Md/user}% \def\pgfPT@nomes@cii{nob\'{e}lio/pt,nobelium/en,nobelium/fr,Nobelium/de,nobelium/it,nobelio/es,nob\'{e}lio/br,\pgfPT@user@CSname@No/user}% \def\pgfPT@nomes@ciii{laur\^{e}ncio/pt,lawrencium/en,lawrencium/fr,Lawrencium/de,laurenzio/it,lawrencio/es,laur\^{e}ncio/br,\pgfPT@user@CSname@Lr/user}% diff --git a/Master/texmf-dist/tex/latex/pgf-periodictable/translations/pgfPT.lang.zh.tex b/Master/texmf-dist/tex/latex/pgf-periodictable/translations/pgfPT.lang.zh.tex new file mode 100644 index 00000000000..afbb70e089c --- /dev/null +++ b/Master/texmf-dist/tex/latex/pgf-periodictable/translations/pgfPT.lang.zh.tex @@ -0,0 +1,269 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% -------------------------------------------------------------------------------------------------- +% subfile of pgf-PeriodicTable package ---------------------------------------------------------- +% -------------------------------------------------------------------------------------------------- +% +% Translation file for Chinese +% Author: Fan Hongtao @2024/10/03 +% +% -------------------------------------------------------------------------------------------------- +% This is file lang.zh.tex +% Version: 1 +% Revision: 0 +% Date: 2024/10/03 +% Provides translation of data used +% in pgf-PeriodicTable files +% Language: Chinese +% ISO 639-1 code: zh +% ---------------------------- +\def\pgfPT@user@labels@titulo{å…ƒç´ å‘¨æœŸè¡¨}% +% ---------------------------- +\def\pgfPT@user@labels@La{é•§ç³»å…ƒç´ }% +\def\pgfPT@user@labels@Ac{é”•ç³»å…ƒç´ }% +% ---------------------------- +\def\pgfPT@user@labels@solido{固æ€}% +\def\pgfPT@user@labels@liquido{液æ€}% +\def\pgfPT@user@labels@gasoso{æ°”æ€}% +\def\pgfPT@user@labels@sintetico{äººé€ }% +% ---------------------------- +% labels for legend +\def\pgfPT@user@labels@Z{原ååºæ•°}% +\def\pgfPT@user@labels@name{å…ƒç´ å称}% +\def\pgfPT@user@labels@CS{å…ƒç´ ç¬¦å·}% +\def\pgfPT@user@labels@Ar@m{相对原åè´¨é‡}% +\def\pgfPT@user@labels@Arstar@m{æ ‡å‡†ç›¸å¯¹åŽŸåè´¨é‡}% +\def\pgfPT@user@labels@Ar@w{原åé‡}% +\def\pgfPT@user@labels@Arstar@w{原åé‡}% +\def\pgfPT@user@labels@radio{放射性}% +\def\pgfPT@user@labels@R{原ååŠå¾„}% +\def\pgfPT@user@labels@Rcov{共价åŠå¾„}% +\def\pgfPT@user@labels@Rion{离ååŠå¾„}% +\def\pgfPT@user@labels@Ei{电离能}% +\def\pgfPT@user@labels@eneg{电负性}% +\def\pgfPT@user@labels@eaff{电亲和性}% +\def\pgfPT@user@labels@O{氧化æ€}% +\def\pgfPT@user@labels@Tmelt{熔点}% +\def\pgfPT@user@labels@TmeltC{熔点}% +\def\pgfPT@user@labels@Tboil{沸点}% +\def\pgfPT@user@labels@TboilC{沸点}% +\def\pgfPT@user@labels@eDist{电å分布}% +\def\pgfPT@user@labels@eConfig{电åæž„åž‹}% +\def\pgfPT@user@labels@d{密度}% +\def\pgfPT@user@labels@Cp{比çƒå®¹}% +\def\pgfPT@user@labels@kT{导çƒç³»æ•°}% +\def\pgfPT@user@labels@ls{æ™¶æ ¼ç»“æž„}% +\def\pgfPT@user@labels@lsa{æ™¶æ ¼å¸¸æ•°: a}% +\def\pgfPT@user@labels@lsb{æ™¶æ ¼å¸¸æ•°: b}% +\def\pgfPT@user@labels@lsc{æ™¶æ ¼å¸¸æ•°: c}% +\def\pgfPT@user@labels@lsca{æ™¶æ ¼c/a比}% +\def\pgfPT@user@labels@DiscY{å‘现年份}% +% Before Christ acronym: +\def\pgfPT@user@labels@BC{公元å‰}% +\def\pgfPT@user@labels@DiscC{å‘现国}% +\def\pgfPT@user@labels@spectra{å‘射光谱}% +% ---------------------------- +% acronym to use in legend +% for 'Name' +\def\pgfPT@user@acr@name{N}% +% for 'Chemical Symbol' +\def\pgfPT@user@acr@CS{CS}% +% for 'Radioactive' +\def\pgfPT@user@acr@radio{Ra}% +% for 'Melting Point' +\def\pgfPT@user@acr@Tmelt{MP}% +% for 'Boiling Point' +\def\pgfPT@user@acr@Tboil{BP}% +% for 'Electron Distribution' +\def\pgfPT@user@acr@eDist{ed}% +% for 'Electronic Configuration' +\def\pgfPT@user@acr@eConfign{ec}% +% for 'Lattice Structure' +\def\pgfPT@user@acr@ls{ls}% +% for 'Lattice constant: a' +\def\pgfPT@user@acr@lsa{ls a}% +% for 'Lattice constant: b' +\def\pgfPT@user@acr@lsb{ls b}% +% for 'Lattice constant: c' +\def\pgfPT@user@acr@lsc{ls c}% +% for 'Lattice c/a ratio' +\def\pgfPT@user@acr@lsca{ls ca}% +% for 'Year of Discovery' +\def\pgfPT@user@acr@DiscY{yd}% +% for 'Country of Discovery' +\def\pgfPT@user@acr@DiscC{cd}% +% for 'Emission Spectrum' +\def\pgfPT@user@acr@spectra{es}% +% ---------------------------- +% blocks +\def\pgfPT@user@labels@blocos{SåŒºå…ƒç´ }% +\def\pgfPT@user@labels@blocop{PåŒºå…ƒç´ }% +\def\pgfPT@user@labels@blocod{DåŒºå…ƒç´ }% +\def\pgfPT@user@labels@blocof{FåŒºå…ƒç´ }% +% ---------------------------- +\def\pgfPT@user@labels@blocor{ä»£è¡¨æ€§å…ƒç´ }% +\def\pgfPT@user@labels@blocot{过渡金属}% +\def\pgfPT@user@labels@blocoi{内部过渡金属}% +% ---------------------------- +% periodic variations +\def\pgfPT@user@labels@Raum{原ååŠå¾„æ²¿ç¾¤å¢žåŠ }% +\def\pgfPT@user@labels@Rdim{原ååŠå¾„éšç€æ—¶é—´çš„推移而å‡å°}% +\def\pgfPT@user@labels@Eiaum{电离能éšç€æ—¶é—´çš„æŽ¨ç§»è€Œå¢žåŠ }% +\def\pgfPT@user@labels@Eidim{电离能沿群方å‘é™ä½Ž}% +\def\pgfPT@user@labels@eaffaum{电å亲和力éšç€æ—¶é—´çš„æŽ¨ç§»è€Œå¢žåŠ }% +\def\pgfPT@user@labels@eaffdim{电å亲和力沿基团方å‘é™ä½Ž}% +% ---------------------------- +% lattice structure: +\def\pgfPT@user@labels@ls@bcc{体心立方}% +\def\pgfPT@user@labels@ls@bcort{底心æ£äº¤}% +\def\pgfPT@user@labels@ls@ctetr{体心四方}% +\def\pgfPT@user@labels@ls@dia{è±å½¢}% +\def\pgfPT@user@labels@ls@fcc{é¢å¿ƒç«‹æ–¹}% +\def\pgfPT@user@labels@ls@fcort{é¢å¿ƒæ£äº¤}% +\def\pgfPT@user@labels@ls@hcp{密排å…æ–¹}% +\def\pgfPT@user@labels@ls@hex{å…æ–¹}% +\def\pgfPT@user@labels@ls@mono{å•æ–œ}% +\def\pgfPT@user@labels@ls@rho{è±é¢}% +\def\pgfPT@user@labels@ls@sc{简å•ç«‹æ–¹}% +\def\pgfPT@user@labels@ls@tric{简å•ä¸‰æ–œ}% +\def\pgfPT@user@labels@ls@tetr{四方}% +% ---------------------------- +% element names +\def\pgfPT@user@CSname@H{æ°¢}% +\def\pgfPT@user@CSname@He{æ°¦}% +\def\pgfPT@user@CSname@Li{锂}% +\def\pgfPT@user@CSname@Be{é“}% +\def\pgfPT@user@CSname@B{硼}% +\def\pgfPT@user@CSname@C{碳}% +\def\pgfPT@user@CSname@N{æ°®}% +\def\pgfPT@user@CSname@O{æ°§}% +\def\pgfPT@user@CSname@F{æ°Ÿ}% +\def\pgfPT@user@CSname@Ne{æ°–}% +\def\pgfPT@user@CSname@Na{é’ }% +\def\pgfPT@user@CSname@Mg{é•}% +\def\pgfPT@user@CSname@Al{é“}% +\def\pgfPT@user@CSname@Si{ç¡…}% +\def\pgfPT@user@CSname@P{磷}% +\def\pgfPT@user@CSname@S{ç¡«}% +\def\pgfPT@user@CSname@Cl{æ°¯}% +\def\pgfPT@user@CSname@Ar{æ°©}% +\def\pgfPT@user@CSname@K{é’¾}% +\def\pgfPT@user@CSname@Ca{é’™}% +\def\pgfPT@user@CSname@Sc{é’ª}% +\def\pgfPT@user@CSname@Ti{é’›}% +\def\pgfPT@user@CSname@V{é’’}% +\def\pgfPT@user@CSname@Cr{铬}% +\def\pgfPT@user@CSname@Mn{é”°}% +\def\pgfPT@user@CSname@Fe{é“}% +\def\pgfPT@user@CSname@Co{é’´}% +\def\pgfPT@user@CSname@Ni{é•}% +\def\pgfPT@user@CSname@Cu{é“œ}% +\def\pgfPT@user@CSname@Zn{锌}% +\def\pgfPT@user@CSname@Ga{é•“}% +\def\pgfPT@user@CSname@Ge{é”—}% +\def\pgfPT@user@CSname@As{ç ·}% +\def\pgfPT@user@CSname@Se{ç¡’}% +\def\pgfPT@user@CSname@Br{溴}% +\def\pgfPT@user@CSname@Kr{æ°ª}% +\def\pgfPT@user@CSname@Rb{é“·}% +\def\pgfPT@user@CSname@Sr{锶}% +\def\pgfPT@user@CSname@Y{é’‡}% +\def\pgfPT@user@CSname@Zr{锆}% +\def\pgfPT@user@CSname@Nb{é“Œ}% +\def\pgfPT@user@CSname@Mo{é’¼}% +\def\pgfPT@user@CSname@Tc{é”}% +\def\pgfPT@user@CSname@Ru{é’Œ}% +\def\pgfPT@user@CSname@Rh{é“‘}% +\def\pgfPT@user@CSname@Pd{é’¯}% +\def\pgfPT@user@CSname@Ag{银}% +\def\pgfPT@user@CSname@Cd{镉}% +\def\pgfPT@user@CSname@In{é“Ÿ}% +\def\pgfPT@user@CSname@Sn{锡}% +\def\pgfPT@user@CSname@Sb{锑}% +\def\pgfPT@user@CSname@Te{碲}% +\def\pgfPT@user@CSname@I{碘}% +\def\pgfPT@user@CSname@Xe{æ°™}% +\def\pgfPT@user@CSname@Cs{铯}% +\def\pgfPT@user@CSname@Ba{é’¡}% +\def\pgfPT@user@CSname@La{镧}% +\def\pgfPT@user@CSname@Ce{铈}% +\def\pgfPT@user@CSname@Pr{镨}% +\def\pgfPT@user@CSname@Nd{é’•}% +\def\pgfPT@user@CSname@Pm{é’·}% +\def\pgfPT@user@CSname@Sm{é’}% +\def\pgfPT@user@CSname@Eu{é“•}% +\def\pgfPT@user@CSname@Gd{é’†}% +\def\pgfPT@user@CSname@Tb{铽}% +\def\pgfPT@user@CSname@Dy{é•}% +\def\pgfPT@user@CSname@Ho{é’¬}% +\def\pgfPT@user@CSname@Er{é“’}% +\def\pgfPT@user@CSname@Tm{é“¥}% +\def\pgfPT@user@CSname@Yb{镱}% +\def\pgfPT@user@CSname@Lu{é•¥}% +\def\pgfPT@user@CSname@Hf{铪}% +\def\pgfPT@user@CSname@Ta{é’½}% +\def\pgfPT@user@CSname@W{é’¨}% +\def\pgfPT@user@CSname@Re{铼}% +\def\pgfPT@user@CSname@Os{锇}% +\def\pgfPT@user@CSname@Ir{铱}% +\def\pgfPT@user@CSname@Pt{é“‚}% +\def\pgfPT@user@CSname@Au{金}% +\def\pgfPT@user@CSname@Hg{汞}% +\def\pgfPT@user@CSname@Tl{é“Š}% +\def\pgfPT@user@CSname@Pb{é“…}% +\def\pgfPT@user@CSname@Bi{é“‹}% +\def\pgfPT@user@CSname@Po{é’‹}% +\def\pgfPT@user@CSname@At{ç ¹}% +\def\pgfPT@user@CSname@Rn{æ°¡}% +\def\pgfPT@user@CSname@Fr{é’«}% +\def\pgfPT@user@CSname@Ra{é•}% +\def\pgfPT@user@CSname@Ac{锕}% +\def\pgfPT@user@CSname@Th{é’}% +\def\pgfPT@user@CSname@Pa{镤}% +\def\pgfPT@user@CSname@U{é“€}% +\def\pgfPT@user@CSname@Np{é•Ž}% +\def\pgfPT@user@CSname@Pu{é’š}% +\def\pgfPT@user@CSname@Am{é•…}% +\def\pgfPT@user@CSname@Cm{é””}% +\def\pgfPT@user@CSname@Bk{锫}% +\def\pgfPT@user@CSname@Cf{锎}% +\def\pgfPT@user@CSname@Es{锿}% +\def\pgfPT@user@CSname@Fm{é•„}% +\def\pgfPT@user@CSname@Md{é’”}% +\def\pgfPT@user@CSname@No{锘}% +\def\pgfPT@user@CSname@Lr{铹}% +\def\pgfPT@user@CSname@Rf{{\setmainfont{\pgfPT@fontzhSSB}𬬻}}% +\def\pgfPT@user@CSname@Db{{\setmainfont{\pgfPT@fontzhSSB}ð¬Š}}% +\def\pgfPT@user@CSname@Sg{{\setmainfont{\pgfPT@fontzhSSB}ð¬³}}% +\def\pgfPT@user@CSname@Bh{{\setmainfont{\pgfPT@fontzhSSB}ð¬›}}% +\def\pgfPT@user@CSname@Hs{{\setmainfont{\pgfPT@fontzhSSB}ð¬¶}}% +\def\pgfPT@user@CSname@Mt{{\setmainfont{\pgfPT@fontzhSS}é¿}}% +\def\pgfPT@user@CSname@Ds{{\setmainfont{\pgfPT@fontzhSSB}𫟼}}% +\def\pgfPT@user@CSname@Rg{{\setmainfont{\pgfPT@fontzhSSB}ð¬¬}}% +\def\pgfPT@user@CSname@Cn{{\setmainfont{\pgfPT@fontzhSS}é¿”}}% +\def\pgfPT@user@CSname@Nh{{\setmainfont{\pgfPT@fontzhSS}é¿}}% +\def\pgfPT@user@CSname@Fl{{\setmainfont{\pgfPT@fontzhSSB}𫓧}}% +\def\pgfPT@user@CSname@Mc{镆}% +\def\pgfPT@user@CSname@Lv{{\setmainfont{\pgfPT@fontzhSSLv}ð«Ÿ·}}% +\def\pgfPT@user@CSname@Ts{{\setmainfont{\pgfPT@fontzhSS}鿬}}% +\def\pgfPT@user@CSname@Og{{\setmainfont{\pgfPT@fontzhSS}é¿«}}% +% ---------------------------- +% Country (or Region) names +\def\pgfPT@user@country@AM{å°äºšç»†äºš}% +\def\pgfPT@user@country@au{奥地利}% +\def\pgfPT@user@country@dn{丹麦}% +\def\pgfPT@user@country@eg{埃åŠ}% +\def\pgfPT@user@country@fl{芬兰}% +\def\pgfPT@user@country@fr{法国}% +\def\pgfPT@user@country@de{德国}% +\def\pgfPT@user@country@it{æ„大利}% +\def\pgfPT@user@country@ME{ä¸ä¸œ}% +\def\pgfPT@user@country@pe{秘é²}% +\def\pgfPT@user@country@ro{罗马尼亚}% +\def\pgfPT@user@country@ru{ä¿„ç½—æ–¯}% +\def\pgfPT@user@country@es{西ç牙}% +\def\pgfPT@user@country@sw{ç‘žå…¸}% +\def\pgfPT@user@country@ch{瑞士}% +\def\pgfPT@user@country@uk{英国}% +\def\pgfPT@user@country@us{美国}% +\def\pgfPT@user@country@mx{墨西哥}% +\endinput% |