# How to align rings after rotating

Rings are aligned with each other using LaTeX chemfig package at their C-1 positions (southwest corners). Rotating one of the rings will cause a misalignment although both rings are still aligned at their C-1 positions (see below). How can I align the two rings at the same level again?

\documentclass{article}
\usepackage{chemfig}

\begin{document}
\begin{center}
\chemfig{*6(=N-=N-=-)}
\par\bigskip
\chemfig{*6(=N-=N-=-)}
\end{center}
\end{document}


• Welcome to TeX.SX! – siracusa Jan 21 at 1:21

\documentclass{article}
$\begin{array}{cp{5mm}c} \vcenter{\hbox{\chemfig{*5(=-NH-=N-)}}} & & \vcenter{\hbox{\chemfig{*6(=N-=N-=-)}}}\\[1.2cm] \vcenter{\hbox{\chemfig{[:-90]*5(=-\chembelow{N}{H}-=N-)}}} & & \vcenter{\hbox{\chemfig{*6(=N-=N-=-)}}} \end{array}$