Debian Codegraph @

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

raw
1 \vfill%
2 \subsubsection{\texorpdfstring{\ding{224} Title and Legend}{Title and Legend}}\vspace{6pt}
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 % show title
5 \label{option_show title}%
6 \pgfPTMoption{4}{show title}{true}%
7 {When set to \red{true} the title is shown, otherwise the title (Periodic Table of elements) is not shown.}%
8 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
9 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
10 \newpage%\\ [10pt]
11 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show title=false]%
12 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show title=false]}}%
13 \\ [0pt]\pgfPTendoption%
14 % title font
15 \label{option_title font}%
16 \pgfPTMoption{4}{title font}{\string\Large\string\bfseries}%
17 {Sets the font used in the title.}%
18 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},title font=\string\Huge\string\itshape]%
19 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},title font=\Huge\itshape]}}%
20 \\ [0pt]\pgfPTendoption%
21 % title color
22 \label{option_title color}%
23 \pgfPTMoption{4}{title color}{black}%
24 {Sets the title color.}%
25 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},title color=green!50!black]%
26 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},title color=green!50!black]}}%
27 \\ [0pt]\pgfPTendoption%
28 \vfill%
29 % title (pseudo style)
30 \label{style_title}%
31 \pgfPTMstyle{4}{title}{\{f=\string\Large\string\bfseries,c=black\}}%
32 {\textit{Pseudo style} to set the keys: title \textbf{f}ont and/or title \textbf{c}olor. None of the \textit{keys} -- f and c -- are mandatory.
33 The key \red{show title} is set to \red{true}.
34 \\ [3pt]\makebox[\linewidth][c]{\use{title=\{f=<font commands>,c=<color>\}}}%
35 }%
36 \vfill%
37 \newpage%\\ [5pt]
38 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},title={f=\string\Huge,c=teal}]%
39 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},title={f=\Huge,c=teal}]}}%
40 \\ [0pt]\pgfPTendstyle%
41 % show legend
42 \vfill%
43 \label{option_show legend}%
44 \pgfPTMoption{4}{show legend}{true}%
45 {When set to \red{true} the legend is shown, otherwise it is not shown.}%
46 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
47 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
48 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show legend=false]%
49 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show legend=false]}}%
50 \\ [0pt]\pgfPTendoption%
51 \newpage\ \\ [-32pt]%
52 % legend xshift
53 \label{legend xshift}%
54 \pgfPTMoption[\pgfPTnewinversion{2.1.6}]{4}{legend xshift}{0}%
55 {Defines the horizontal offset of the legend relative to its default position.}%
56 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend xshift=1cm]%
57 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend xshift=1cm]}}%
58 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend xshift=1.5*\string\pgfPTcellwd]%
59 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend xshift=1.5*\pgfPTcellwd]}}%
60 \\ [0pt]\pgfPTendoption%
61 \vfill%
62 % legend yshift
63 \label{legend yshift}%
64 \pgfPTMoption[\pgfPTnewinversion{2.1.6}]{4}{legend yshift}{0}%
65 {Defines the vertical offset of the legend relative to its default position.}%
66 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend yshift=-1cm]%
67 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend yshift=-1cm]}}%
68 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend xshift=-.5*\string\pgfPTcellht]%
69 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend yshift=-.5*\pgfPTcellht]}}%
70 \\ [0pt]\pgfPTendoption%
71 \newpage\ \\ [-32pt]%
72 % legend acronyms
73 \label{option_legend acronyms}%
74 \pgfPTMoption{4}{legend acronyms}{true}%
75 {When set to \red{true}, the legend consists of a cell using acronyms for its contents and the corres\-ponding des\-criptions below that cell.
76 When set to \red{false}, only the cell is displayed with the des\-criptions in place of the acronyms. In the latter case, the description font size is automatically adjusted to the available box, which can \textit{spoil the appearance of the whole caption}, depending on the described content.
77 }%
78 %\vfill%
79 %\newpage%
80 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
81 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
82 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms=false]%
83 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms=false]}}%
84 \\ [0pt]\pgfPTendoption%
85 \vfill%
86 % legend acronyms at right
87 \label{option_legend acronyms at right}%
88 \pgfPTMoption{4}{legend acronyms at right}{false}%
89 {When set to \red{true}, the legend acronyms descriptions are shown to the right of the cell.
90 \\ [5pt]\tikz{\node[text width=\linewidth-.6666em,fill=orange!5!white,draw=orange,rounded corners=2pt]
91 {\textbf{\orange{NOTE}}:\\ If the cell contains both \blue{ls} and \blue{DiscC}, \red{legend acronyms at right} will be automatically set to false.};}}%
92 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms at right=true]%
93 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms at right=true]}}%
94 \newpage%\vspace{-34pt}\ %
95 \pgfPTMbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
96 \pgfPTbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
97 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms at right=true,cell style=myname]%
98 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms at right=true,cell style=myname]}}%
99 \\ [5pt]\pgfPTMbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;ls),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
100 \pgfPTbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;ls),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
101 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms at right=true,cell style=myname]%
102 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms at right=true,cell style=myname]}}%
103 \\ [0pt]\pgfPTendoption%
104 % legend acronyms_font_size
105 \label{option_legend_acronyms_font_size}%
106 \vfill%
107 \pgfPTMoption[\pgfPTnewinversion{2.1.5}]{4}{legend acronyms font size}{document font size}%
108 {Sets the font size of the text used in the \red{legend acronyms} description. It must be a valid \TeX\ dimension and \textit{it only works when the key \red{legend acronyms} is set to \red{true}}.
109 \vskip0pt\relax}%
110 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend acronyms font size=14pt]%
111 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend acronyms font size=14pt]}}%
112 \\ [0pt]\pgfPTendoption%
113 \newpage\vspace{-34pt}\ %
114 % legend box (style)
115 \label{style_legend box}%
116 \pgfPTMstyle{4}{legend box}{left color=black!20,right color=black!10,draw=black!30}%
117 {Style to define the appearance of the box around the legend, legend pins and acronym descriptions, built with any of the \txttikz\ keys that can be applied to a path construction.
118 \textit{It only works when the key \red{legend acronyms} is set to \red{true}}.}%
119 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
120 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
121 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]%
122 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10}]}}%
123 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10},legend acronyms=false]%
124 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={draw=blue!20,fill=blue!10},legend acronyms=false]}}%
125 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend box={}]%
126 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend box={}]}}%
127 \\ [0pt]\pgfPTendstyle%
128 % legend back color
129 \label{option_legend back color}%
130 \pgfPTMoption{4}{legend back color}{white}%
131 {Sets the legend background color.}%
132 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
133 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
134 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend back color=blue!10]%
135 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend back color=blue!10]}}%
136 \\ [0pt]\pgfPTendoption%
137 % legend radio color
138 \label{option_legend radio color}%
139 \pgfPTMoption{4}{legend radio color}{black}%
140 {Sets the color of the radioactivity acronym and corresponding description.}%
141 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
142 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
143 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend radio color=red]%
144 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend radio color=red]}}%
145 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend radio color=red,legend acronyms=false]%
146 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend radio color=red,legend acronyms=false]}}%
147 \\ [0pt]\pgfPTendoption%
148 % legend CS color
149 \vfill%
150 \label{option_legend CS color}%
151 \pgfPTMoption{4}{legend CS color}{black!50}%
152 {Sets the color of the Chemical Symbol acronym and corresponding description.}%
153 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
154 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
155 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend CS color=red]%
156 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend CS color=red]}}%
157 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend CS color=red,legend acronyms=false]%
158 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend CS color=red,legend acronyms=false]}}%
159 \\ [0pt]\pgfPTendoption%
160 \newpage\vspace{-34pt}\ %
161 % legend Z color
162 \label{option_legend Z color}%
163 \pgfPTMoption{4}{legend Z color}{\{\}}%
164 {Sets the color of the atomic number description (only applies when the key \red{legend acronyms} is set to \red{true}.)}%
165 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
166 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
167 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend Z color=red]%
168 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend Z color=red]}}%
169 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend Z color=red,legend acronyms=false]%
170 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend Z color=red,legend acronyms=false]}}%
171 \\ [0pt]\pgfPTendoption%
172 \newpage\vspace{-34pt}\ %
173 % show legend pins
174 \label{option_show legend pins}%
175 \pgfPTMoption{4}{show legend pins}{true}%
176 {When set to \red{true} the legend pins are shown, otherwise they are not shown.}%
177 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
178 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
179 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},show legend pins=false]%
180 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},show legend pins=false]}}%
181 \\ [-5pt]\pgfPTendoption%
182 % legend pins (style)
183 \label{style_legend pins}%
184 \pgfPTMstyle{4}{legend pins}{\raisebox{-\baselineskip}{%
185 \vbox{\hsize=.5\linewidth\hbox{\{line width=.05pt,rounded corners=2pt,right color=black!5,}\vskip0pt\hbox{left color=white,draw=black!50\}}}}
186 }%
187 {\ \\ [4pt]Style to define the appearance of the legend pins, built with any of the \txttikz\ keys that can be applied to a path construction.}%
188 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36}]%
189 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36}]}}%
190 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10}]%
191 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10}]}}%
192 \newpage%\\ [10pt]
193 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]%
194 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},legend pins={draw=red,fill=red!10},legend acronyms=false]}}%
195 \\ [0pt]\pgfPTendstyle%
196 % show extra legend
197 \label{option_show extra legend}%
198 \pgfPTMoption{4}{show extra legend}{true}%
199 {When set to \red{true} the extra legend is shown, otherwise it is not shown.}%
200 \\ [10pt]\pgfPTMbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
201 \pgfPTbuildcellstyle{myname}(6,3)[(1;1-2;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4;1-3;name),(5.25-6.75;1-3;DiscC)]%
202 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname]%
203 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname]}}%
204 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,show extra legend=false]%
205 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,show extra legend=false]}}%
206 \\ [0pt]\pgfPTendoption%
207 % extra legend (style)
208 \vfill%
209 \label{style_extra legend}%
210 \pgfPTMstyle{4}{extra legend}{\raisebox{-\baselineskip}{%
211 \vbox{\hsize=.5\linewidth\hbox{\{draw=black!50,fill=black!10,line width=.05pt,}\hbox{rounded corners=2pt\}}}}
212 }%
213 {\ \\ [4pt]Style to define the appearance of the extra legend, built with any of the \txttikz\ keys that can be applied to a path construction.}%
214 \newpage%\\ [5pt]
215 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc]%
216 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTdisc]}}%
217 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]%
218 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTdisc,extra legend={draw=red,fill=red!10}]}}%
219 \\ [10pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=pgfPTdisc,legend acronyms=false,extra legend={draw=red,fill=red!10}]%
220 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=pgfPTdisc,legend acronyms=false,extra legend={draw=red,fill=red!10}]}}%
221 \\ [0pt]\pgfPTendstyle%
222 % legend (pseudo style)
223 \vfill%
224 \label{style_legend}%
225 \pgfPTMstyle{4}{legend}{\{bc=white,pins=true,extra=true,acro=true\}}%
226 % {bc=??,pins=??,extra=??,acro=??,radio=??,CS=??,Z=??,pins style=??,extra style=??,box=??}
227 {\textit{Pseudo style} to set the keys: legend \textbf{b}ack \textbf{c}olor, show legend \textbf{pins}, show \textbf{extra} legend, legend \textbf{acro}nyms, legend \textbf{radio} color, legend \textbf{CS} color, legend \textbf{Z} color, legend \textbf{pins} (\textbf{style}), \textbf{extra} legend (\textbf{style}) and/or legend \textbf{box} (style). None of the \textit{keys} -- bc, pins, extra, acro, radio, CS, Z, pins style, extra style and box -- are mandatory.
228 The key \red{show legend} is set to \red{true}.
229 \\ [5pt]\makebox[\linewidth][c]{\use{\tikz{\node[text width=10.15cm] {legend=\{bc=<color>,pins=<true|false>,extra=<true|false>,acro=<true|false>,\\ %
230 \textcolor{cyan!10!white}{legend=\{}radio=<color>,CS=<color>,Z=<color>,pins style=<tikz path keys>,\\ %
231 \textcolor{cyan!10!white}{legend=\{}extra style=<tikz path keys>,box=<tikz path keys>\}};}}}%
232 }%
233 \newpage%
234 \pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,legend={bc=black!10,extra=false}]%
235 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,legend={bc=black!10,extra=false}]}}%
236 \\ [5pt]\pgfPTMmacrobox{pgfPT}[Z list={1,...,36},cell style=myname,legend={acro=false,extra=false}]%
237 \\ [5pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[Z list={1,...,36},cell style=myname,legend={acro=false,extra=false}]}}%
238 \\ [0pt]\pgfPTendstyle%
239 \endinput