Commit 2ae7f3b1 authored by Alexander Schoch's avatar Alexander Schoch

update chess figure

parent d4a116dc
No preview for this file type
......@@ -33,6 +33,10 @@
\endgroup\AtBeginExercise}
\makeatother
\newcommand{\field}[3]{
\fill[white, fill opacity=0.3] (#1, #2) rectangle ({#1 + 1}, {#2 + 1});
\node[circle] at ({#1 + 0.5}, {#2 + 0.5}) {\textcolor{black}{#3}};
}
\setchemfig{cram width=0.5ex}
%change title
......@@ -314,10 +318,65 @@ Dabei kann man sich gut diese Reihenfolge anhand eines Schachbrettes (Abbildung
\begin{mdframed}
\begin{minipage}{0.5\linewidth}
\centering
\includegraphics[width=0.5\linewidth]{Diagrams/Screenshot from 2020-05-07 17-14-09.png}
%\includegraphics[width=0.5\linewidth]{Diagrams/Screenshot from 2020-05-07 17-14-09.png}
\begin{tikzpicture}[scale=0.8]
\fill[black] (0,0) rectangle (8,8);
\draw[thick] (0,0) rectangle (8,8);
\foreach \x in {0,1,...,7}{
\foreach \y in {0,1,...,7}{
\ifodd\x
\else
\ifodd\y
\else
\fill[white] (\x,\y) rectangle ({\x+1},{\y+1});
\fi
\fi
\ifodd\x
\ifodd\y
\fill[white] (\x,\y) rectangle ({\x+1},{\y+1});
\fi
\fi
}
}
\draw[->] (-0.5,0.5) -- (2.5,0.5);
\draw[->] (-0.5,1.5) -- (3.5,1.5);
\draw[->] (-0.5,2.5) -- (4.5,2.5);
\draw[->, dashed] (-0.5,3.5) -- (5.5,3.5);
\draw[->, dotted] (-0.5,4.5) -- (6.5,4.5);
\field{0}{0}{1s}
\field{1}{1}{2s}
\field{2}{2}{3s}
\field{3}{3}{4s}
\field{4}{4}{5s}
\field{5}{5}{6s}
\field{6}{6}{7s}
\field{7}{7}{8s}
\field{0}{2}{2p}
\field{1}{3}{3p}
\field{2}{4}{4p}
\field{3}{5}{5p}
\field{4}{6}{6p}
\field{5}{7}{7p}
\field{0}{4}{3d}
\field{1}{5}{4d}
\field{2}{6}{5d}
\field{3}{7}{6d}
\field{0}{6}{4f}
\field{1}{7}{5f}
\node at (-0.7,0.5) {1.};
\node at (-0.7,1.5) {2.};
\node at (-0.7,2.5) {3.};
\node at (-0.7,3.5) {4.};
\node at (-0.7,4.5) {\ldots};
\end{tikzpicture}
\end{minipage}
\begin{minipage}{0.49\linewidth}
\caption{ Aufbau on a Chessboard \cite{Chessboard}, die Elektronen werden von unten nach oben in die Orbitale eingef\"ullt. }
\caption{Aufbau on a Chessboard, die Elektronen werden von unten nach oben in die Orbitale eingef\"ullt. }
\label{Chess}
\end{minipage}
\end{mdframed}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment