summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/carbohydrates/test.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-02 22:26:36 +0000
committerKarl Berry <karl@freefriends.org>2015-12-02 22:26:36 +0000
commit8612f7f48afa4bd985eb1ba2824afc9bc0d9737f (patch)
tree1b8ef82b18c55dbced22eecdea9e4c5800728e93 /Master/texmf-dist/doc/latex/carbohydrates/test.tex
parent716c0e5e86ce4d876fdceb4d9898018ab1216d9d (diff)
carbohydrates (2dec15)
git-svn-id: svn://tug.org/texlive/trunk@39000 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/carbohydrates/test.tex')
-rw-r--r--Master/texmf-dist/doc/latex/carbohydrates/test.tex143
1 files changed, 143 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/carbohydrates/test.tex b/Master/texmf-dist/doc/latex/carbohydrates/test.tex
new file mode 100644
index 00000000000..a5bd6041f57
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/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}
+