summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/pgf-periodictable/manualfiles/pgf-PeriodicTableManual_periodgroup.tex
blob: fa8b95b5306cc7f6922581ab2873748db67c7c65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
%\vfill\vfill%
\subsubsection{\texorpdfstring{\ding{224} Periods and Groups}{Periods and Groups}}\vspace{6pt}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% show period numbers
\label{option_show period numbers}%
\pgfPTMoption{4}{show period numbers}{true}%
{When set to \red{true} the period numbers are shown, otherwise they are not shown.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show period numbers=false]%
\\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show period numbers=false]}}%
\\ [5pt]\pgfPTendoption%
%\vfill%
%\newpage\ \\ [-32pt]%
% show group numbers
\label{option_show group numbers}%
\pgfPTMoption{4}{show group numbers}{true}%
{When set to \red{true} the group numbers are shown, otherwise they are not shown.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
\\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show group numbers=false]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show group numbers=false]}}%
\\ [5pt]\pgfPTendoption%
\vfill%
% period label color
\label{option_period label color}%
\pgfPTMoption{4}{period label color}{red!50!black}%
{Sets the period label color.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},period label color=black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},period label color=black]}}%
\\ [5pt]\pgfPTendoption%
\vfill%
%\newpage\ \\ [-32pt]%
% group label color
\label{option_group label color}%
\pgfPTMoption{4}{group label color}{blue!50!black}%
{Sets the group label color.}%
\vfill%
\newpage%\\ [5pt]
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},group label color=black]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},group label color=black]}}%
\\ [0pt]\pgfPTendoption%
\vfill%
% label font
\label{option_label font}%
\pgfPTMoption{4}{label font}{\string\small\string\bfseries}%
{Sets the label font.}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},label font=\string\itshape]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},label font=\itshape]}}%
\\ [0pt]\pgfPTendoption%
\vfill%
% per={gr=??,c=??,f=??} -> auto sets 'show period numbers=true'; 'show group numbers' can be set to 'false' by the user
%       per/.default={gr=true,c=red!50!black,f=\small\bfseries}
% legend (pseudo style)
\label{style_per}%
\pgfPTMstyle{4}{per}{\{gr=true,c=red!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style} to set the keys: show \textbf{gr}oup numbers, period label \textbf{c}olor and/or label \textbf{f}ont. None of the \textit{keys} -- gr, c and f -- are mandatory.
The key \red{show period numbers} is set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{per=\{gr=<true|false>,c=<color>,f=<font commands>\}}}%
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},per={gr=false,c=green!50!black}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},per={gr=false,c=green!50!black}]}}%
\\ [0pt]\pgfPTendstyle%
\vfill%
%\newpage\ \\ [-32pt]%
% gr={per=??,c=??,f=??} -> auto sets 'show groups numbers=true'; 'show period numbers' can be set to 'false' by the user
%       gr/.default={per=true,c=blue!50!black,f=\small\bfseries}
% gr (pseudo style)
\label{style_gr}%
\pgfPTMstyle{4}{gr}{\{per=true,c=blue!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style} to set the keys: show \textbf{per}iod numbers, group label \textbf{c}olor and/or label \textbf{f}ont. None of the \textit{keys} -- per, c and f -- are mandatory.
The key \red{show group numbers} is set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{gr=\{per=<true|false>,c=<color>,f=<font commands>\}}}%
}%
\vfill%
\newpage%\\ [5pt]
\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},gr={per=false,c=green!50!black}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},gr={per=false,c=green!50!black}]}}%
\\ [0pt]\pgfPTendstyle%
% per+gr={c=??,pc=??,gc=??,f=??} -> auto sets 'show period numbers=true' & 'show groups numbers=true'
%       per+gr/.default={pc=red!50!black,gc=blue!50!black,f=\small\bfseries}
% per+gr (pseudo style)
\label{style_per+gr}%
\pgfPTMstyle{4}{per+gr}{\{pc=red!50!black,gc=blue!50!black,f=\string\small\string\bfseries\}}%
{\textit{Pseudo style}: use \textbf{c} to set both keys group label color and period label color with the same color; use \textbf{pc} to set period label color, \textbf{gc} to set group label color and/or \textbf{f } to set label \textbf{f}ont. None of the \textit{keys} -- c, pc, gc and f -- are mandatory.
The keys \red{show period numbers} and \red{show group numbers} are set to \red{true}.
\\ [3pt]\makebox[\linewidth][c]{\use{per+gr=\{c=<color>,pc=<color>,gc=<color>,f=<font commands>\}}}%
}%
\\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},per+gr={c=green!50!black, f=\string\fontfamily{frc}\string\selectfont\string\normalsize\string\bfseries}]%
\\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},per+gr={c=green!50!black,f=\fontfamily{frc}\selectfont\normalsize\bfseries}]}}%
\\ [0pt]\pgfPTendstyle%
\endinput