Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

enter image description here

As you can clearly see in the high quality diagram above, I'm looking for a way to get the nitrogen and hydrogen bonded like that in chemfig.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You're looking for \chemabove{<atom>}{<above>}:

\documentclass{article}
\usepackage{chemfig}

\begin{document}

\chemfig{R^1-[:30]\chemabove{N}{H}-[:-30]R^2}

\end{document}

enter image description here

Just for the record: there's also \chembelow{<atom>}{<below>}. I've described them in a little more detail in my answer to “Changing space between atoms in Chemabove

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.