+\documentclass[a4paper]{article}
+\usepackage[a4paper,margin=2cm]{geometry}
+\usepackage{multicol}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{tcolorbox}
+\usepackage{fancyhdr}
+\usepackage{carbohydrates}
+\usepackage{tabularx}
+\usepackage{mhchem}
+
+\pagestyle{fancy}
+\fancyhead[LO,LE]{Food Chemistry}
+\fancyhead[CO,CE]{Andrew Lorimer}
+
+\setlength\parindent{0pt}
+
+\begin{document}
+
+ \title{Food chemistry}
+ \author{Andrew Lorimer}
+ \date{}
+ \maketitle
+
+ \subsection*{Carbohydrates}
+
+ \subsubsection*{Monosaccharides}
+
+ The smallest carbohydrates.
+
+ \chemname{\glucose[model=haworth, ring]}{\(\alpha\) glucose \\ \ce{C6H12O6}}
+ \chemname{\glucose[anomer=beta, model=haworth, ring]}{\(\beta\) glucose \\ \ce{C6H12O6}}
+ \chemname{\galactose[model=haworth, ring]}{galactose \\ \ce{C6H12O6}}
+ \chemname{\mannose[model=haworth, ring]}{mannose \\ \ce{C6H12O6}}
+ \chemname{\xylose[model=haworth, ring]}{xylose\\ \ce{C5H10O5}}
+ \setchemfig{cram width=2pt}
+ \chemname{\chemfig{(-[:90]HO)(-[:270]HOCH2)-[:-45](-[:270, 0.5]HO)-(-[:90, 0.5]OH)-[:45]D-[:135]E}}{fructose \\ \ce{C6H12O6}}
+
+\end{document}