Debian Codegraph @

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

raw
1 \vfill%
2 \subsubsection{\texorpdfstring{\ding{224} The chemical symbol}{The chemical symbol}}\vspace{6pt}%
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 % CS solid
5 \pgfPTMoption{4}{CS solid}{\pgfPTMcolorDemo{solido}{RGB: 255,166,51}}{%
6 Sets the color of the chemical symbol for elements that are in the solid state at normal temperature and pressure (NTP).
7 }
8 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},CS solid=red]%
9 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},CS solid=red]}}%
10 \\ [5pt]\pgfPTendoption%
11 % CS liquid
12 \pgfPTMoption{4}{CS liquid}{\pgfPTMcolorDemo{liquido}{RGB: 0,204,204}}{%
13 Sets the color of the chemical symbol for elements that are in a liquid state at normal temperature and pressure (NTP).
14 }
15 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},CS liquid=red]%
16 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},CS liquid=red]}}%
17 \\ [5pt]\pgfPTendoption%
18 \newpage\ \\ [-32pt]%
19 % CS gas
20 \pgfPTMoption{4}{CS gas}{\pgfPTMcolorDemo{gasoso}{RGB: 0,102,153}}{%
21 Sets the color of the chemical symbol for elements that are in a gaseous state at normal temperature and pressure (NTP).
22 }
23 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,54},CS gas=red]%
24 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,54},CS gas=red]}}%
25 \\ [5pt]\pgfPTendoption%
26 % CS synt
27 \pgfPTMoption{4}{CS synt}{\pgfPTMcolorDemo{sintetico}{RGB: 236,236,236}}{%
28 Sets the color of the chemical symbol for elements that are synthetic.
29 }
30 \\ [5pt]\pgfPTMmacrobox{pgfPT}[CS synt=red]%
31 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[CS synt=red]}}%
32 \\ [5pt]\pgfPTendoption%
33 % CS all (style)%
34 \vfill
35 \pgfPTMstyle{4}{CS all}{black}{%
36 Style to set a common color to the chemical symbols, equivalent to \red{CS solid=<color>,\\ CS liquid=<color>,CS gas=<color>,CS synt=<color>}.
37 }%
38 \vfill
39 \newpage%\\ [5pt]
40 \pgfPTMmacrobox{pgfPT}[CS all=red]%
41 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[CS all=red]}}%
42 \\ [0pt]\pgfPTendstyle%
43 % CS font
44 \vfill%
45 \pgfPTMoption{4}{CS font}{\string\small\string\bfseries}{%
46 Sets the font for the chemical symbol.
47 }
48 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS font=\string\small\string\fontfamily{fmm}\string\selectfont]%
49 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS font=\small\fontfamily{fmm}\selectfont]}}%
50 \\ [0pt]\pgfPTendoption%
51 % CS render mode
52 \vfill%
53 \pgfPTMoption{4}{CS render mode}{fill and outline}{%
54 Sets the chemical symbol render mode. Available modes are \red{fill}, \red{outline} or \red{fill and outline}.
55 }
56 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
57 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
58 \newpage%\\ [5pt]
59 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS render mode=fill]%
60 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS render mode=fill]}}%
61 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS render mode=outline]%
62 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS render mode=outline]}}%
63 \\ [-5pt]\pgfPTendoption%
64 % CS outline color
65 \pgfPTMoption{4}{CS outline color}{black}{%
66 Sets the outline color for the chemical symbol.
67 }
68 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS outline color=red]%
69 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS outline color=red]}}%
70 \\ [-5pt]\pgfPTendoption%
71 % CS outline width
72 \pgfPTMoption{4}{CS outline width}{0.05}{%
73 Sets the outline width of the chemical symbol. It is any positive numerical value \textbf{without dimensions} (1.0 is roughly 1.0pt).
74 }
75 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS outline width=.2]%
76 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS outline width=.2]}}%
77 \\ [-5pt]\pgfPTendoption%
78 % CS={r=??,olc=??,olw=??,f=??,s=??,l=??,g=??,sy=??} (pseudo style)%
79 % CS/.default={r=fill and outline,c=black,w=.05,f=\small\bfseries,s=solido,l=liquido,g=gasoso,sy=sintetico}%
80 \newpage\ \\ [-25pt]%
81 \pgfPTMstyle{4}{CS}{\vbox to 7pt{\hbox{\{r=fill and outline,c=black,w=.05,f=\string\small\string\bfseries,s=solido,l=liquido,}\vskip0pt\hbox{\ g=gasoso,sy=sintetico\}}}}{%
82 \ \\ [6pt]\textit{Pseudo style} to set the keys: CS \textbf{r}ender mode, CS \textbf{o}ut\textbf{l}ine \textbf{c}olor, CS \textbf{o}ut\textbf{l}ine \textbf{w}idth, CS font, CS \textbf{s}olid, CS \textbf{l}iquid, CS \textbf{g}as and/or CS \textbf{sy}nt and/or the style CS \textbf{all}.
83 None of the \textit{keys} -- r, olc, olw , f, s, l, g, sy and all -- are mandatory.
84 \\ [5pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=10.8cm] {CS=\{r=<fill|outline|fill and outline>,olc=<color>,olw=<positive numerical value>\\ %
85 \textcolor{cyan!10!white}{CS=\{}f=<font commands>,s=<color>,l=<color>,g=<color>,sy=<color>,all=<color>\}};}}}%
86 }%
87 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},CS={r=outline,olc=red,olw=.4},show legend pins=false]%
88 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},CS={r=outline,olc=red,olw=.4},show legend pins=false]}}%
89 \\ [0pt]\pgfPTendstyle%
90 \endinput