diff options
Diffstat (limited to 'graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex')
-rw-r--r-- | graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex new file mode 100644 index 0000000000..a0972c10dc --- /dev/null +++ b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_Z.tex @@ -0,0 +1,62 @@ +\subsubsection{\texorpdfstring{\ding{224} The atomic number}{The atomic number}} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Z backcolor +\pgfPTMoption{4}{Z backcolor}{black}{% +Sets the background color of the box where the atomic number is displayed. +} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=blue!70!black]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=blue!70!black]}}% +\\ [0pt]\pgfPTendoption% +% Z color +\pgfPTMoption{4}{Z color}{white}{% +Sets the color of the atomic number. +} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z backcolor=black!30,Z color=black]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z backcolor=black!30,Z color=black]}}% +\\ [5pt]\pgfPTendoption% +% Z font +\pgfPTMoption{4}{Z font}{\string\tiny\string\bfseries}{% +Sets the font of the atomic number. +} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z font=\string\fontfamily{pag}\string\selectfont\string\tiny]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z font=\fontfamily{pag}\selectfont\tiny]}}% +\\ [5pt]\pgfPTendoption% +% Z use box width=false +\pgfPTMoption{4}{Z use box width}{false}{% +If true, the width specified in the constructed cell is used, otherwise, the \textit{natural} width of the box containing Z value is used. +} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width]}}% +\\ [5pt]\pgfPTendoption% +% Z align +\pgfPTMoption{4}{Z align}{left}{% +Sets the alignment of the atomic number value to \textit{left}, \textit{center} or \textit{right} with respect to its containing box. It only takes effect when \red{Z use box width} is \red{true}.} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=center]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center]}}% +\\ [5pt]\pgfPTendoption% +% Z space +\pgfPTMoption{4}{Z padding}{0.25ex}{% +Sets the padding between the atomic number value and the box that contains it. It only takes effect when \red{Z use box width} is \red{true}.} +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z use box width,Z align=right, Z padding=1em]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z use box width,Z align=center,Z padding=1em]}}% +\\ [5pt]\pgfPTendoption% +% Z box (style) +\pgfPTMstyletxt{4}{Z box}{no value}{% +Style equivalent to \red{Z use box width=true}. +}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z box]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z box]}}% +\\ [5pt]\pgfPTendstyle% +% Z={bc=??,c=??,f=??,boxwd=??,align=??,space=??} TODO +% Z/.default={bc=black,c=white,f=\tiny\bfseries,boxwd=false,align=left,space=.25ex} +\pgfPTMstyle{4}{Z}{\{bc=black,c=white,f=\string\tiny\string\bfseries,boxwd=false,align=left,space=.25ex\}}% +{\ \\ [-3pt]\textit{Pseudo style} to set the keys: Z \textbf{b}ack\textbf{c}olor, Z \textbf{c}olor, Z \textbf{f}ont, Z use \textbf{box w}i\textbf{d}th, Z \textbf{align} and/or Z \textbf{pad}. +None of the \textit{keys} -- bc, c, f, boxwd, align and pad -- are mandatory. +%\\ [3pt]\makebox[\linewidth][c]{\use{Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,align=<left|center|right>,pad=<length>\}}}% +\\ [10pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=9cm] {Z=\{bc=<color>,c=<color>,f=<font commands>,boxwd=<true|false>,\\ % +\textcolor{cyan!10!white}{Z=\{}align=<left|center|right>,pad=<length>\}};}}}% +}% +\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},Z={bc=blue,f=\string\tiny\string\bfseries\string\itshape}]% +\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},Z={bc=blue,f=\tiny\bfseries\itshape}]}}% +\\ [0pt]\pgfPTendstyle% +\endinput |