I'm trying to draw a cylindrospermopsin molecule using chemfig. There's my code
\documentclass[12pt]{standalone}
\pagestyle{empty}
\usepackage{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx,graphics}
\usepackage[brazil]{babel}
\usepackage{chemfig}
\begin{document}
\chemfig{%
A*6(-B*5(-R-S-\phantom{G}-\phantom{C})-C*6(-G-H-I(-K-[:-30]L*6(-M-N-O-P-Q=\phantom{L}))-J-\phantom{D})-D-E-F-)
}
\end{document}
I'm getting the following molecule
There's a way to link the S and G atoms correctly and make a single chemical bond between C and G



\chemfig{ A*6(-B*5(-R-S-)-C*6(=G-H-I(-K-[:-30]L*6(-M-N-O-P-Q=\phantom{L}))-J-\phantom{D})-D-E-F-) }also works, although alignment is not perfect – Alex Recuenco May 28 '17 at 12:55