Carbohydrates

Since a few weeks I’m working on a package using chemfig as a backend that allows a simple yet flexible input syntax for typesetting carbohydrates. My draft at this point allows the following: \documentclass{scrartcl} \usepackage{carbohydrates} \begin{document} \glucose[model=haworth,chain]\quad \glucose[model=fischer,chain]\quad \glucose[model=chair,ring] \end{document} which gives: