Chemfig – How to Align Atoms with Chembelow/Chemabove?

chemfig

I am building the selegiline structure and for this I use \chembelow and \chemabove from the chemfig package. The problem is that I cannot align the hydrogens (H_2) with the carbon (C), that is, the hydrogen symbol (H) is exactly on/under the carbon atom and not aligned to the left.

I hope you can help me. Greetings.

\setchemfig{atom style={scale=.85},atom sep=2.5em}
\chemname{%
\chemfig{%
\chemabove{C}{H}(-[:150]\chemabove{C}{H_2}-[:210]*6(=-=-=-))(-[:30]CH_3)-[:270]N(-[:210]H_3C)(-[:330]\chembelow{C}{\;H_2}-[:30]C~[:30]CH)
}}%
{Selegiline}%

Best Answer

a version showing all H, without using \chemabove or \chembelow

\setchemfig{atom style={scale=.85},atom sep=2.5em}
%
\chemname{\chemfig{C(-[2,.35,,,,draw=none]H)(-[:150]C(-[6,.35,,,,draw=none]H)(-[2,.35,,,,draw=none]H)-[:210]*6(=-=-=-))(-[:30]CH_3)-[:270]N(-[:210]H_3C)(-[:330]C(-[6,.35,,,,draw=none]H)(-[2,.35,,,,draw=none]H)-[:30]C~[:30]CH)}}
{Selegiline}
%

enter image description here

OR...

\setchemfig{atom style={scale=.85},atom sep=2.5em}
%
\chemname{\chemfig{C(-[2,.35,,,,draw=none]H)(-[:150]C(-[:70,.35,,,,draw=none]H_2)-[:210]*6(=-=-=-))(-[:30]CH_3)-[:270]N(-[:210]H_3C)(-[:330]C(-[:290,.37,,,,draw=none]H_2)-[:30]C~[:30]CH)}}
{Selegiline}
%

enter image description here

Related Question