summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/carbohydrates/test.tex
blob: a5bd6041f576854c3964b5789685abbcfea4584f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
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}