Debian Codegraph @

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

raw
1 \vfill%
2 \subsubsection{\texorpdfstring{\ding{224} The atomic weight}{The atomic weight}}\vspace{6pt}%
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 % Ar color
5 \pgfPTMoption{4}{Ar color}{black}{%
6 Sets the relative atomic mass color.
7 }
8 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar color=red]%
9 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar color=red]}}%
10 \\ [0pt]\pgfPTendoption%
11 % Ar font
12 \newpage\ \\ [-32pt]%
13 \pgfPTMoption{4}{Ar font}{\string\tiny\string\bfseries}{%
14 Sets the relative atomic mass font.
15 }
16 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar font=\string\scriptsize\string\bfseries]%
17 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar font=\scriptsize\bfseries]}}%
18 \\ [0pt]\pgfPTendoption%
19 % Ar label
20 \vfill%
21 \pgfPTMoption{4}{Ar label}{m}{%
22 Sets the label to be used within the relative atomic mass description. When set to \sq{m} the term \green{mass} is used and when set to \sq{w} the term \green{weight} is used, resulting in \textit{Relative Atomic Mass} and \textit{Atomic Weight} labels respectively.
23 }
24 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
25 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
26 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar label=w]%
27 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar label=w]}}%
28 \\ [0pt]\pgfPTendoption%
29 % Ar precision
30 \vfill%
31 \pgfPTMoption{4}{Ar precision}{-1}{%
32 Sets the relative atomic mass precision, \ie, the decimal places displayed in the relative atomic mass value, performing the respective rounding, without zero padding the value.
33 \\ [10pt]\tikz{\node[text width=\linewidth-.6666em,fill=orange!5!white,draw=orange,rounded corners=2pt] {\textbf{\red{NOTE}}:\\ Rounding is performed over the relative atomic mass data values witch actually have a maximum of 4 decimal places. So giving this key a value of -1 (the value of relative atomic mass as-is) or 4 has the same effect.
34 \\ \textit{Therefore the values provided to this key should be any integer between -1 and 3, \ie, -1, 0, 1, 2 or 3. Any other integer provided will be processed as -1.}};}
35 }
36 \vfill\newpage%\\ [5pt]
37 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
38 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
39 %\vfill%
40 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar precision=2]%
41 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar precision=2]}}%
42 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar precision=1]%
43 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar precision=1]}}%
44 \\ [0pt]\pgfPTendoption%
45 \vfill%
46 % Ar={c=??,f=??,p=??,l=??}
47 % Ar/.default={c=black,f=\tiny\bfseries,l=m,p=-1}
48 \pgfPTMstyle{4}{Ar}{\{c=black,f=\string\tiny\string\bfseries,l=m,p=-1\}}%
49 {\ \\ [-3pt]\textit{Pseudo style} to set the keys: Ar \textbf{c}olor, Ar \textbf{f}ont, Ar \textbf{l}abel and/or Ar \textbf{p}recision.
50 None of the \textit{keys} -- c, f, l and \mbox{p -- are} mandatory.
51 \\ [3pt]\makebox[\linewidth][c]{\use{Ar=\{c=<color>,f=<font commands>,l=<m|w>p=<integer value>\}}}%
52 }%
53 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar={c=red!50!black,p=2}]%
54 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar={c=red!50!black,p=2}]}}%
55 \vfill\newpage%\\ [10pt]
56 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Ar={c=red!50!black,p=1,l=w}]%
57 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Ar={c=red!50!black,p=1,l=w}]}}%
58 \\ [0pt]\pgfPTendstyle%
59 \endinput