Imported Upstream version 1.22.4
[platform/upstream/groff.git] / 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-2018 Free Software Foundation, Inc.
12 # Written by Bernd Warken <groff-bernd.warken-72@web.de>.
13
14 # This file is part of 'chem', which is part of 'groff'.
15
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.
19
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.
24
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/>.
27
28 # The GPL2 license text is available in the internet at
29 # <http://www.gnu.org/licenses/gpl-2.0.html>.
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