groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / contrib / chem / examples / reserpine.chem
1 reserpine.chem:
2 .PS
3 begin chem
4
5 # Example file for `chem':
6 #   Reserpine or C33H40N2O9
7
8 # Source file position: <groff-source>/contrib/chem/example/reserpine.chem
9 # Installed position: <prefix>/share/doc/groff/example/chem/reserpine.chem
10
11 # Copyright (C) 2006, 2009 Free Software Foundation, Inc.
12 # Written by Bernd Warken.
13
14 # Last update: 5 Jan 2009
15
16 # This file is part of `chem', which is part of `groff'.
17
18 # `groff' is free software; you can redistribute it and/or modify it
19 # under the terms of the GNU General Public License as published by
20 # the Free Software Foundation, either version 3 of the License, or
21 # (at your option) any later version.
22
23 # `groff' is distributed in the hope that it will be useful, but
24 # WITHOUT ANY WARRANTY; without even the implied warranty of
25 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
26 # General Public License for more details.
27
28 # You should have received a copy of the GNU General Public License
29 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30
31 R1:     benzene pointing up
32         bond -120 from R1.V5 ; O
33         bond left
34 R2:     flatring5 pointing down double 4,5 with .V2 at R1.V3 with .V3 at R1.V2 put N at 1
35         H below R2.V1
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
41         bond -120
42 D1:     double bond down ; O
43         bond left from D1.start ; O
44         bond left
45         back bond 60 from R5.V3 ; H
46         back bond down from R5.V4 ; O
47         bond down from O
48         bond 120 from R5.V3 ; O
49         bond 50 from O
50 D2:     double bond up ; O
51         bond right length .1 from D2.start
52 B:      benzene pointing right
53         bond 45 from B.V6 ; O
54         bond right
55         bond right from B.V1 ; O
56         bond right
57         bond 135 from B.V2 ; O
58         bond right
59
60 ### Emacs settings
61 # Local Variables:
62 # mode: Nroff
63 # End:
64 end
65 .PE