2
2
Fork 0

clean diagrams

This commit is contained in:
Pierre-Francois Loos 2019-11-29 12:00:14 +01:00
parent a9c5f8cab0
commit 83e58d6eef
15 changed files with 149 additions and 115 deletions

View File

@ -9,14 +9,14 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updna{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
@ -31,7 +31,7 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updna{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}

View File

@ -9,19 +9,19 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\dnr{\XX}{1.5}
\emp{\XX}{1.0}
\dn{\XX}{0.5}
\up{\XX}{0.}
\emp{\XX}{1.5}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
% Det |J>
\renewcommand{\XX}{\XJ}
@ -31,7 +31,7 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}

View File

@ -9,19 +9,19 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\dnr{\XX}{2.5}
\upr{\XX}{2.0}
\emp{\XX}{2.5}
\updnab{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\dn{\XX}{0.5}
\up{\XX}{0.}
\emp{\XX}{0.5}
\updn{\XX}{0.}
% Det |J>
\renewcommand{\XX}{\XJ}
@ -31,7 +31,7 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}

View File

@ -9,14 +9,14 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updna{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\upr{\XX}{1.0}
\upa{\XX}{1.0}
\dn{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,19 +9,19 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\dn{\XX}{0.5}
\updnbr{\XX}{0.}
\dnb{\XX}{0.5}
\updn{\XX}{0.}
% Det |J>
\renewcommand{\XX}{\XJ}
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\dnr{\XX}{1.0}
\updnrb{\XX}{0.5}
\up{\XX}{0.}
\dnb{\XX}{1.0}
\upa{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,19 +9,19 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrb{\XX}{0.5}
\updnbr{\XX}{0.}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\dnr{\XX}{1.0}
\dn{\XX}{0.5}
\up{\XX}{0.}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
% Det |J>
\renewcommand{\XX}{\XJ}
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\dnr{\XX}{1.0}
\updnrb{\XX}{0.5}
\up{\XX}{0.}
\dnb{\XX}{1.0}
\upa{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,17 +9,17 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\dnr{\XX}{1.5}
\emp{\XX}{1.0}
\emp{\XX}{1.5}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
@ -29,9 +29,9 @@
\emp{\XX}{2.5}
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\upr{\XX}{1.0}
\dnr{\XX}{0.5}
\dnb{\XX}{1.5}
\emp{\XX}{1.0}
\upa{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,14 +9,14 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\dnr{\XX}{2.5}
\upr{\XX}{2.0}
\emp{\XX}{2.5}
\updnab{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\upr{\XX}{1.0}
\dnr{\XX}{0.5}
\dnb{\XX}{1.0}
\upa{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,18 +9,18 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\dnr{\XX}{0.5}
\dnb{\XX}{0.5}
\updn{\XX}{0.}
% Det |J>
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\updnrr{\XX}{1.0}
\updnab{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,17 +9,17 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\emp{\XX}{1.5}
\dnr{\XX}{1.0}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
@ -30,8 +30,8 @@
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\updnrr{\XX}{1.0}
\updnab{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,17 +9,17 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\dnr{\XX}{1.5}
\emp{\XX}{1.0}
\emp{\XX}{1.5}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
@ -29,9 +29,9 @@
\emp{\XX}{2.5}
\emp{\XX}{2.0}
}
\emp{\XX}{1.5}
\updnrr{\XX}{1.0}
\dnb{\XX}{1.5}
\upa{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,14 +9,14 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnab{\XX}{0.5}
\updn{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\dnr{\XX}{2.5}
\upr{\XX}{2.0}
\emp{\XX}{2.5}
\updnab{\XX}{2.0}
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
@ -29,9 +29,9 @@
\emp{\XX}{2.5}
\emp{\XX}{2.0}
}
\dnr{\XX}{1.5}
\upr{\XX}{1.0}
\emp{\XX}{1.5}
\updnab{\XX}{1.0}
\emp{\XX}{0.5}
\updn{\XX}{0.}
\end{tikzpicture}
\end{tikzpicture}

View File

@ -9,19 +9,19 @@
}
\emp{\XX}{1.5}
\emp{\XX}{1.0}
\updnrr{\XX}{0.5}
\updnrb{\XX}{0.}
\updnab{\XX}{0.5}
\updnc{\XX}{0.}
% Det |alpha>
\renewcommand{\XX}{\XA}
\cabs{
\emp{\XX}{2.5}
\upr{\XX}{2.0}
\upa{\XX}{2.0}
}
\dnr{\XX}{1.5}
\emp{\XX}{1.0}
\emp{\XX}{1.5}
\dnb{\XX}{1.0}
\emp{\XX}{0.5}
\updnrb{\XX}{0.}
\updnc{\XX}{0.}
% Det |J>
\renewcommand{\XX}{\XJ}
@ -29,8 +29,8 @@
\emp{\XX}{2.5}
\emp{\XX}{2.0}
}
\updnrr{\XX}{1.5}
\upr{\XX}{1.0}
\upa{\XX}{1.5}
\updncb{\XX}{1.0}
\emp{\XX}{0.5}
\dn{\XX}{0.}

View File

@ -26,13 +26,16 @@
% \updn{0.}{0.}
%
% Electron symbol
\newcommand{\upel}{$\uparrow$}
\newcommand{\dnel}{$\downarrow$}
% Colors
\newcommand{\cabs}[1]{ { \color{lightgray}{#1} } }
\newcommand{\obs}[1]{ { \color{black}{#1} } }
\newcommand{\exc}[1]{ { \color{red}{#1} } }
\newcommand{\exca}[1]{ { \color{red}{#1} } }
\newcommand{\excb}[1]{ { \color{Cyan}{#1} } }
\newcommand{\excc}[1]{ { \color{Green}{#1} } }
\newcommand{\noexc}[1]{{ \color{black}{#1} } }
% Spacing between the 3 diagrams
@ -40,52 +43,83 @@
\newcommand{\XA}{0.}
\newcommand{\XJ}{1.}
% Up electron
\newcommand{\up}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1-0.1,#2) {\noexc{$\uparrow$}};
\node at (#1-0.1,#2) {\noexc{\upel}};
}
\newcommand{\upr}[2]{
\newcommand{\upa}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1-0.1,#2) {\exc{$\uparrow$}};
\node at (#1-0.1,#2) {\exca{\upel}};
}
\newcommand{\upb}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1-0.1,#2) {\excb{\upel}};
}
\newcommand{\upc}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1-0.1,#2) {\excc{\upel}};
}
% Down electron
\newcommand{\dn}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\noexc{$\downarrow$}};
\node at (#1+0.1,#2) {\noexc{\dnel}};
}
\newcommand{\dnr}[2]{
\newcommand{\dna}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\exc{$\downarrow$}};
\node at (#1+0.1,#2) {\exca{\dnel}};
}
\newcommand{\dnb}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\excb{\dnel}};
}
\newcommand{\dnc}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\excc{\dnel}};
}
% Up and Down electrons
\newcommand{\updn}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\noexc{$\downarrow$}};
\node at (#1-0.1,#2) {\noexc{$\uparrow$}};
\node at (#1+0.1,#2) {\noexc{\dnel}};
\node at (#1-0.1,#2) {\noexc{\upel}};
}
\newcommand{\updnrr}[2]{
\newcommand{\updnab}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\exc{$\downarrow$}};
\node at (#1-0.1,#2) {\exc{$\uparrow$}};
\node at (#1+0.1,#2) {\excb{\dnel}};
\node at (#1-0.1,#2) {\exca{\upel}};
}
\newcommand{\updnrb}[2]{
\newcommand{\updncb}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\noexc{$\downarrow$}};
\node at (#1-0.1,#2) {\exc{$\uparrow$}};
\node at (#1+0.1,#2) {\excb{\dnel}};
\node at (#1-0.1,#2) {\excc{\upel}};
}
\newcommand{\updnbr}[2]{
\newcommand{\updna}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\exc{$\downarrow$}};
\node at (#1-0.1,#2) {\noexc{$\uparrow$}};
\node at (#1+0.1,#2) {\noexc{\dnel}};
\node at (#1-0.1,#2) {\exca{\upel}};
}
\newcommand{\updnb}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1-0.1,#2) {\noexc{\upel}};
\node at (#1+0.1,#2) {\excb{\dnel}};
}
\newcommand{\updnc}[2]{
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
\node at (#1+0.1,#2) {\noexc{\dnel}};
\node at (#1-0.1,#2) {\excc{\upel}};
}
% Empty orbital
@ -93,8 +127,9 @@
\draw [-,thick] (-0.2+#1,#2) -- (0.2+#1,#2);
}
% Determinant label
\node at (\XI,-0.7) {$\ket{I}$};
\node at (\XA,-0.7) {$\ket{\alpha}$};
\node at (\XJ,-0.7) {$\ket{J}$};
\newcommand{\XX}{0.}

View File

@ -1,5 +1,5 @@
\documentclass[]{article}
\usepackage{tikz,xcolor}
\documentclass[usenames,dvipsnames]{standalone}
\usepackage{physics,tikz}
\begin{document}
\begin{tabular}{cccc}
\input{0_1_11.tikz} & \input{0_1_22.tikz} & \input{0_2_22.tikz} & \input{1_1_11.tikz} \\
@ -12,4 +12,3 @@
3 1 22
\end{tabular}
\end{document}