<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{scrartcl}
\usepackage{carbohydrates}
% \setcarbohydrates{
%   color={anomerO}{red} ,
%   color={anomerH}{blue} ,
%   color={ringO}{green} ,
%   color={C2}{yellow} ,
%   color={O-C2}{yellow} ,
%   color={H-C2}{yellow} ,
%   color={C5}{purple} ,
%   color={O-C5}{purple} ,
%   color={H-C5}{purple} ,
%   color={C6}{orange} ,
%   color={O-C6}{orange} ,
%   color={H-C6}{orange}
% }

\begin{document}

\setcarbohydrates{model=chair}
\schemestart
  \glucose[color={anomerO}{red},color={O-C5}{green},color={H-C5}{blue}]
  \arrow{&lt;=&gt;}
  \glucose[ring,color={anomerO}{red},color={ringO}{green},color={anomerH}{blue}]
\schemestop

\end{document}

\documentclass{scrartcl}

\usepackage{carbohydrates}
\colorlet{cbhdr@anomerO}{green}
\colorlet{anomerH}{blue}
\colorlet{cbhdr@ringO}{red}
\colorlet{cbhdr@O-C5}{orange}
\colorlet{cbhdr@H-C5}{yellow}

\begin{document}

\glucose[model=haworth,chain]

\ribose[model=haworth,chain]

\ribose[model=haworth,ring]

\end{document}

\glucose[model={fischer=skeleton}]
\quad
\glucose[model={fischer=skeleton},ring]

\bigskip

\threose[model={fischer=skeleton}]
\quad
\threose[ring,model=haworth]

% \glycerinaldehyde[ring]

\bigskip

\ribose[ring=pyranose]
\quad
\ribose[model=haworth,ring]
\quad
\ribose[model=haworth,ring=pyranose]

\bigskip

\carbohydrate[model=haworth,ring=furanose,]{l0ll}

\end{document}
% \makeatletter

\glucose
\quad
\glucose[ring]
\quad
\glucose[ring,anomer=beta]

\bigskip

\glucose[ring=furanose]
\quad
\glucose[ring=furanose,model=haworth]
\quad
\galactose[ring=furanose,model=haworth]

\end{document}

\bigskip

\glucose[model={fischer=skeleton}]
\quad
\glucose[model={fischer=skeleton},ring]
\quad
\glucose[model={fischer=skeleton},ring,anomer=beta]

\bigskip

\glucose[model=haworth]
\quad
\glucose[model=haworth,ring]
\quad
\glucose[model=haworth,ring,anomer=beta]

\bigskip

\glucose[model=chair]
\quad
\glucose[model=chair,ring]
\quad
\glucose[model=chair,ring,anomer=beta]

\glucose[model=haworth,ring,anomer=undetermined]

\bigskip

\idose[model=haworth]
\quad
\idose[model=haworth,ring]
\quad
\idose[model=haworth,ring,anomer=beta]

\bigskip

\idose[model=chair]
\quad
\idose[model=chair,ring]
\quad
\idose[model=chair,ring,anomer=beta]

\bigskip

\ribose
\quad
\desoxyribose
\quad
\desoxyribose[model={fischer=skeleton},ring]


\end{document}

</pre></body></html>