Debian Codegraph @

texmf-dist/doc/latex/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_decSep.tex

raw
1 \subsubsection{\texorpdfstring{\ding{224} \itshape Decimal separator in numbers}{Decimal separator in numbers}}\vspace{6pt}%
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 % Decimal separator
4 \pgfPTMoption[\pgfPTnewinversion{2.1.5}]{4}{decimal separator}{.}{%
5 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).
6 }%
7 \newpage%\\ [5pt]
8 \pgfPTMmacrobox{pgfPT}[Z list={1,...,54},decimal separator={,}]%
9 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},decimal separator={,}]}}%
10 \\ [0pt]\pgfPTendoption%
11 \\ [5pt]
12 \pgfPTMstyle[\pgfPTnewinversion{2.1.5}]{4}{comma separator}{no value}%
13 {A style equivalent to \red{decimal separator=\{,\}}}%
14 \\ [5pt]\pgfPTMmacrobox{pgfPT}[comma separator]%
15 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[comma separator]}}%
16 \\ [0pt]\pgfPTendstyle%
17 \\ [5pt]
18 \pgfPTMstyle[\pgfPTnewinversion{2.1.5}]{4}{dot separator}{no value}%
19 {A style equivalent to \red{decimal separator=.}}%
20 \newpage%\\ [5pt]
21 \pgfPTMmacrobox{pgfPT}[dot separator]%
22 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[dot separator]}}%
23 \\ [0pt]\pgfPTendstyle%
24 \endinput