| 1 |
\subsubsection{\texorpdfstring{\ding{224} The density}{The density}}%\vspace{6pt}% |
| 2 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3 |
% d color |
| 4 |
\pgfPTMoption{4}{d color}{black}{% |
| 5 |
Sets the density value text color.} |
| 6 |
\\ [5pt]\pgfPTMbuildcellstyle{myd}(5,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-3;d)]% |
| 7 |
\pgfPTbuildcellstyle{myd}(5,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-3;d)]% |
| 8 |
\\ [-4pt]\pgfPTMmacrobox[l]{pgfPT}[Z list={1,...,36},cell style=myd,show title=false]% |
| 9 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z list={1,...,36},cell style=myd,show title=false]}}% |
| 10 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false,d color=red]% |
| 11 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z list={1,...,36},cell style=myd,show title=false,d color=red]}}% |
| 12 |
\\ [0pt]\pgfPTendoption% |
| 13 |
% d font |
| 14 |
\pgfPTMoption{4}{d font}{\string\tiny\string\bfseries}{% |
| 15 |
Sets the density value text font. |
| 16 |
} |
| 17 |
%\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false]% |
| 18 |
%\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z list={1,...,36},cell style=myd,show title=false]}}% |
| 19 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false,d font=\string\tiny\string\itshape]% |
| 20 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z list={1,...,36},cell style=myd,show title=false,d font=\tiny\itshape]}}% |
| 21 |
\\ [0pt]\pgfPTendoption% |
| 22 |
\vfill% |
| 23 |
% d unit=<g/cm3|g/dm3|both> .default=g/dm3 |
| 24 |
\pgfPTMoption[\pgfPTnewinversion{1.0.1}]{4}{d unit}{both}{% |
| 25 |
Sets the unit for the density of the elements. The two possible values to this key are \red{g/dm3} ($\mathsf{g/dm^3}$), \red{g/cm3} ($\mathsf{g/cm^3}$) and \red{both} ($\mathsf{g/dm^3}$ for elements in the gaseous state and $\mathsf{g/cm^3}$ for all other elements). |
| 26 |
}% |
| 27 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false]% |
| 28 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myd,show title=false]}}% |
| 29 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false,d unit=g/cm3]% |
| 30 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myd,show title=false,d unit=g/cm3]}}% |
| 31 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false,d unit=g/dm3]% |
| 32 |
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myd,show title=false,d unit=g/dm3]}}% |
| 33 |
\\ [0pt]\pgfPTendoption% |
| 34 |
\newpage\ \\ [-32pt]% |
| 35 |
% d precision |
| 36 |
\pgfPTMoption{4}{d precision}{-1}{% |
| 37 |
Sets the density precision, \ie, the decimal places displayed in their value, performing the respective rounding, without zero padding the value. |
| 38 |
\\ [10pt]\tikz{\node[text width=\linewidth-.6666em,fill=orange!5!white,draw=orange,rounded corners=2pt] {\textbf{\red{NOTE}}:\\ Rounding is performed over density values witch actually have a maximum 5 or 8 decimal places, when the values are in $\mathsf{g/dm^3}$ or in $\mathsf{g/cm^3}$, respectively.. So giving this key a value of -1 (the value of the density as-is) or 5 or 8 has the same effect. |
| 39 |
\\ \textit{Therefore the values provided to this key should be any integer between -1 and 4 ($\mathsf{g/dm^3}$) or 7 ($\mathsf{g/cm^3}$). Any other integer provided will be processed as -1.}};} |
| 40 |
} |
| 41 |
\vfill%\\ [10pt] |
| 42 |
\pgfPTMmacrobox[l]{pgfPTstyle}[Z list={1,...,54},cell style=myd,show title=false]% |
| 43 |
\pgfPTstyle[Z list={1,...,54},cell style=myd,show title=false]% |
| 44 |
\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]% |
| 45 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT}}% |
| 46 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[d precision=0]% |
| 47 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=0]}}% |
| 48 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[d precision=1]% |
| 49 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=1]}}% |
| 50 |
\vfill% |
| 51 |
\newpage%\\ [5pt] |
| 52 |
\pgfPTMmacrobox{pgfPT}[d precision=2]% |
| 53 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=2]}}% |
| 54 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[d precision=3]% |
| 55 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=3]}}% |
| 56 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[d precision=4]% |
| 57 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=4]}}% |
| 58 |
\\ [10pt]\pgfPTMmacrobox{pgfPT}[d precision=5]% |
| 59 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[d precision=5]}}% |
| 60 |
\\ [0pt]\pgfPTendoption% |
| 61 |
\newpage\ \\ [-32pt]% |
| 62 |
% pseudo style -> d={c=??,f=??,p=??,u=??} ; d/.default={c=black,f=\tiny\bfseries,p=-1,u=both}% |
| 63 |
% d/.default={c=black,f=\tiny\bfseries,p=-1,u=both},% |
| 64 |
\pgfPTMstyle{4}{d}{\{c=black,f=\string\tiny\string\bfseries,p=-1,u=both\}}% |
| 65 |
{\ \\ [-3pt]\textit{Pseudo style} to set the keys: d \textbf{c}olor, d \textbf{f}ont, d \textbf{p}recision and/or d \textbf{u}nit. |
| 66 |
None of the \textit{keys} -- c, f, p and u -- are mandatory.\hfill\textit{\textcolor{blue}{(\pgfPTnewinversion{1.0.1})}} |
| 67 |
\\ [10pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=9cm] {d=\{c=<color>,f=<font commands>,p=<integer value>,u=<pm|A>\}};}}}% |
| 68 |
}% |
| 69 |
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myd,show title=false,d={c=blue,p=2}]% |
| 70 |
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myd,show title=false,d={c=blue,p=2}]}}% |
| 71 |
\\ [0pt]\pgfPTendstyle% |
| 72 |
%\newpage\ \\ [-32pt]% |
| 73 |
\endinput |