1

I need to obtain something similar to this:

enter image description here

This looks like a Lewis structure, so pairs of small x-es should rather be double dots.

My attempt:

\documentclass{article}
\usepackage{chemfig}

\begin{document}


$\left[\chemfig[atom sep=12pt, bond length=0pt]{\charge{0=\: ,90=\:,180=\:,270=\:}{N}(-[0]H)(-[2]H)(-[4]H)(-[6]H)
}\right]^+$

\end{document}

It is tricky, as I do not know, how to omit bonds. Now they are very short but still visible.

enter image description here

Have we good methods to obtain a Lewis structure like this one?

1 Answer 1

3

In order to avoid drawing the actual bonds, you can use bond style={draw=none} instead of reducing the bond length:

enter image description here

\documentclass{article}
\usepackage{chemfig}

\begin{document}
$\left[\chemfig[atom sep=12pt, bond style={draw=none}]{\charge{0=\: ,90=\:,180=\:,270=\:}{N}(-[0]H)(-[2]H)(-[4]H)(-[6]H)
}\right]^+$
\end{document}
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .