summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex')
-rw-r--r--graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex70
1 files changed, 61 insertions, 9 deletions
diff --git a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex
index e5b9b4bb4b..e1e7c7c150 100644
--- a/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex
+++ b/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_ls.tex
@@ -1,3 +1,4 @@
+\vfill%
\subsubsection{\texorpdfstring{\ding{224} The lattice structure}{The lattice structure}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ls
@@ -5,34 +6,85 @@
Sets what is displayed for the lattice structure: a figure (fig) or text (txt) or both (fig+txt or txt+fig).
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=txt]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt]}}%
-\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=fig+txt]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=fig+txt]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt]}}%
+\newpage%\\ [10pt]
+\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=fig+txt]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=fig+txt]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig]}}%
\\ [0pt]\pgfPTendoption%
% ls color
+\vfill%
\pgfPTMoption{4}{ls color}{black}{%
Sets the lattice structure text color.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig,ls color=red]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,,ls=txt+fig,ls color=red]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,,ls=txt+fig,ls color=red]}}%
\\ [0pt]\pgfPTendoption%
% ls font
+\vfill%
\pgfPTMoption{4}{ls font}{\string\tiny}{%
Sets the lattice structure text font.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig,ls font=\string\tiny\string\bfseries]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig,ls font=\tiny\bfseries]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls=txt+fig,ls font=\tiny\bfseries]}}%
\\ [0pt]\pgfPTendoption%
% ls align
-%\newpage\ \\ [-25pt]%
+\newpage\ \\ [-32pt]%
\pgfPTMoption{4}{ls align}{right}{%
Sets the alignment of the lattice structure to \red{left} or \red{center} or \red{right}.
}
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTls,ls align=center]%
-\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls align=center]}}%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTls,ls align=center]}}%
+\\ [-5pt]\pgfPTendoption%
+% ls unit=<A|pm> .default=pm
+\pgfPTMoption[\pgfPTnewinversion{1.0.1}]{4}{ls unit}{pm}{%
+Sets the unit for the lattice structure constants: a, b and c. The two possible values to this key are \red{pm} (picometers) and \red{A} ({\AA} -- angstroms).}%
+\\ [5pt]\pgfPTMbuildcellstyle{myls}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;ls),(5;2.5-3;lsa), %
+(6;1-2.5;lsb),(6;2.5-3;lsca)]%
+\pgfPTbuildcellstyle{myls}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;ls),(5;2.5-3;lsa),(6;1-2.5;lsb),(6;2.5-3;lsca)]%
+\\ [-4pt]\pgfPTMmacrobox[l]{pgfPTstyle}[Z list={1,...,36},cell style=myls,show title=false,ls align=center]%
+\pgfPTstyle[Z list={1,...,36},cell style=myls,show title=false,ls align=center]%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT}}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[ls unit=A]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[ls unit=A]}}%
+\\ [-5pt]\pgfPTendoption%
+% ls precision
+\pgfPTMoption{4}{ls precision}{-1}{%
+Sets the lattice structure constants - a, b, and c - precision, as also the lattice c/a ratio, \ie, the decimal places displayed in their value, performing the respective rounding, without zero padding the value.
+\\ [5pt]\tikz{\node[text width=\linewidth-.6666em,fill=orange!5!white,draw=orange,rounded corners=2pt] {\textbf{\red{NOTE}}:\\ Rounding is performed over the constants data or c/a ratio values witch actually have a maximum of 2 or 4 decimal places, when the values are in picometers or in angstroms, respectively. So giving this key a value of -1 (the value of the constants or c/a ratio as-is) or 2 or 4 has the same effect.
+\\ \textit{Therefore the values provided to this key should be any integer between -1 and 1 (pm) or 3 ({\AA}). Any other integer provided will be processed as -1.}};}
+}
+%\vfill%\\ [10pt]
+\newpage%
+\pgfPTMbuildcellstyle{myls}(6,3)[(1;1-2;Z),(1;2-3;ls),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;lsa), %
+(5;2.5-3;lsb),(6;1-2.5;lsc),(6;2.5-3;lsca)]%
+\pgfPTbuildcellstyle{myls}(6,3)[(1;1-2;Z),(1;2-3;ls),(2-3;1.5-3.5;CS),(4;1-3;name),(5;1-2.5;lsa),(5;2.5-3;lsb),(6;1-2.5;lsc),(6;2.5-3;lsca)]%
+\\ [-4pt]\pgfPTMmacrobox[l]{pgfPTstyle}[Z list={1,...,36},cell={w=36pt,h=42pt,style=myls}]%
+\pgfPTstyle[Z list={1,...,36},cell height=40pt,cell={w=36pt,h=42pt,style=myls}]%
+\\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[ls precision=0]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[ls precision=0]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[ls precision=1]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[ls precision=1]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[ls precision=2]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[ls precision=2]}}%
+\\ [10pt]\pgfPTMmacrobox{pgfPT}[ls precision=2,ls unit=A]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[ls precision=2,ls unit=A]}}%
\\ [0pt]\pgfPTendoption%
+% pseudo style -> lat={ls=??,c=??,f=??,align=??,p=??,u=??}
+% lat/.default={ls=fig,c=black,f=\tiny,align=right,p=-1,u=pm}%
+\pgfPTMstyle{4}{lat}{\{ls=fig,c=black,f=\string\tiny,align=right,p=-1,u=pm\}}%
+{\ \\ [-3pt]\textit{Pseudo style} to set the keys: \textbf{ls}, ls \textbf{c}olor, ls \textbf{f}ont, ls \textbf{align}, ls \textbf{p}recision and/or ls \textbf{u}nit.
+None of the \textit{keys} -- ls, c, f, align, p and u -- are mandatory.\hfill\textit{\textcolor{blue}{(\pgfPTnewinversion{1.0.1})}}
+\\ [10pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=9cm] {lat=\{ls=<fig|txt|fig+txt|txt+fig>,c=<color>,f=<font commands>,\\ %
+\textcolor{cyan!10!white}{lat=\{}align=<left|center|right>,p=<integer value>,u=<pm|A>\}};}}}%
+}%
+\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},lat={c=blue,f=\string\tiny\string\bfseries,u=A,p=2}]%
+\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},lat={c=blue,f=\tiny\bfseries,u=A,p=2}]}}%
+\\ [0pt]\pgfPTendstyle%
\endinput