如何在 LaTeX 中绘制以下玻尔原子模型?

如何在 LaTeX 中绘制以下玻尔原子模型?

我是 LaTeX 的新用户。我想画出如下图所示的玻尔原子模型。有人能帮我吗?

在此处输入图片描述

答案1

这里有一个建议:

\documentclass[border=0.5cm]{standalone}

\usepackage{tikz}
\usepackage{textcomp}
\tikzset{
    atomH/.style = {draw,blue,circle,inner sep=0.25cm},
    atomC/.style = {draw,black,circle,inner sep=0.4cm},
    atomBr/.style = {draw,green,circle,inner sep=0.25cm},
    elecBr/.style = {circle, fill=white,draw=green, inner sep=1},
}

\begin{document}
    
    \begin{tikzpicture}     
    
    \node[atomC] (C) at (0,0) {C};
    \node[atomH,above of= C] (H1)  {H};
    \node[atomH,right of= C] (H2)  {H};
    \node[atomH,below of= C] (H3)  {H};
    \node[atomBr,left of= C] (H3)  {Br};

    % electrons
    \node[circle, fill=black, inner sep=1,yshift=0.6cm,xshift=-0.15cm] (E) at (0,0) {};
    \node[circle, text=blue,inner sep=0,yshift=0.6cm,xshift=0.15cm] (E) at (0,0) {\tiny \texttimes};
    
    \node[circle, text=blue, inner sep=0,yshift=-0.6cm,xshift=-0.15cm] (E) at (0,0) {\tiny \texttimes};
    \node[circle, fill=black, inner sep=1,yshift=-0.6cm,xshift=0.15cm] (E) at (0,0) {};
    
    \node[circle, fill=black, inner sep=1,yshift=0.15cm,xshift=-0.6cm] (E) at (0,0) {};
    \node[circle, draw=green, inner sep=1,yshift=-0.15cm,xshift=-0.6cm] (E) at (0,0) {};
    
    \node[circle, fill=black, inner sep=1,yshift=0.15cm,xshift=0.6cm] (E) at (0,0) {};
    \node[circle, text=blue, inner sep=0,yshift=-0.15cm,xshift=0.6cm] (E) at (0,0) {\tiny \texttimes};
    
    % electrons of Br
    \node[elecBr,yshift=0.57cm,xshift=-0.85cm] (E) at (0,0) {};
    \node[elecBr,yshift=0.57cm,xshift=-1.15cm] (E) at (0,0) {};
    
    \node[elecBr,yshift=-0.57cm,xshift=-0.85cm] (E) at (0,0) {};
    \node[elecBr,yshift=-0.57cm,xshift=-1.15cm] (E) at (0,0) {};
    
    \node[elecBr,yshift=0.15cm,xshift=-1.55cm] (E) at (0,0) {};
    \node[elecBr,yshift=-0.15cm,xshift=-1.55cm] (E) at (0,0) {};
    
    \end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容