From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/carbohydrates/test.tex | 143 ++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 macros/latex/contrib/carbohydrates/test.tex (limited to 'macros/latex/contrib/carbohydrates/test.tex') diff --git a/macros/latex/contrib/carbohydrates/test.tex b/macros/latex/contrib/carbohydrates/test.tex new file mode 100644 index 0000000000..a5bd6041f5 --- /dev/null +++ b/macros/latex/contrib/carbohydrates/test.tex @@ -0,0 +1,143 @@ +\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{<=>} + \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} + -- cgit v1.2.3