Debian Codegraph @

texmf-dist/doc/latex/tikzorbital/tikzorbital.tex

raw
1 \documentclass[10pt]{article}
2
3 \usepackage[utf8]{inputenc}
4 \usepackage[T1]{fontenc}
5 \usepackage[english]{babel}
6
7 \usepackage{url}
8 \usepackage{xcolor}
9 \usepackage[version=3]{mhchem}
10 \usepackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
11
12 \usepackage{tikz}
13 \usetikzlibrary{shadows}
14
15 \usepackage{palatino}
16 \setlength{\parskip}{1.5ex plus 0.5ex minus 0.5ex}
17 \setlength{\parindent}{0em}
18 \usepackage{setspace}
19 \AtBeginDocument{\onehalfspacing}
20
21 \usepackage[toc]{multitoc}
22 \setlength{\columnsep}{2cm}
23 \renewcommand{\columnseprule}{.14pt}
24
25 % ------------------------------------------------------------------------------
26 % section format
27 % ------------------------------------------------------------------------------
28 \usepackage{titlesec}
29 \titleformat*{\section}{\sffamily\Large\bfseries}
30 \titleformat*{\subsection}{\sffamily\large\bfseries}
31 \titleformat*{\subsubsection}{\sffamily\bfseries}
32
33 % ------------------------------------------------------------------------------
34 % listing package
35 % ------------------------------------------------------------------------------
36 \usepackage{listings}
37 \definecolor{keycolor}{RGB}{172, 42, 42}
38
39 \lstset{% general command to set parameter(s)
40 language=[LaTeX]TeX,
41 numbers=left,
42 numberstyle=\tiny\color{black!50},
43 identifierstyle=,
44 basicstyle={\small\color{black!95}\ttfamily},
45 stringstyle=,
46 keywordstyle=\bfseries\color{keycolor},
47 commentstyle=\color{black!50},
48 backgroundcolor=,
49 emph={ifthenelse,equal,draw,node,tikzstyle,pgfsetlayers,pgfkeys,ProvidesPackage,
50 colorlet,default,store, in, cd, setOrbitalDrawing, orbitalDrawing,
51 path,text,RequirePackage,pgfdeclarelayer,usetikzlibrary,command},
52 emphstyle=\bfseries\color{red!60!black},
53 emph=[2]{orbital,drawLevel,@alobe},
54 emphstyle=[2]\itshape\color{blue!50!black},
55 moredelim=[s][\color{green!40!black}]{[}{]},
56 }
57
58 % ------------------------------------------------------------------------------
59 % new float example
60 % ------------------------------------------------------------------------------
61 \usepackage{float}
62 \newfloat{example}{htbp}{exple}[section]
63 \floatname{example}{Example}
64
65 % ------------------------------------------------------------------------------
66 % newcommand
67 % ------------------------------------------------------------------------------
68 \usepackage{xspace}
69 \newcommand*{\cmd}[1]{{\ttfamily\color{blue!50!black}$\setminus$#1}\xspace}
70 \newcommand*{\opt}[1]{{\ttfamily\itshape\color{green!60!black}[<#1>]}\xspace}
71 \newcommand*{\marg}[1]{{\ttfamily\itshape\color{red!95!black}<#1>}\xspace}
72 \newcommand{\package}{\textsc{\sffamily\color{blue!50!black}tikzorbiltal}\xspace}
73
74 % ------------------------------------------------------------------------------
75 % hyperref
76 % ------------------------------------------------------------------------------
77 \usepackage{hyperref}
78 \hypersetup{% Modifiez la valeur des champs suivants
79 pdftex,% Sets up hyperref for use with the pdftex program
80 colorlinks=true,% active les liens
81 pdfborder={0 0 0},% bordure des liens
82 urlcolor=blue!50!black,
83 linkcolor=,% Color for normal internal links.
84 pdfstartpage=1,% page affichee a l'ouverture du pdf
85 pdfauthor={Germain Vallverdu},%
86 pdftitle={tikzorbital package},%
87 pdfkeywords={latex,orbital,package,tikz},%
88 pdfcreator={PDFLaTeX},%
89 pdfproducer={PDFLaTeX},%
90 }
91
92 % ------------------------------------------------------------------------------
93 \title{\package Package}
94 \author{Germain \textsc{Salvato-Vallverdu} \\ \url{<[email protected]>}\\\url{http://gvallver.perso.univ-pau.fr/}}
95 \date{\today}
96
97 \usepackage{tikzorbital}
98
99 % ------------------------------------------------------------------------------
100 \begin{document}
101 % ------------------------------------------------------------------------------
102
103 \maketitle
104
105 \begin{abstract}
106 This package provides several \LaTeX{} macros in order to draw easily molecular diagrams and atomic orbital of type $s$, $p$ and $d$ inside tikzpicture environment. This documentation gives the syntax of the commands and complete examples of their utilization. The source code is give at the end.
107 \end{abstract}
108
109 {\singlespacing
110 \tableofcontents
111 }
112
113 \section{Requirements and licence}
114
115 \package underlies the \LaTeX{} project public license (lppl) version 1.3 or later (\url{http://www.latex-project.org/lppl.txt}). It requires the following packages which all are usually included in standard texlive or MikTex distribution :
116
117 \begin{itemize}
118 \item tikz, pgfkeys (part of tikz) and tikz library shapes
119 \item ifthen
120 \end{itemize}
121
122 Feel, free to send comments, contribution or suggestion by email.
123
124 \section{Installation and utilization}
125
126 Download the tarball which contains the files \verb!tikzorbital.sty! and \verb!tikzorbital.pdf! which are respectively the package file and its documentation (\url{http://gvallver.perso.univ-pau.fr/}). After extracting the files, copy them to directories where \LaTeX{} will be able to find them. For example, under Linux operating systems :
127
128 \begin{lstlisting}
129 % for the .sty file
130 /home/you/texmf/tex/latex/tikzorbital
131
132 % for the pdf documentation file
133 /home/you/texmf/doc/latex/tikzorbital
134 \end{lstlisting}
135
136 Under a macOS operating system the \verb!texmf! directory is not in your home directory but in the \verb!Library! directory.
137
138 Package \package do not have any options. After you have copied it in a directory where \LaTeX{} will find it, simply load it as other \LaTeX{} package :
139
140 \begin{lstlisting}
141 \usepackage{tikzorbital}
142 \end{lstlisting}
143
144 All macros provided by \package must be uses inside a tikzpicture environment. The \opt{pos} option of the macro is a position which can be given in the tikz syntax.
145
146 Options of macros provided by \package must be given in a \texttt{key = value} syntax. For example :
147 %
148 \begin{lstlisting}
149 \command[option 1 = <value1>, option2 = <value2> ...]{argument}
150 \end{lstlisting}
151
152 \section{Molecular orbital diagrams}
153
154 The package \package provides the following command in order to draw easily molecular orbital diagrams :
155
156 \cmd{drawLevel}\opt{options}\texttt{\{}\marg{name}\texttt{\}}
157
158 This command draw a thick line with zero, one or two electrons which represent the occupation of the orbital and are drew as vertical arrows which indicate the spin of each electron. \marg{name} is the name of the orbital and is used in order to define anchors which could be used in order to draw correlation lines or to add labels (see example \ref{expl:molecular_diagram}). The following anchor are created :
159
160 \begin{itemize}
161 \item \texttt{left name} : at the left of the orbital level
162 \item \texttt{right name} : at the right of the orbital level
163 \item \texttt{middle name} : at the middle of the orbital level
164 \end{itemize}
165
166 The following \opt{options} are available :
167 %
168 \begin{description}
169 \item \opt{elec} : Number of electrons, \texttt{<value>} must be one of \{\texttt{up, down, updown, pair}\} where \texttt{pair} and \texttt{updown} have got the same effect.\\
170 \texttt{default = no}
171
172 \item \opt{pos} : left position of the level\\
173 \texttt{default = \{(0,0)\}}
174
175 \item \opt{width} : level width\\
176 \texttt{default = 2}
177
178 \item \opt{style} : a set of tikz commands which define the way levels have to be drawn\\
179 \texttt{default = \{line width = 2pt, color = black!80, line cap = round\}}
180
181 \item \opt{spinstyle} : a set of tikz commands which define the way the arrows which represents the electrons have to be drawn\\
182 \texttt{default = \{very thick, color = red!80, -stealth\}}
183
184 \item \opt{spinlength} : length of spin arrows \\
185 \texttt{default = 1}
186 \end{description}
187
188 Note that if the value of an option contains comma or parenthesis, you should enclose its in curly brace.
189
190 Example \ref{expl:molecular_diagram} shows how to use \cmd{drawLevel} for molecule \ce{HHe}.
191
192 \begin{example}[h]
193 \begin{minipage}{0.6\textwidth}
194 \begin{lstlisting}
195 \begin{tikzpicture}
196 \drawLevel[elec = up, pos = {(0,0)}, width = 2]{1sH}
197 \drawLevel[elec = updown, pos = {(6,-2)}, width = 2]{1sHe}
198
199 \drawLevel[elec = pair, pos = {(3,-3)}, width = 2]{sigma}
200 \drawLevel[elec = up, pos = {(3,3)}, width = 2]{sigmastar}
201
202 \draw[dashed] (right 1sH) -- (left sigma)
203 (right 1sH) -- (left sigmastar)
204 (left 1sHe) -- (right sigmastar)
205 (left 1sHe) -- (right sigma) ;
206
207 \node[left] at (left 1sH) {\ce{1s_H}} ;
208 \node[right] at (right 1sHe) {\ce{1s_{He}}} ;
209 \node[left] at (left sigma) {$\sigma$};
210 \node[left] at (left sigmastar) {$\sigma^*$};
211 \end{tikzpicture}
212 \end{lstlisting}
213 \end{minipage}
214 \hfill
215 \begin{minipage}{0.39\textwidth}
216 \centering
217 \begin{tikzpicture}[scale=0.7]
218 \drawLevel[elec = up, pos = {(0,0)}, width = 2]{1sH}
219 \drawLevel[elec = updown, pos = {(6,-2)}, width = 2]{1sHe}
220
221 \drawLevel[elec = pair, pos = {(3,-3)}, width = 2]{sigma}
222 \drawLevel[elec = up, pos = {(3,3)}, width = 2]{sigmastar}
223
224 \draw[dashed] (right 1sH) -- (left sigma)
225 (right 1sH) -- (left sigmastar)
226 (left 1sHe) -- (right sigmastar)
227 (left 1sHe) -- (right sigma) ;
228
229 \node[left] at (left 1sH) {\ce{1s_H}} ;
230 \node[right] at (right 1sHe) {\ce{1s_{He}}} ;
231 \node[left] at (left sigma) {$\sigma$};
232 \node[left] at (left sigmastar) {$\sigma^*$};
233 \end{tikzpicture}
234 \end{minipage}
235 \caption{Example of the molecular diagram of the molecule \ce{HHe+} drew with the command \cmd{drawLevel}.}
236 \label{expl:molecular_diagram}
237 \end{example}
238
239 \section{Molecular orbitals drawings}
240
241 The package \package, provides the command \cmd{orbital} in order to draw atomic orbital $s$, $p$ or $d$. The general syntax is :
242
243 \cmd{orbital}\opt{options}\{\marg{type}\}
244
245 where \marg{type} is the type of the atomic orbital : \texttt{lobe, s, px, py, pz, dxy, dxz, dyz, dx2y2} or \texttt{dz2}. See example \ref{expl:all_OA} to see all atomic orbital types. The \texttt{lobe} type simply draw one lobe of a $p$ or $d$ atomic orbital and may be used, for example, to draw hybrid orbital. With the \texttt{lobe} type you can also represent electrons as small spheres inside the orbital.
246
247 \begin{minipage}{.75\textwidth}
248 \begin{lstlisting}
249 \begin{tikzpicture}
250 \node (s) {S};
251 \orbital[nelec = 2, scale = 1.5, pos = (s.east)]{lobe}
252 \end{tikzpicture}
253 \end{lstlisting}
254 \end{minipage}
255 \begin{minipage}{.25\textwidth}
256 \centering
257 \begin{tikzpicture}
258 \node (s) {S};
259 \orbital[nelec = 2, scale = 1.5, pos = (s.east)]{lobe}
260 \end{tikzpicture}
261 \end{minipage}
262
263 \subsection*{General options}
264
265 The following options, allow to change the position, the aspect and the size the atomic orbital. They are available for all type of atomic orbital. :
266 %
267 \begin{description}
268 \item \opt{pos} : position of the center of the atomic orbital\\
269 \texttt{default = \{(0,0)\}}
270
271 \item \opt{scale} : scaling factor\\
272 \texttt{default = 1}
273
274 \item \opt{opacity} : opacity of the atomic orbital. Useful if you wish to superimpose atomic orbital\\
275 \texttt{default = 1}
276 \end{description}
277
278 \subsubsection*{Color options}
279
280 The color of atomic orbitals can be selected with options : \opt{pcolor}, \opt{ncolor} or \opt{color}. The options \opt{pcolor} and \opt{ncolor} stand for the positive and the negative lobes of $p$ or $d$-type atomic orbitals. The \opt{color} option define the color of $s$-type or \texttt{lobe}-type orbital. For these types of atomic orbital, if no color is given the \opt{pcolor} is used.
281
282 \begin{description}
283 \item \opt{color} : color of the atomic orbital for $s$-type or \texttt{lobe}-type orbital \\
284 \texttt{\opt{pcolor} is used}
285
286 \item \opt{pcolor} : color of the positive lobe (or color for $s$ and $lobe$-type orbital if \opt{color} is not given)\\
287 \texttt{default = blue}
288
289 \item \opt{ncolor} : color of the negative lobe (for $p$ and $d$-type orbital only)\\
290 \texttt{default = black!30}
291 \end{description}
292
293 \subsubsection*{\texttt{lobe}-type specific options}
294
295 The following options will have an effect only for the \texttt{lobe} type :
296
297 \begin{description}
298 \item \opt{rotate} : rotation of the atomic orbital\\
299 \texttt{default = 0}
300
301 \item \opt{nelec} : number of electron to draw inside the lobe\\
302 \texttt{default = 0}
303 \end{description}
304
305 \subsubsection*{examples}
306
307 Example \ref{expl:all_OA} shows all atomic orbital types available. In order to decide the type of the atomic orbital you need, look at the axes definition below :
308
309 \begin{center}
310 \begin{tikzpicture}[scale = 2]
311 \tikzstyle{axe} = [-stealth, thick, color = black!80]
312 \draw[very thick, draw = black!80, fill = white, rounded corners = 1pt, drop shadow] (-.3,-.3) rectangle (1.2,1.821) node (corner) {};
313 \node[below left] at (corner) {paper sheet};
314 \draw[axe] (0,0) -- (1,0) node[below] {$\vec{y}$};
315 \draw[axe] (0,0) -- (0,1) node[left] {$\vec{z}$};
316 \node[circle, fill = black!80, scale = .5] at (0,0) {};
317 \node[circle, draw, color = black!80, thick, scale = 1] {};
318 \node[below left] {$\vec{x}$};
319 \node[left, xshift = -2mm] at (current bounding box.west) {Cartesian axes definition :};
320 \end{tikzpicture}
321 \end{center}
322
323 \begin{example}[htbp]
324 \begin{minipage}{.49\textwidth}
325 \begin{lstlisting}
326 \begin{tikzpicture}
327 \orbital[pos = {(2,5.5)}]{lobe}
328 \node[above] at (2.5,6) {simple lobe};
329
330 \orbital[pos = {(0,5.5)}]{s}
331 \node[above] at (0,6) {s};
332
333 \orbital[pos = {(0,3)}]{px}
334 \node[above] at (0,4) {p$_x$};
335 \orbital[pos = {(2,3)}]{py}
336 \node[above] at (2,4) {p$_y$};
337 \orbital[pos = {(4,3)}]{pz}
338 \node[above] at (4,4) {p$_z$};
339
340 \orbital[pos = {(0,0)}]{-px}
341 \node[above] at (0,1) {-p$_x$};
342 \orbital[pos = {(2,0)}]{-py}
343 \node[above] at (2,1) {-p$_y$};
344 \orbital[pos = {(4,0)}]{-pz}
345 \node[above] at (4,1) {-p$_z$};
346
347 \orbital[pos = {(0,-3)}]{dxy}
348 \node[above] at (0,-2) {d$_{xy}$};
349 \orbital[pos = {(2,-3)}]{dxz}
350 \node[above] at (2,-2) {d$_{xz}$};
351 \orbital[pos = {(4,-3)}]{dyz}
352 \node[above] at (4,-2) {d$_{yz}$};
353
354 \orbital[pos = {(0,-5)}]{dx2y2}
355 \node[below] at (0,-6) {d$_{x^2-y^2}$};
356 \orbital[pos = {(2,-5)}]{dz2}
357 \node[below] at (2,-6) {d$_{z^2}$};
358 \end{tikzpicture}
359 \end{lstlisting}
360 \end{minipage}
361 \begin{minipage}{.49\textwidth}
362 \centering
363 \begin{tikzpicture}
364 \orbital[pos = {(2,5.5)}]{lobe}
365 \node[above] at (2.5,6) {simple lobe};
366
367 \orbital[pos = {(0,5.5)}]{s}
368 \node[above] at (0,6) {s};
369
370 \orbital[pos = {(0,3)}]{px}
371 \node[above] at (0,4) {p$_x$};
372 \orbital[pos = {(2,3)}]{py}
373 \node[above] at (2,4) {p$_y$};
374 \orbital[pos = {(4,3)}]{pz}
375 \node[above] at (4,4) {p$_z$};
376
377 \orbital[pos = {(0,0)}]{-px}
378 \node[above] at (0,1) {-p$_x$};
379 \orbital[pos = {(2,0)}]{-py}
380 \node[above] at (2,1) {-p$_y$};
381 \orbital[pos = {(4,0)}]{-pz}
382 \node[above] at (4,1) {-p$_z$};
383
384 \orbital[pos = {(0,-3)}]{dxy}
385 \node[above] at (0,-2) {d$_{xy}$};
386 \orbital[pos = {(2,-3)}]{dxz}
387 \node[above] at (2,-2) {d$_{xz}$};
388 \orbital[pos = {(4,-3)}]{dyz}
389 \node[above] at (4,-2) {d$_{yz}$};
390
391 \orbital[pos = {(0,-5)}]{dx2y2}
392 \node[below] at (0,-6) {d$_{x^2-y^2}$};
393 \orbital[pos = {(2,-5)}]{dz2}
394 \node[below] at (2,-6) {d$_{z^2}$};
395 \end{tikzpicture}
396 \end{minipage}
397 \caption{All the atomic orbitals available from the command \cmd{orbital}.}
398 \label{expl:all_OA}
399 \end{example}
400
401 \clearpage
402 \section{Atom and hybrid orbitals}
403
404 The package \package provides the command \cmd{satom} in order to quickly draw an atom with several orbital lobes around it. The general syntax of the command is :
405
406 \cmd{satom}\opt{options}\{\marg{lobes}\}
407
408 The \marg{lobes} argument is a comma separated list of lobe definition with the syntax
409
410 \texttt{color/rotation-angle/anchor/number of electrons/scale}
411
412 For each element of the list, the command \cmd{satom} draw a lobe at the given
413 anchor, with the given color, rotation, number of electrons and applies the
414 scaling factor.
415
416 The following options are available in order to customize the drawing :
417
418 \begin{description}
419 \item \opt{pos} : position of the atom.\\
420 \texttt{default = \{(0,0)\}}
421
422 \item \opt{name} : name of the atom. Give also the name to the node where the atom is drawn.\\
423 \texttt{default = X}
424
425 \item \opt{color} : color of the atom.\\
426 \texttt{default = green}
427
428 \item \opt{opacity} : opacity of the lobe drawn around the atom.\\
429 \texttt{default = 0.8}
430
431 \item \opt{scale} : A global scaling factor of the whole atom and lobes.\\
432 \texttt{default = 1.}
433 \end{description}
434
435 For backward compatibility the \cmd{atom} command is still available. It works
436 in the same way but without the possibility of applying a scaling factor
437 individually on each lobe.
438
439 Example \ref{exple:atom} show several applications of the command \cmd{satom}.
440
441 \begin{example}[htbp]
442 \begin{minipage}{.78\textwidth}
443 \begin{lstlisting}
444 \begin{tikzpicture}
445 \satom[color=orange, name=S]{orange/0/east/2/1.}
446 \end{tikzpicture}
447 \end{lstlisting}
448
449 \begin{lstlisting}
450 \begin{tikzpicture}
451 \atom[name=Cl, color=blue, scale=1.2]{
452 blue/90/north/2,
453 blue/0/east/1,
454 blue/270/south/2,
455 blue/180/west/2}
456 \atom[name=H, color=gray, pos={(1.8,0)}, scale=.8]{gray/180/west/1}
457 \end{tikzpicture}
458 \end{lstlisting}
459
460 \begin{lstlisting}
461 \begin{tikzpicture}
462 \satom[name=B, color=green!50!black]{
463 red/90/north/2/.8,
464 blue/0/east/1/.9,
465 orange/270/south/0/1,
466 green/180/west/1/1.2}
467 \end{tikzpicture}
468 \end{lstlisting}
469 \end{minipage}
470 \begin{minipage}{.21\textwidth}
471 \begin{tikzpicture}
472 \satom[color=orange, name=S]{orange/0/east/2/1.}
473
474 \atom[name=Cl, color=blue, pos={(0,-3)}, scale=1.2]{
475 blue/90/north/2,
476 blue/0/east/1,
477 blue/270/south/2,
478 blue/180/west/2}
479 \atom[name=H, color=gray, pos={(1.8,-3)}, scale=.8]{gray/180/west/1}
480
481 \satom[name=B, color=green!50!black, pos={(0,-7)}]{
482 red/90/north/2/.8,
483 blue/0/east/1/0.9,
484 orange/270/south/0/1,
485 green/180/west/1/1.2}
486 \end{tikzpicture}
487 \end{minipage}
488 \caption{Utilization example of the \cmd{satom} command.}
489 \label{exple:atom}
490 \end{example}
491
492 \clearpage
493 \section{More customization}
494
495 \subsubsection*{Orbital borders and inner color}
496
497 It is possible to change the inner color of orbital and the color of orbital borders. These two colors are defined as follow in \package package :
498
499 \begin{lstlisting}
500 % inner color for orbital filling
501 \colorlet{innerColor}{black!10}
502 % color for orbital drawing
503 \colorlet{drawColor}{black!80}
504 \end{lstlisting}
505
506 Thus if you change the definition of these colors you will change the desired color on the drawing of the atomic orbitals.
507
508 \subsubsection*{Orbital customization}
509
510 You can give a set of tikz options to the command \cmd{setOrbitalDrawing}. This command acts as a tikz style which is applied every time an atomic orbital is drawn. All options give in this command will overwrite default style of atomic orbital. For example, if you want to draw atomic orbital in red with very thick line thickness :
511
512 \begin{lstlisting}
513 \setOrbitalDrawing{{very thick, color = red}}
514 \end{lstlisting}
515
516 \subsubsection*{Change default value globally with pgfkeys}
517
518 If you want to change the default value of the \opt{width} option of the \cmd{drawLevel} command or whatever other option for a whole tikzpicture, you can do this using the \lstinline!\pgfkeys! command. You simply have to give to this command one or several options you want to set globally.
519
520 All options of a \package's command follow the tree : \texttt{/tikzorbital/command/option}. For example, if you want to change the \opt{width} option of the \cmd{drawLevel} command, you have to write :
521 %
522 \begin{lstlisting}
523 \pgfkeys{tikzorbital/drawLevel/width = 1}
524 % or
525 \pgfkeys{tikzorbital/drawLevel/.cd, width = 1}
526 \end{lstlisting}
527
528 \section{Inner macro \cmd{@alobe}}
529
530 In order to draw atomic orbital, \package use the inner macro \cmd{@alobe}.
531
532 \cmd{@alobe}\{\marg{pos}\}\{\marg{rotation}\}\{\marg{scale}\}\{\marg{color}\}\{\marg{nelec}\}\{\marg{opacity}\}
533
534 \cmd{@alobe} macro draw one lobe of $p$ or $d$ orbital and corresponds to the \texttt{lobe} type of \cmd{orbital} (see above). \cmd{@alobe} accepts six arguments :
535
536 \begin{enumerate}
537 \item[\#1] the position
538 \item[\#2] angle of rotation
539 \item[\#3] scaling factor
540 \item[\#4] the color
541 \item[\#5] the number of electron, namely 0, 1 or 2
542 \item[\#6] the opacity of the lobe
543 \end{enumerate}
544 %
545 no default are given. For example, the $d_{yz}$ atomic orbital is defined as follow
546
547 \begin{lstlisting}
548 \@alobe{\orbital@pos}{45}{\orbital@scale}{\orbital@pcolor}{0}{\orbital@opacity}
549 \@alobe{\orbital@pos}{135}{\orbital@scale}{\orbital@ncolor}{0}{\orbital@opacity}
550 \@alobe{\orbital@pos}{225}{\orbital@scale}{\orbital@pcolor}{0}{\orbital@opacity}
551 \@alobe{\orbital@pos}{315}{\orbital@scale}{\orbital@ncolor}{0}{\orbital@opacity}
552 \end{lstlisting}
553
554 \section{Source code}
555
556 \lstinputlisting{./tikzorbital.sty}
557
558 \end{document}