5 # Example file for 'chem':
6 # Reserpine or C33H40N2O9
8 # Source file position: <groff-source>/contrib/chem/example/reserpine.chem
9 # Installed position: <prefix>/share/doc/groff/example/chem/reserpine.chem
11 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
12 # Written by Bernd Warken <groff-bernd.warken-72@web.de>.
14 # This file is part of 'chem', which is part of 'groff'.
16 # 'groff' is free software; you can redistribute it and/or modify it
17 # under the terms of the GNU General Public License (GPL) version 2 as
18 # published by the Free Software Foundation.
20 # 'groff' is distributed in the hope that it will be useful, but
21 # WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 # General Public License for more details.
25 # You should have received a copy of the GNU General Public License
26 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28 # The GPL2 license text is available in the internet at
29 # <http://www.gnu.org/licenses/gpl-2.0.html>.
31 R1: benzene pointing up
32 bond -120 from R1.V5 ; O
34 R2: flatring5 pointing down double 4,5 with .V2 at R1.V3 with .V3 at R1.V2 put N at 1
36 R3: ring put N at 3 with .V5 at R2.V5
37 R4: ring put N at 1 with .V1 at R3.V3
38 back bond -120 from R4.V4 ; H
39 back bond 60 from R4.V3 ; H
40 R5: ring with .V1 at R4.V3
42 D1: double bond down ; O
43 bond left from D1.start ; O
45 back bond 60 from R5.V3 ; H
46 back bond down from R5.V4 ; O
48 bond 120 from R5.V3 ; O
50 D2: double bond up ; O
51 bond right length .1 from D2.start
52 B: benzene pointing right
55 bond right from B.V1 ; O
57 bond 135 from B.V2 ; O