Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 The following examples could be used for students or for any other purposes.
3 \\ [10pt]\pgfPTMbuildcell(8,3)[(1;1.4-2.8;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4.2;1-3;name), %
4 (5.4;1-3;Ar),(6.5;1-3;eDist),(7.55-8.95;1-2.25;DiscC),(7.55-8.95;2.25-3.8;DiscY)%
5 ]%
6 \pgfPTbuildcell(8,3)[%
7 (1;1.4-2.8;Z),(1;3;radio),%
8 (2-3;1.5-3.5;CS),(4.2;1-3;name),%
9 (5.4;1-3;Ar),(6.5;1-3;eDist),%
10 (7.55-8.95;1-2.25;DiscC),%
11 (7.55-8.95;2.25-3.8;DiscY)%
12 ]%
13 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[]%
14 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT}}%
15 \vfill%\\ [10pt]
16 \pgfPTMmacrobox{pgfPT}[eDist color=blue!70!black,Ar precision=2,DiscC font=\string\fontsize{4}{4}\string\selectfont,DiscY font=\string\fontsize{4}{4}\string\selectfont\string\bfseries]
17 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[eDist color=blue!70!black,Ar precision=2,DiscC font=\fontsize{4}{4}\selectfont,DiscY font=\fontsize{4}{4}\selectfont\bfseries]}}%
18 \newpage%
19 \pgfPTMbuildcell(8,3)[(1;1-2;Z),(1;3;radio),(2-3;1-3;CS),(4;1-3;name),(5;1-2.5;Ar),(5;2.5-3;spectra), %
20 (7;1-2.5;DiscY),(7;2.5-3;DiscC),(8;1-3;eDist)%
21 ]%
22 \pgfPTbuildcell(8,3)[%
23 (1;1-2;Z),(1;3;radio),%
24 (2-3;1-3;CS),(4;1-3;name),%
25 (5;1-2.5;Ar),(5;2.5-3;spectra),%
26 (7;1-2.5;DiscY),(7;2.5-3;DiscC),%
27 (8;1-3;eDist)%
28 ]%
29 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[csPS,Ar label=w,background={left color=black!20}]%
30 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[csPS,Ar label=w,background={left color=black!20}]}}%
31 \vfill%
32 \pgfPTMbuildcell(8,3)[(1;1-3;Z),(1;3;radio),(2-3;1.5-3.5;CS),(4.2;1-3;name),(5.4;1-3;Ar), %
33 (6.5;1-3;eConfignl),(7.55-8.95;1-2.45;DiscC),(7.55-8.95;2.45-3;DiscY)%
34 ]%
35 \pgfPTbuildcell(8,3)[%
36 (1;1-3;Z),(1;3;radio),%
37 (2-3;1.5-3.5;CS),(4.2;1-3;name),%
38 (5.4;1-3;Ar),%
39 (6.5;1-3;eConfignl),%
40 (7.55-8.95;1-2.45;DiscC),%
41 (7.55-8.95;2.45-3;DiscY)%
42 ]%
43 \\ [-4pt]\pgfPTMmacrobox{pgfPT}[eConfignl color=blue!70!black,Ar precision=2,DiscC font=\string\fontsize{4}{4}\string\selectfont,DiscY font=\string\fontsize{4}{4}\string\selectfont\string\bfseries]%
44 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[eConfignl color=blue!70!black,Ar precision=2,DiscC font=\fontsize{4}{4}\selectfont,DiscY font=\fontsize{4}{4}\selectfont\bfseries]}}%
45 \newpage%
46 \pgfPTresetcell%
47 \pgfPTPeriodColors{period}{P5=red!20}%
48 \pgfPTGroupColors{group}{G14=green!20}%
49 \pgfPTCScombine{period,group,mix}%
50 \pgfPTMlibexample{%
51 \textbf{\bs{usepgfPTlibrary}\lb\red{colorschemes}\rb}%
52 \\ \bs{pgfPTPeriodColors}\lb\red{period}\rb\lb\red{P5=red!20}\rb%
53 \\ \bs{pgfPTGroupColors}\lb\red{group}\rb\lb\red{G14=green!20}\rb%
54 \\ \bs{pgfPTCScombine}\lb\red{period,group,mix}\rb%
55 \\ \pgfPTMmacro{pgfPT}[back color scheme=mix,show title=false]%
56 }{%
57 \scalebox{.6}{\pgfPT[back color scheme=mix,show title=false]}%
58 \\ In the Periodic Table, a row is called a \textbf{\textcolor{red!40}{period}} and a column is called a \textbf{\textcolor{green!40}{group}}.
59 }% -----
60 \newpage\ %
61 \vfill%
62 \pgfPTbuildcell(8,3)[%
63 (1;1-3;Z),(1;3;radio),%
64 (2-3;1.5-3.5;CS),(4.2;1-3;name),%
65 (5.4;1-3;Ar),%
66 (6.5;1-3;eDist),%
67 (7.55-8.95;1-2.45;DiscC),%
68 (7.55-8.95;2.45-3;DiscY)%
69 ]%
70 \pgfdeclarelayer{back}\pgfsetlayers{back,main}
71 \def\grupo[#1][#2] #3{%
72 \begin{tikzpicture}[inner xsep=0pt]
73 \node[below left,text width=1.75cm,text centered] (figura) at (0,0) %
74 {\scalebox{.5}{\pgfPT[show title=false,show label LaAc=true,show legend=false,back color scheme=pgfPTMNM,%
75 font=Roboto-TLF,CS font=\fontfamily{RobotoSlab-TLF}\bfseries\large,eDist color=blue!70!black,%
76 DiscC font=\fontsize{4}{4}\selectfont,DiscY font=\fontsize{4}{4}\selectfont\bfseries,%
77 name font=\fontseries{l}\fontsize{6pt}{6pt}\selectfont,name color=red!50!black,%
78 Ar precision=2,Z list=G#2]}};%
79 \node[right,text width={\linewidth-2.25cm}] (descricao) at (figura.east) {#1\\ [4pt]#3};
80 \draw[draw=none,left color=black!20,right color=black!60] (figura.north west) rectangle ++(\linewidth,2pt);
81 \draw[draw=none,left color=black!20,right color=black!60] (figura.south west) rectangle ++(\linewidth,-2pt);
82 \begin{pgfonlayer}{back}
83 \draw[draw=none,left color=black!20,right color=black!60,opacity=.25] (figura.north west) rectangle ([xshift=\linewidth]figura.south west);
84 \end{pgfonlayer}
85 \end{tikzpicture}
86 }%
87 \tcexemplo[Representative elements: element families]{%
88 For the \textbf{\textit{representative elements}} (groups \textbf{1}, \textbf{2} and \textbf{13} to \textbf{18}) it is common to speak of families that reflect their common characteristics. So we have \textbf{the families}:
89 \\ [10pt]\grupo[GROUP \textcolor{blue!50!black}{\textbf{1}}: \textbf{Alkali metals}][1*]
90 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{lithium, sodium, potassium, rubidium, cesium and francium}.}%
91 \\ [4.5pt]The atoms of these elements \textbf{have} only \textbf{\textcolor{blue!50!black}{one} valence electron}.%
92 \vspace{4.5pt}\small\begin{itemlist}
93 \item They react violently with water to form hydroxides.%
94 \item They have a silver-gray color, with the exception of cesium, which has a golden hue.%
95 \end{itemlist}
96 }%
97 \\ \grupo[GROUP \textcolor{blue!50!black}{\textbf{2}}: \textbf{Alkaline earth metals}][2]
98 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{beryllium, magnesium, calcium, strontium, barium and radium}.}%
99 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{two} valence electrons}.%
100 \vspace{4.5pt}\small\begin{itemlist}
101 \item Their oxides remain solid at high temperatures and form alkaline solutions.%
102 \item They react violently with water to form hydroxides.%
103 \item When they burn, they have reddish flames, excluding barium, which presents a greenish flame.%
104 \end{itemlist}
105 }%
106 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{3}}: \textbf{\textit{Boron} group}][13]
107 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{boron, aluminium, gallium, indium, thallium and nihonium}.}%
108 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{three} valence electrons}.%
109 \vspace{4.5pt}\small\begin{itemlist}
110 \item Boron is a metalloid and the other are metals.%
111 \item Boron, aluminium, gallium, indium and thallium are often used as p-type silicon dopants.%
112 \item Aluminium is the third most abundant element in the Earth's crust (7.4\%)%
113 \end{itemlist}
114 }%
115 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{4}}: \textbf{\textit{Carbon} group}][14]
116 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{carbon, silicon, germanium, tin, lead and flerovium}.}%
117 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{four} valence electrons}.%
118 \vspace{4.5pt}\small\begin{itemlist}
119 \item Carbon is a non-metal, silicon and germanium are metalloids, and tin and lead are metals.%
120 \item Silicon and germanium are used in semiconductors.%
121 \end{itemlist}
122 }%
123 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{5}}: \textbf{Pnictogens}][15]
124 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{nitrogen, phosphorus, arsenic, antimony, bismuth and moscovium}.}%
125 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{five} valence electrons}.%
126 \vspace{4.5pt}\small\begin{itemlist}
127 \item Nitrogen and phosphorus are non-metals, arsenic and antimony are metalloids and bismuth is a metal.%
128 \item Phosphorus, arsenic, antimony and bismuth are often used as n-type silicon dopants.%
129 \item Diatomic nitrogen is the main constituent of the Earth's atmosphere (78\%).%
130 \end{itemlist}
131 }%
132 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{6}}: \textbf{Chalcogens}][16]
133 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{oxygen, sulfur, selenium, tellurium, polonium and livermorium}.}%
134 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{six} valence electrons}.%
135 \vspace{4.5pt}\small\begin{itemlist}
136 \item Oxygen, sulfur and selenium are non-metals, tellurium is a metalloid and polonium is a metal.%
137 \item Diatomic oxygen is the second constituent of the Earth's atmosphere (21\%).%
138 \end{itemlist}
139 }%
140 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{7}}: \textbf{Halogens}][17]
141 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{fluorine, chlorine, bromine, iodine, astatine and tennessine}.}%
142 \\ [4.5pt]The atoms of these elements \textbf{have \textcolor{blue!50!black}{seven} valence electrons}.%
143 \vspace{4.5pt}\small\begin{itemlist}
144 \item They are extremely reactive elements, as they are very electronegative.%
145 \item Fluorine is able to \textit{attack} inert substances, including the heavier noble gas atoms.%
146 \end{itemlist}
147 }%
148 \\ \grupo[GROUP 1\textcolor{blue!50!black}{\textbf{8}}: \textbf{Noble gases}][18]
149 {\red{\raisebox{1.25pt}{$\boldsymbol{\blacktriangleright}$} \textit{helium, neon, argon, krypton, xenon, radon and oganesson}.}%
150 \\ [4.5pt]The atoms of these elements have the valence shell fully filled, which corresponds to \textbf{\textcolor{blue!50!black}{eight} valence electrons}, with the exception Helium, which has only one shell and, consequently, has \textbf{two valence electrons}.
151 \vspace{4.5pt}\small\begin{itemlist}
152 \item They are extremely inert elements, that is, they do not react with other elements, as they are the most stable elements in Nature.%
153 \end{itemlist}
154 }%
155 }%
156 \vfill%
157 \blue{\textit{For the source of this example please see the file} pgf-PeriodicTableManual\_Examples.tex}
158 \vfill%
159 \newpage
160 \mymfbox{%
161 \textbf{\underline{EXERCISE}:}
162 \\ [3pt]In the following scheme of the Periodic Table, the positions of some chemical elements are represented by letters:
163 \\ [3pt]\makebox[\linewidth][c]{\textit{\scriptsize\blue{THE LETTERS DO NOT CORRESPOND TO THE CHEMICAL SYMBOLS OF THE ELEMENTS.}}}
164 \\ [6pt]\makebox[\linewidth][c]{\pgfPT[Z exercise list={1,2,3,4,9,12,17,18,19,20,25,27,32,34,35,49,54,74,86,87},Z list=spd,%s
165 cell size=1.5em,ex={c=blue,f=\bfseries}]}
166 \\ [6pt]\textbf{Using the letters shown}:
167 \begin{enumerate}
168 \item identify group 2 elements of the Periodic Table.%: \hrulefill
169 \item identify the elements of the 2\raisebox{3pt}{\scriptsize nd} period of the Periodic Table.%: \hrulefill
170 \item identify group 17 elements of the Periodic Table.%: \hrulefill
171 \item identify the elements of s-block.%: \hrulefill
172 \item identify the elements of p-block.%: \hrulefill
173 \item identify the elements of d-block.%: \hrulefill
174 \item identify the metallic elements.%: \hrulefill
175 \item identify the non-metallic elements.%: \hrulefill
176 \item identify the transition metals.%: \hrulefill
177 \item identify the alkaline earth metals.%: \hrulefill
178 \item identify the noble gases.%: \hrulefill
179 \item tell which element belongs, simultaneously, to the 4\raisebox{3pt}{\scriptsize th} period and to group 14.%\\ [6pt]\makebox[\linewidth][s]{\hrulefill}
180 \item identify the representative elements that tend to generate positive ions.%:\\ [6pt]\makebox[\linewidth][s]{\hrulefill}
181 \item indicate an element that forms binegative ions.%: \hrulefill
182 \item indicate the halogen whose mononegative ion has the largest radius.%: \hrulefill
183 \item write the chemical formula of the compound formed by the elements \textbf{\blue{F}} and \textbf{\blue{O}}.%\\ [6pt]\makebox[\linewidth][s]{\hrulefill}
184 \item identify, justifying, the element with the largest atomic radius.%:\\ [6pt]\makebox[\linewidth][s]{\hrulefill}\\ [6pt]\makebox[\linewidth][s]{\hrulefill}
185 \item identify, justifying, the element with the lowest 1\raisebox{3pt}{\scriptsize st} ionization \mbox{energy}.%:\\ [6pt]\makebox[\linewidth][s]{\hrulefill}\\ [6pt]\makebox[\linewidth][s]{ \hrulefill}
186 \end{enumerate}
187 }%
188 \vfill%
189 \blue{\textit{For the source of this example please see the file} pgf-PeriodicTableManual\_Examples.tex}
190 \vfill%
191 \newpage
192 \def\xbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}x\vfil}};}}%
193 \def\obox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}$\bigcirc$\vfil}};}}%
194 \def\dbox{\tikz[baseline=(x.base)]{\node[text width=15pt,text centered,font=\Large,draw,thick,rounded corners=.5pt,inner sep=0pt,fill=white] (x) {\vbox to 15pt{\vfil\color{gray}$\Delta$\vfil}};}}%
195 \mymfbox{%
196 \textbf{\underline{EXERCISE}:}
197 \\ [3pt]Using the following notation,
198 \begin{itemize}
199 \item[\xbox] for the elements in the gaseous state (NTP),
200 \item[\obox] for the elements in the liquid state (NTP) and
201 \item[\dbox] for the synthetic elements,
202 \end{itemize}
203 fill in the following Periodic Table:
204 \\ [10pt]\makebox[\linewidth][c]{\scalebox{.6}{\pgfPT[only cells]}}
205 }
206 \vspace{15pt}%
207 \blue{\textit{For the source of this example please see the file} pgf-PeriodicTableManual\_Examples.tex}%
208 \endinput