%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 						the atomicreactions package
%
%   Adds many symbols for using in scientific tex files. 
%	Those symbols are used by some plotting tools etc.
%
% --------------------------------------------------------------------------
% B. Michel Döhring
% --------------------------------------------------------------------------
% GitHub: https://github.com/micheld93/atomicreactions-LaTeX
% CTAN: https://www.ctan.org/pkg/atomicreactions 
% --------------------------------------------------------------------------
% If you have any questions, bugs or suggestions to report, please
% feel free to get in touch.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright 2026 B. Michel Döhring
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Michel Döhring.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The atomicreactions package consists of the following files
%  - atomicreactions.sty
%  - atomicreactions-manual.tex
%  - atomicreactions.bib
%  - atomicreactions-manual.pdf
%  - README.md
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{arrows}
\RequirePackage{xparse}
% package information:
\ProvidesPackage{atomicreactions}[2026/05/01 atomic shell reactions]

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%
% Atomic physics reactions %
%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Empty Reaction with center circle at 0/0 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Empty reaction picture
\newcommand{\atomEMPTY}[1][0.8]{
\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
\draw  (0,0) ellipse (1 and 1);
%
%
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,0) -- (2.5,0);
\draw (0,2) -- (2.5,2);
\draw (0,3) -- (2.5,3);
\draw (0,3.5) -- (2.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
%
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,0) -- (7,0);
\draw (4.5,2) -- (7,2);
\draw (4.5,3) -- (7,3);
\draw (4.5,3.5) -- (7,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
%
% Pfeile
\draw[-triangle 60] (2.7,2) -- (4.3,2);
%
% Elektronen
\filldraw  (0.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,0) ellipse (0.1 and 0.1);
%\filldraw  (-4.5,-3.5) ellipse (0.1 and 0.1);
% Elektronenweg
%
% Beschriftung
\node[draw] at (1.25,-1) {A$^{q+}$};
\node[draw] at (5.75,-1) {A$^{(q+1)+}$};
\end{tikzpicture}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Direct Ionization (DI) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomDI}[1][0.8]{
\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
% Anker
%\draw  (0,0) ellipse (1 and 1);
%
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,0) -- (2.5,0);
\draw (0,2) -- (2.5,2);
\draw (0,3) -- (2.5,3);
\draw (0,3.5) -- (2.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
%
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,0) -- (7,0);
\draw (4.5,2) -- (7,2);
\draw (4.5,3) -- (7,3);
\draw (4.5,3.5) -- (7,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
%
% Pfeile
\draw[-triangle 60] (2.7,2) -- (4.3,2);
%
% Elektronen (von unten nach oben)
\filldraw  (0.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,2.0) ellipse (0.1 and 0.1);
\filldraw  (-1.5,5.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
%
\filldraw  (5.25,0) ellipse (0.1 and 0.1);
\filldraw  (6.25,0) ellipse (0.1 and 0.1);
\filldraw  (7.5,4.5) ellipse (0.1 and 0.1); % freie Elektronen
\filldraw  (7.5,4.0) ellipse (0.1 and 0.1);
%
% Elektronenweg
\draw [-triangle 60](-1.5,5.5) -- (1.75,5.5) -- (1.75,4.5) -- (2.9,4.5); % Kontinuum Elektron
\draw [-triangle 60](1.75,2.5) -- (1.75,4.2) -- (2.9,4.2);
%
\draw [-triangle 60] (7.5,4.5) -- (9,4.5); % freie Elektronen
\draw [-triangle 60] (7.5,4.0) -- (9,4.0);
%
% Beschriftung
\node[draw] at (1.25,-1) {A$^{q+}$};
\node[draw] at (5.75,-1) {A$^{(q+1)+}$};
\end{tikzpicture}
}
%
%
%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Excitation auto-ionization (EA) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomEA}[1][0.8]{
\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
% Anker
% \draw  (0,0) ellipse (1 and 1);
%
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,0) -- (2.5,0);
\draw (0,2) -- (2.5,2);
\draw (0,3) -- (2.5,3);
\draw (0,3.5) -- (2.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
%
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,0) -- (7,0);
\draw (4.5,2) -- (7,2);
\draw (4.5,3) -- (7,3);
\draw (4.5,3.5) -- (7,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
%
% Nr 3 Standard Darstellung ohne Elektronen
\draw (9,0) -- (11.5,0);
\draw (9,2) -- (11.5,2);
\draw (9,3) -- (11.5,3);
\draw (9,3.5) -- (11.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
%
% Pfeile
\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
%
% Elektronen (von unten nach oben)
% Nr 1 Standard
\filldraw  (0.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,2.0) ellipse (0.1 and 0.1);
\filldraw  (-1.5,5.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
% Elektronen (von unten nach oben)
% Nr 2 Standard
\filldraw  (6.25,0) ellipse (0.1 and 0.1);
\filldraw  (6.25,2) ellipse (0.1 and 0.1);
\filldraw  (5.25,3) ellipse (0.1 and 0.1);
\filldraw  (6.6,4.5) ellipse (0.1 and 0.1); % freie Elektronen
% Elektronen (von unten nach oben)
% Nr 3 Standard
\filldraw  (9.75,0) ellipse (0.1 and 0.1);
\filldraw  (10.75,0) ellipse (0.1 and 0.1);
\filldraw  (12,4.5) ellipse (0.1 and 0.1); % freie Elektronen
\filldraw  (12,5.3) ellipse (0.1 and 0.1); % abgelöstes Elektron 
%
% Elektronenweg
% Nr 1 Standard
\draw [-triangle 60](-1.5,5.5) -- (1.25,5.5) -- (1.25,4.5) -- (2.0,4.5); % Kontinuum Elektron
\draw [-triangle 60](0.75,0) -- (0.75,3);
% Elektronenweg
% Nr 2 Standard
\draw [-triangle 60](5.25,3) -- (5.25,0);
\draw [-triangle 60](6.25,2.0) -- (6.25,5.3) -- (7.1,5.3); % abgelöstes Elektron
\draw [-triangle 60](6.6,4.5) -- (7.4,4.5); % freie Elektronen
% Elektronenweg
% Nr 3 Standard
\draw [-triangle 60](12,4.5) -- (13,4.5); % abgelöstes Elektron
\draw [-triangle 60](12,5.3) -- (13,5.3); % freie Elektronen
%
% Beschriftung
\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
\node[draw] at (5.75,-1) {[A$^{q+}$]$^*$}; % 2
\node[draw] at (10.25,-1) {A$^{(q+1)+}$}; % 3
\end{tikzpicture}
}
%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Ionization-auto-ionization (IA) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomIA}[1][0.8]{
\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
% Anker
%\draw  (0,0) ellipse (1 and 1);
%
%
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,0) -- (2.5,0);
\draw (0,2) -- (2.5,2);
\draw (0,3) -- (2.5,3);
\draw (0,3.5) -- (2.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
%
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,0) -- (7,0);
\draw (4.5,2) -- (7,2);
\draw (4.5,3) -- (7,3);
\draw (4.5,3.5) -- (7,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
%
% Nr 3 Standard Darstellung ohne Elektronen
\draw (9,0) -- (11.5,0);
\draw (9,2) -- (11.5,2);
\draw (9,3) -- (11.5,3);
\draw (9,3.5) -- (11.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
%
% Pfeile
\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
%
% Elektronen (von unten nach oben)
% Nr 1 Standard
\filldraw  (0.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,0) ellipse (0.1 and 0.1);
\filldraw  (1.75,2.0) ellipse (0.1 and 0.1);
\filldraw  (1.75,3.0) ellipse (0.1 and 0.1);
\filldraw  (-1.0,7.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
%
% Elektronen (von unten nach oben)
% Nr 2 Standard
\filldraw  (5.25,0) ellipse (0.1 and 0.1);
\filldraw  (6.25,2) ellipse (0.1 and 0.1);
\filldraw  (6.25,3) ellipse (0.1 and 0.1);
\filldraw  (6.5,4.75) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei unten
\filldraw  (6.25,5.1) ellipse (0.1 and 0.1); % freies Elektron oben
%
% Elektronen (von unten nach oben)
% Nr 3 Standard
\filldraw  (9.75,0) ellipse (0.1 and 0.1);
\filldraw  (10.75,0) ellipse (0.1 and 0.1);
\filldraw  (11.8,4.5) ellipse (0.1 and 0.1); % % zweites abgelöstes Elektronen, frei unten
\filldraw  (12.5,4.75) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei unten
\filldraw  (12,5.1) ellipse (0.1 and 0.1); % freies Elektron oben
%
%
% Elektronenweg
% Nr 1 Standard
\draw [-triangle 60](-1.0,7.5) -- (0.75,7.5) -- (0.75,5.1) -- (2.0,5.1); % Kontinuum Elektron
\draw [-triangle 60](0.75,0) -- (0.75,4.75) -- (2.0,4.75); % abgelöstes Elektron
%
% Elektronenweg
% Nr 2 Standard
\draw [-triangle 60](6.25,2) -- (6.25,0);
\draw [-triangle 60](6.25,3.0) -- (6.25,4.5) -- (7.5,4.5); % zweites abgelöstes Elektron
\draw [-triangle 60](6.5,4.75) -- (8,4.75); % erstes abgelöstes Elektron
\draw [-triangle 60](6.25,5.1) -- (7.7,5.1); % freie Elektronen
%
% Elektronenweg
% Nr 3 Standard
\draw [-triangle 60](11.8,4.5) -- (13.5,4.5) ; % zweites abgelöstes Elektron
\draw [-triangle 60](12.5,4.75) -- (14,4.75); % erstes abgelöstes Elektron
\draw [-triangle 60](12,5.1) -- (13.7, 5.1); % freie Elektronen
%
% Beschriftung
\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
\node[draw] at (5.75,-1) {[A$^{(q+1)+}$]$^*$}; % 2
\node[draw] at (10.25,-1) {A$^{(q+2)+}$}; % 3
%
\end{tikzpicture}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Resonant elastic scattering (RES) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomRES}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
	% Anker
	%\draw  (0,0) ellipse (1 and 1);
	%
	% Nr 1 Standard Darstellung ohne Elektronen
	\draw (0,0) -- (2.5,0);
	\draw (0,2) -- (2.5,2);
	\draw (0,3) -- (2.5,3);
	\draw (0,3.5) -- (2.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
	%
	% Nr 2 Standard Darstellung ohne Elektronen
	\draw (4.5,0) -- (7,0);
	\draw (4.5,2) -- (7,2);
	\draw (4.5,3) -- (7,3);
	\draw (4.5,3.5) -- (7,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
	%
	% Nr 3 Standard Darstellung ohne Elektronen
	\draw (9,0) -- (11.5,0);
	\draw (9,2) -- (11.5,2);
	\draw (9,3) -- (11.5,3);
	\draw (9,3.5) -- (11.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
	%
	%
	% Pfeile zwischen Abbildungen
	\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
	\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
	%
	%
	% Elektronen (von unten nach oben)
	% Nr 1 Standard
	\filldraw  (1.75,0) ellipse (0.1 and 0.1);
	\filldraw  (0.75,5.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
	% Elektronen (von unten nach oben)
	%
	% Nr 2 Standard
	\filldraw  (5.25,3.5) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (6.25,3.0) ellipse (0.1 and 0.1);
	%
	% Elektronen (von unten nach oben)
	% Nr 3 Standard
	\filldraw  (10.75,0) ellipse (0.1 and 0.1);
	\filldraw  (10.75,5.5) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei unten
	%
	%
	%
	% Elektronenweg
	% Nr 1 Standard
	\draw [-triangle 60](0.75,5.5) -- (0.75,3.5); % Kontinuum Elektron
	\draw [-triangle 60](1.75,0) -- (1.75,3);
	%
	% Elektronenweg
	% Nr 2 Standard
	\draw [-triangle 60](6.25,3.0) -- (6.25,0); 
	\draw (5.25,3.5) -- (5.25,5.5) ; % erstes abgelöstes Elektron
	\draw [-triangle 60](5.24,5.5) -- (5.8,5.5) ; % erstes abgelöstes Elektron
	%
	% Elektronenweg
	% Nr 3 Standard
	\draw [-triangle 60](10.75,5.5) -- (12.0,5.5) ; % erstes abgelöstes Elektron
	%
	%		
	% Beschriftung
	\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
	\node[draw] at (5.75,-1) {[A$^{(q-1)+}$]$^{**}$}; % 2
	\node[draw] at (10.25,-1) {A$^{q+}$}; % 3
\end{tikzpicture}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Trielectronic Capture (TC) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomTC}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
	% Anker
	%\draw  (0,0) ellipse (1 and 1);
	%
	% Nr 1 Standard Darstellung ohne Elektronen
	\draw (0,0) -- (2.5,0);
	\draw (0,2) -- (2.5,2);
	\draw (0,3) -- (2.5,3);
	\draw (0,3.5) -- (2.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
	%
	% Nr 2 Standard Darstellung ohne Elektronen
	\draw (4.5,0) -- (7,0);
	\draw (4.5,2) -- (7,2);
	\draw (4.5,3) -- (7,3);
	\draw (4.5,3.5) -- (7,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
	%
	% Nr 3 Standard Darstellung ohne Elektronen
	\draw (9,0) -- (11.5,0);
	\draw (9,2) -- (11.5,2);
	\draw (9,3) -- (11.5,3);
	\draw (9,3.5) -- (11.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
	%
	%
	% Pfeile zwischen Abbildungen
	\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
	\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
	%
	%
	% Elektronen (von unten nach oben)
	% Nr 1 Standard
	\filldraw  (0.75,0) ellipse (0.1 and 0.1);
	\filldraw  (1.75,0) ellipse (0.1 and 0.1);
	\filldraw  (0.75,6) ellipse (0.1 and 0.1); % Kontinuum Elektron
	% Elektronen (von unten nach oben)
	%
	% Nr 2 Standard
	\filldraw  (5.25,3.5) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (6.25,3.0) ellipse (0.1 and 0.1); 
	\filldraw  (5.25,2.0) ellipse (0.1 and 0.1); 
	%
	% Elektronen (von unten nach oben)
	% Nr 3 Standard
	\filldraw  (9.75,0) ellipse (0.1 and 0.1);
	\filldraw  (11.75,4.0) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei unten
	\filldraw  (11.9,4.3) ellipse (0.1 and 0.1); % freies Elektron oben
	%
	%
	%
	% Elektronenweg
	% Nr 1 Standard
	\draw (0.75,6) -- (0.75,5.05); % Kontinuum Elektron
	\draw (0.9,5.1) -- (0.6,5); % Kontinuum Elektron, vertical line
	\draw (0.9,5.0) -- (0.6,4.9); % Kontinuum Elektron, vertical line
	\draw [-triangle 60](0.75,4.95) -- (0.75,3.5); % Kontinuum Elektron
	\draw [-triangle 60](1.75,0) -- (1.75,3);
	\draw [-triangle 60](0.75,0) -- (0.75,2.0); % 1st Electron in groundstate
	%
	% Elektronenweg
	% Nr 2 Standard
	\draw [-triangle 60](6.25,3.0) -- (6.25,0); 
	\draw [-triangle 60](5.25,2.0) -- (5.25,0); 
	\draw [line width=0.3mm] (5.25,3.5) -- (5.25,4.0) ; % erstes abgelöstes Elektron
	\draw [line width=0.3mm,-triangle 60](5.235,4.0) -- (5.8,4) ; % erstes abgelöstes Elektron
	\draw [line width=0.3mm] (6.25,3.0) -- (6.25,4.5) ; % zweites abgelöstes Elektron
	\draw [line width=0.3mm,-triangle 60](6.235,4.5) -- (6.8,4.5) ; % zweites abgelöstes Elektron
	%
	% Elektronenweg
	% Nr 3 Standard
	\draw [-triangle 60](11.75,4.0) -- (12.3,4.0) ; % erstes abgelöstes Elektron
	\draw [-triangle 60](11.9,4.3) -- (12.5,4.3) ; % zweites abgelöstes Elektron
	%
	%		
	% Beschriftung
	\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
	\node[draw] at (5.75,-1) {[A$^{(q-1)+}$]$^{***}$}; % 2
	\node[draw] at (10.25,-1) {[A$^{(q-1)+}$]$^{*}$}; % 3
\end{tikzpicture}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Resonant excitation (RE) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomRE}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
	% Anker
	%\draw  (0,0) ellipse (1 and 1);
	%
	% Nr 1 Standard Darstellung ohne Elektronen
	\draw (0,0) -- (2.5,0);
	\draw (0,2) -- (2.5,2);
	\draw (0,3) -- (2.5,3);
	\draw (0,3.5) -- (2.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
	%
	% Nr 2 Standard Darstellung ohne Elektronen
	\draw (4.5,0) -- (7,0);
	\draw (4.5,2) -- (7,2);
	\draw (4.5,3) -- (7,3);
	\draw (4.5,3.5) -- (7,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
	%
	% Nr 3 Standard Darstellung ohne Elektronen
	\draw (9,0) -- (11.5,0);
	\draw (9,2) -- (11.5,2);
	\draw (9,3) -- (11.5,3);
	\draw (9,3.5) -- (11.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
	%
	%
	% Pfeile zwischen Abbildungen
	\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
	\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
	%
	%
	% Elektronen (von unten nach oben)
	% Nr 1 Standard
	\filldraw  (1.75,0) ellipse (0.1 and 0.1);
	\filldraw  (0.75,5.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
	% Elektronen (von unten nach oben)
	%
	% Nr 2 Standard
	\filldraw  (5.25,3.5) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (6.25,3.0) ellipse (0.1 and 0.1);
	%
	% Elektronen (von unten nach oben)
	% Nr 3 Standard
	\filldraw  (10.75,2) ellipse (0.1 and 0.1);
	\filldraw  (10.95,4.4) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei unten
	%
	%
	%
	% Elektronenweg
	% Nr 1 Standard
	\draw [-triangle 60](0.75,5.5) -- (0.75,3.5); % Kontinuum Elektron
	\draw [-triangle 60](1.75,0) -- (1.75,3);
	%
	% Elektronenweg
	% Nr 2 Standard
	\draw [-triangle 60](6.25,3.0) -- (6.25,2.0); 
	\draw 				(5.25,3.5) -- (5.25,4.4) ; % erstes abgelöstes Elektron
	\draw [-triangle 60](5.242,4.4) -- (5.8,4.4) ; % erstes abgelöstes Elektron
	%
	% Elektronenweg
	% Nr 3 Standard
	\draw [-triangle 60](10.95,4.4) -- (12.0,4.4) ; % erstes abgelöstes Elektron
	%
	%		
	% Beschriftung
	\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
	\node[draw] at (5.75,-1) {[A$^{(q-1)+}$]$^{**}$}; % 2
	\node[draw] at (10.25,-1) {[A$^{q+}$]$^{*}$}; % 3
\end{tikzpicture}
}




%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% REDA and READI %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NewDocumentCommand{\atomREDA}{O{0.55} O{1.5}}{%
  \def\atomREDAscale{#1}%
  \def\atomREDATextSize{#2}%
  \begin{tikzpicture}[
    scale=\atomREDAscale,
    every node/.style={scale=\atomREDAscale}
  ]
    % Anker
%\draw  (-12.5,4.15) ellipse (1 and 1); % Anker Start
%\draw  (0,10) ellipse (1 and 1); % Anker REDA
%\draw  (0,0) ellipse (1 and 1); % Anker READI
%%%%%%%%%%%%%%%%%%%%%%%%%-- Beschriftung --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Beschriftung
%%% Für Start
\node[draw] at (-11.25,3.15) {\textbf{A}$^{q+}$}; % 1
% Beschriftung
%%% Für REDA
\node[draw,scale=\atomREDATextSize] at (1.25,9) {[\textbf{A}$^{(q-1)+}$]$^{**}$}; % 1
\node[draw,scale=\atomREDATextSize] at (5.75,9) {[\textbf{A}$^{q+}$]$^{*}$}; % 2
\node[draw,scale=\atomREDATextSize] at (10.25,9) {\textbf{A}$^{(q+1)+}$}; % 3
\node[draw,scale=\atomREDATextSize] at (-7.5,8.5) {REDA}; % REDA
% Beschriftung
%%% Für READI
\node[draw,scale=\atomREDATextSize] at (1.25,-1) {[\textbf{A}$^{(q-1)+}$]$^{**}$}; % 1
\node[draw,scale=\atomREDATextSize] at (5.75,-1) {\textbf{A}$^{(q+1)+}$}; % 2
\node[draw,scale=\atomREDATextSize] at (-7.5,3.7) {READI}; % READI
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%-- Standard Darstellung --%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Start
% Nr 1 Standard Darstellung ohne Elektronen
%\draw[red] (-12.5,-2.5) --(-12.5,15); % Anker für Mitte y //
%\draw[red] (-12.5,6.25) --(12.5,6.25); % Anker für Mitte x //
\draw (-10,4.15) -- (-12.5,4.15);
\draw (-10,6.15) -- (-12.5,6.15);
\draw (-10,7.15) -- (-12.5,7.15);
\draw (-10,7.65) -- (-12.5,7.65);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (-10,7.85) rectangle (-12.5,8.35);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für REDA
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,10) -- (2.5,10);
\draw (0,12) -- (2.5,12);
\draw (0,13) -- (2.5,13);
\draw (0,13.5) -- (2.5,13.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,13.7) rectangle (2.5,14.2);
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,10) -- (7,10);
\draw (4.5,12) -- (7,12);
\draw (4.5,13) -- (7,13);
\draw (4.5,13.5) -- (7,13.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,13.7) rectangle (7.0,14.2);
% Nr 3 Standard Darstellung ohne Elektronen
\draw (9,10) -- (11.5,10);
\draw (9,12) -- (11.5,12);
\draw (9,13) -- (11.5,13);
\draw (9,13.5) -- (11.5,13.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,13.7) rectangle (11.5,14.2);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für READI
% Nr 1 Standard Darstellung ohne Elektronen
\draw (0,0) -- (2.5,0);
\draw (0,2) -- (2.5,2);
\draw (0,3) -- (2.5,3);
\draw (0,3.5) -- (2.5,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
% Nr 2 Standard Darstellung ohne Elektronen
\draw (4.5,0) -- (7,0);
\draw (4.5,2) -- (7,2);
\draw (4.5,3) -- (7,3);
\draw (4.5,3.5) -- (7,3.5);
\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-- Pfeile --%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für Start
% Pfeile
\draw[-triangle 60] (-8,6.15) -- (-3,10); % nach REDA
\draw[-triangle 60] (-8,6.15) -- (-3,2); % nach READI
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für REDA
% Pfeile
\draw[-triangle 60] (2.7,12) -- (4.3,12); % 1 nach 2
\draw[-triangle 60] (7.2,12) -- (8.8,12); % 2 nach 3
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für READI
% Pfeile
\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%-- Elektronen --%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für Start
% Elektronen (von unten nach oben)
% Nr 1 Standard
\filldraw  (-10.75,4.15) ellipse (0.1 and 0.1);
\filldraw  (-11.25,6.15) ellipse (0.1 and 0.1);
\filldraw  (-14,10.5) ellipse (0.1 and 0.1); %Kontinuum Elektron
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für REDA
% Elektronen (von unten nach oben)
% Nr 1 Standard
\filldraw  (1.25,12.0) ellipse (0.1 and 0.1);
\filldraw  (1.75,13.0) ellipse (0.1 and 0.1);
\filldraw  (0.75,13.5) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen
% Elektronen (von unten nach oben)
% Nr 2 Standard
\filldraw  (6.25,12.0) ellipse (0.1 and 0.1);
\filldraw  (5.75,12.0) ellipse (0.1 and 0.1);
\filldraw  (6.9,14.6) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, frei
% Elektronen (von unten nach oben)
% Nr 3 Standard
\filldraw  (10.25,10.0) ellipse (0.1 and 0.1);
\filldraw  (11.55,14.2) ellipse (0.1 and 0.1); % zweites abgelöstes Elektronen, unten
\filldraw  (11.75,14.6) ellipse (0.1 and 0.1); % erstes abgelöstes Elektronen, oben
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für READI
% Elektronen (von unten nach oben)
% Nr 1 Standard
\filldraw  (1.25,2.0) ellipse (0.1 and 0.1); % ablösendes Elektron
\filldraw  (1.75,3) ellipse (0.1 and 0.1); % ablösendes Elektron
\filldraw  (0.75,3.5) ellipse (0.1 and 0.1); % fallendes Elektron
% Elektronen (von unten nach oben)
% Nr 2 Standard
\filldraw  (5.25,0) ellipse (0.1 and 0.1); % gefallendes Elektron
\filldraw  (7.0,4.0) ellipse (0.1 and 0.1); % abgelöstes Elektronen, frei unten
\filldraw  (6.5,4.3) ellipse (0.1 and 0.1); % abgelöstes Elektronen, frei oben
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%-- Elektronen Weg --%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für Start
% Elektronenweg
% Nr 1 Standard
\draw [-triangle 60](-14,10.5) -- (-12,10.5) -- (-12,7.65); %Kontinuum Elektron
\draw [-triangle 60](-10.75,4.15) -- (-10.75,7.15); %angeregtes Elektron
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für REDA
% Elektronenweg
% Nr 1 Standard
\draw [-triangle 60](1.75,13) -- (1.75,12); % gefallendes Elektron
\draw [-triangle 60](0.75,13.5) -- (0.75,14.3) -- (1.75,14.3); % abgelöstes Elektron
% Nr 2 Standard
\draw [-triangle 60](5.75,12) -- (5.75,10); % gefallendes Elektron
\draw [-triangle 60](6.25,12) -- (6.25,14.2) -- (7.4,14.2); % ablösendes Elektron
\draw [-triangle 60](6.9,14.6) -- (7.90,14.6); % abgelöstes Elektron
% Nr 3 Standard
\draw [-triangle 60](11.55,14.2) -- (12.5,14.2); % ablösendes Elektron
\draw [-triangle 60] (11.75,14.6) -- (12.75,14.6); % abgelöstes Elektron
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Für READI
% Elektronenweg
% Nr 1 Standard
\draw [-triangle 60](1.75,3) -- (1.75,4.0) -- (3,4.0); % ablösendes Elektron unten
\draw [-triangle 60](1.25,2) -- (1.25,4.3) -- (2.5,4.3); % ablösendes Elektron oben
\draw [-triangle 60](0.75,3.5) -- (0.75,0); % fallendes Elektron 
% Nr 2 Standard
\draw [-triangle 60](7,4) -- (8.5,4.0); % ablösendes Elektron unten
\draw [-triangle 60](6.5,4.3) --  (8,4.3); % ablösendes Elektron oben 
\end{tikzpicture}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Dielectronic Recombination (DR) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomDR}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
	% Anker
	%%\draw  (0,0) ellipse (1 and 1);
	%
	% Nr 1 Standard Darstellung ohne Elektronen
	\draw (0,0) -- (2.5,0);
	\draw (0,2) -- (2.5,2);
	\draw (0,3) -- (2.5,3);
	\draw (0,3.5) -- (2.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
	%
	% Nr 2 Standard Darstellung ohne Elektronen
	\draw (4.5,0) -- (7,0);
	\draw (4.5,2) -- (7,2);
	\draw (4.5,3) -- (7,3);
	\draw (4.5,3.5) -- (7,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
	%
	% Nr 3 Standard Darstellung ohne Elektronen
	\draw (9,0) -- (11.5,0);
	\draw (9,2) -- (11.5,2);
	\draw (9,3) -- (11.5,3);
	\draw (9,3.5) -- (11.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
	%
	%
	% Pfeile zwischen Abbildungen
	\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
	\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
	%
	%
	% Elektronen (von unten nach oben)
	% Nr 1 Standard
	\filldraw  (1.75,0) ellipse (0.1 and 0.1);
	\filldraw  (0.75,5.5) ellipse (0.1 and 0.1); % Kontinuum Elektron
	% Elektronen (von unten nach oben)
	%
	% Nr 2 Standard
	\filldraw  (5.25,3.5) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (6.25,3.0) ellipse (0.1 and 0.1); 
	%
	% Elektronen (von unten nach oben)
	% Nr 3 Standard
	\filldraw  (9.75,3.5) ellipse (0.1 and 0.1);
	\filldraw  (10.75,0) ellipse (0.1 and 0.1);
	%
	%
	%
	% Elektronenweg
	% Nr 1 Standard
	\draw [-triangle 60](0.75,5.5) -- (0.75,3.5); % Kontinuum Elektron
	\draw [-triangle 60](1.75,0) -- (1.75,3);
	%
	% Elektronenweg
	% Nr 2 Standard
	\draw [-triangle 60](6.25,3) -- (6.25,0); 
	%
	% Photonenweg
	\draw [dotted,-triangle 60](6.4,2.2) -- (7.5,2.8); % frei werdenes Photon
	\node at (7.4,3.0) {h$\nu$}; % 1
	%
	% Beschriftung
	\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
	\node[draw] at (5.75,-1) {[A$^{(q-1)+}$]$^{**}$}; % 2
	\node[draw] at (10.25,-1) {[A$^{(q-1)+}$]$^{*}$}; % 3
\end{tikzpicture}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Trilectronic Recombination (TR) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomTR}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
		% Anker
		%\draw  (0,0) ellipse (1 and 1);
		%
		% Nr 1 Standard Darstellung ohne Elektronen
		\draw (0,0) -- (2.5,0);
		\draw (0,2) -- (2.5,2);
		\draw (0,3) -- (2.5,3);
		\draw (0,3.5) -- (2.5,3.5);
		\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
		%
		% Nr 2 Standard Darstellung ohne Elektronen
		\draw (4.5,0) -- (7,0);
		\draw (4.5,2) -- (7,2);
		\draw (4.5,3) -- (7,3);
		\draw (4.5,3.5) -- (7,3.5);
		\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
		%
		% Nr 3 Standard Darstellung ohne Elektronen
		\draw (9,0) -- (11.5,0);
		\draw (9,2) -- (11.5,2);
		\draw (9,3) -- (11.5,3);
		\draw (9,3.5) -- (11.5,3.5);
		\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
		%
		%
		% Pfeile zwischen Abbildungen
		\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
		\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
		%
		%
		% Elektronen (von unten nach oben)
		% Nr 1 Standard
		\filldraw  (0.75,0) ellipse (0.1 and 0.1);
		\filldraw  (1.75,0) ellipse (0.1 and 0.1);
		\filldraw  (0.75,6) ellipse (0.1 and 0.1); % Kontinuum Elektron
		% Elektronen (von unten nach oben)
		%
		% Nr 2 Standard
		\filldraw  (5.25,3.5) ellipse (0.1 and 0.1); % freie Elektronen
		\filldraw  (6.25,3.0) ellipse (0.1 and 0.1); 
		\filldraw  (5.25,2.0) ellipse (0.1 and 0.1); 
		%
		% Elektronen (von unten nach oben)
		% Nr 3 Standard
		\filldraw  (9.75,3.5) ellipse (0.1 and 0.1);
		\filldraw  (9.75,0) ellipse (0.1 and 0.1);
		\filldraw  (10.75,0) ellipse (0.1 and 0.1);
		%
		%
		%
		% Elektronenweg
		% Nr 1 Standard
		\draw (0.75,6) -- (0.75,5.05); % Kontinuum Elektron
		\draw (0.9,5.1) -- (0.6,5); % Kontinuum Elektron, vertical line
		\draw (0.9,5.0) -- (0.6,4.9); % Kontinuum Elektron, vertical line
		\draw [-triangle 60](0.75,4.95) -- (0.75,3.5); % Kontinuum Elektron
		\draw [-triangle 60](1.75,0) -- (1.75,3);
		\draw [-triangle 60](0.75,0) -- (0.75,2.0); % 1st Electron in groundstate
		%
		% Elektronenweg
		% Nr 2 Standard
		\draw [-triangle 60](6.25,3.0) -- (6.25,0); 
		\draw [-triangle 60](5.25,2.0) -- (5.25,0); 
		%
		% Photonenweg
		\draw [dotted,-triangle 60](6.4,2.2) -- (7.5,2.8); % frei werdenes Photon
		\node at (7.4,3.0) {h$\nu_1$}; % 1
		%
		\draw [dotted,-triangle 60](5.4,1.0) -- (7.5,1.3); % frei werdenes Photon
		\node at (7.4,1.5) {h$\nu_2$}; % 1
		%		
		% Beschriftung
		\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
		\node[draw] at (5.75,-1) {[A$^{(q-1)+}$]$^{**}$}; % 2
		\node[draw] at (10.25,-1) {[A$^{(q-1)+}$]$^{*}$}; % 3
	\end{tikzpicture}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Inner-shell electron removal and subsequent autoionisation via Auger (ISHAU) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\atomISHAU}[1][0.8]{
	\begin{tikzpicture}[scale=#1,every node/.style={scale=#1}]
	% Anker
	%\draw  (0,0) ellipse (1 and 1);
	%
	% Nr 1 Standard Darstellung ohne Elektronen
	\draw (0,0) -- (2.5,0);
	\draw (0,2) -- (2.5,2);
	\draw (0,3) -- (2.5,3);
	\draw (0,3.5) -- (2.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (0,3.7) rectangle (2.5,4.2);
	%
	% Nr 2 Standard Darstellung ohne Elektronen
	\draw (4.5,0) -- (7,0);
	\draw (4.5,2) -- (7,2);
	\draw (4.5,3) -- (7,3);
	\draw (4.5,3.5) -- (7,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (4.5,3.7) rectangle (7.0,4.2);
	%
	% Nr 3 Standard Darstellung ohne Elektronen
	\draw (9,0) -- (11.5,0);
	\draw (9,2) -- (11.5,2);
	\draw (9,3) -- (11.5,3);
	\draw (9,3.5) -- (11.5,3.5);
	\shadedraw [draw=white,top color=lightgray!5,bottom color=darkgray] (9.0,3.7) rectangle (11.5,4.2);
	%
	%
	% Pfeile zwischen Abbildungen
	\draw[-triangle 60] (2.7,2) -- (4.3,2); % 1 nach 2
	\draw[-triangle 60] (7.2,2) -- (8.8,2); % 2 nach 3
	%
	%
	% Elektronen (von unten nach oben)
	% Nr 1 Standard
	\filldraw  (1.75,0) ellipse (0.1 and 0.1);
	\filldraw  (-0.8,7.0) ellipse (0.1 and 0.1); % Kontinuum Elektron
	\filldraw  (0.75,0) ellipse (0.1 and 0.1);
	\filldraw  (1.75,2.0) ellipse (0.1 and 0.1);
	\filldraw  (1.75,3.0) ellipse (0.1 and 0.1);
	% Elektronen (von unten nach oben)
	%
	% Nr 2 Standard
	\filldraw  (7.4,4.8) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (7.1,4.5) ellipse (0.1 and 0.1);
	\filldraw  (6.25,3.0) ellipse (0.1 and 0.1);
	\filldraw  (6.25,2.0) ellipse (0.1 and 0.1);
	\filldraw  (5.25,0) ellipse (0.1 and 0.1);
	%
	% Elektronen (von unten nach oben)
	% Nr 3 Standard
	\filldraw  (12.5,4.8) ellipse (0.1 and 0.1); % freie Elektronen
	\filldraw  (12.2,4.5) ellipse (0.1 and 0.1);
	\filldraw  (11.5,5) ellipse (0.1 and 0.1);
	\filldraw  (10.75,0.0) ellipse (0.1 and 0.1);
	\filldraw  (9.75,0) ellipse (0.1 and 0.1);
	%
	%
	%
	% Elektronenweg
	% Nr 1 Standard
	\draw [-triangle 60](-0.8,7.0) -- (0.75,7) -- (0.75,4.8) -- (2.8,4.8); % Kontinuum Elektron
	\draw [-triangle 60](0.75,0) -- (0.75,4.5) -- (2.8,4.5);
	%
	% Elektronenweg
	% Nr 2 Standard
	\draw [-triangle 60](6.25,2.0) -- (6.25,0.0); 
	\draw [-triangle 60](6.25,3.0) -- (6.25,5) -- (6.8,5); % erstes abgelöstes Elektron
	\draw [-triangle 60](7.4,4.8) -- (8.0,4.8); 
	\draw [-triangle 60](7.1,4.5) -- (7.7,4.5); 
	%
	% Elektronenweg
	% Nr 3 Standard
	\draw [-triangle 60](11.5,5.0) -- (12.1,5.0); 
	\draw [-triangle 60](12.5,4.8) -- (13.1,4.8); % erstes abgelöstes Elektron
	\draw [-triangle 60](12.2,4.5) -- (12.8,4.5); 
	%
	%		
	% Beschriftung
	\node[draw] at (1.25,-1) {A$^{q+}$}; % 1
	\node[draw] at (5.75,-1) {[A$^{(q+1)+}$]$^{*}$}; % 2
	\node[draw] at (10.25,-1) {A$^{(q+2)+}$}; % 3
\end{tikzpicture}
}
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bohrmodel with charge and shell %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Main command:
% #1 = Element
% #2 = Charge (integer: negative, zero, positive)
% #3 = comma-separated shell populations
%
\NewDocumentCommand{\bohrModel}{mmm}{%
	\begin{tikzpicture}[scale=1]
		% Parameters
		\def\radiusstep{0.8}
		\def\esize{2pt}
		% Loop over shells
		\foreach \electrons [count=\n] in {#3} {
			
			\pgfmathsetmacro{\r}{\n * \radiusstep}
			
			% Draw shell
			\draw[gray!60] (0,0) circle (\r);
			
			% Draw electrons
			\foreach \i in {1,...,\electrons} {
				\pgfmathsetmacro{\angle}{360/\electrons * (\i-1)}
				\fill ({\r*cos(\angle)}, {\r*sin(\angle)}) circle (\esize);
			}
		}
		
		% Charge formatting
		\ifnum#2=0
		\node at (0,0) {\Large #1};
		\else
		\ifnum#2>0
		\node at (0,0) {\Large $#1^{#2+}$};
		\else
		\pgfmathtruncatemacro{\abscharge}{abs(#2)}
		\node at (0,0) {\Large $#1^{\abscharge-}$};
		\fi
		\fi
		
	\end{tikzpicture}
}
%
%
%
%
\endinput % This is the end of apreax.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Version history
2025/12/22 - initial start
2026/05/01 - first version


