答案1
我的评论提供了在 LaTeX 中查找有关路易斯结构主题的许多链接的方法。
但这里没有chemfig
:
\documentclass{article}
\usepackage{stackengine}
\usepackage{graphicx,ifthen}
\newcommand\lewis[7]{\,%
\ifthenelse{\equal{#3}{}}%
{\def\RHS{}\def\RRHS{\hspace{.5ex}}}%
{\def\RHS{\,\rotatebox{90}{\makebox[1.5ex]{#3}}\,}\def\RRHS{}}%
\stackengine{2ex}{%
\rotatebox{90}{\makebox[1.5ex]{#5}}\,%
\stackengine{0.6ex}{%
\stackengine{1.9ex}{#1}{#2}{O}{c}{F}{F}{L}%
}{#4}{U}{c}{F}{F}{L}%
\RHS$^{#6}$\RRHS%
}{$#7$}{U}{c}{F}{F}{L}%
}
\savestack\Bond{\rule{1.2ex}{.5pt}}
\savestack{\PBond}{\rotatebox{90}{\Bond}}
\begin{document}
\sffamily
\stackunder{%
H\lewis{S}{..}{..}{..}{..}{}{}H\qquad
H\lewis{S}{\Bond}{\PBond}{\Bond}{\PBond}{}{}H%
}{\tiny\stackunder{Estructura de Lewis de la mol\'edula de sulfuro}{de hidr\'ogeno}}
\end{document}
改编/扩展了我的回答像书一样绘制路易斯结构