67a72c939db5bff90df9a144bc937b72fd26c63e
[platform/upstream/groff.git] / contrib / chem / examples / morphine.chem
1 morphine.chem:
2 .cstart
3
4 # Example file for `chem':
5 #    Morphine or C23_H31_N3O or
6 #    N,N-diethyl-N'-(2-methoxyacridin-9-yl)-pentane-1,4-diamine
7
8 # Found at http://www.chemindustry.com/apps/chemicals.
9
10 # Source file position: <groff-source>/contrib/chem/example/morphine.chem
11 # Installed position: <prefix>/share/doc/groff/example/chem/morphine.chem
12
13 # Copyright (C) 2006-2014 Free Software Foundation, Inc.
14 # Written by Bernd Warken <groff-bernd.warken-72@web.de>.
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 (GPL) version 2 as
20 # published by the Free Software Foundation.
21
22 # `groff' is distributed in the hope that it will be useful, but
23 # WITHOUT ANY WARRANTY; without even the implied warranty of
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
25 # General Public License for more details.
26
27 # You should have received a copy of the GNU General Public License
28 # along with this program. If not, see <http://www.gnu.org/licenses/>.
29
30 # The GPL2 license text is available in the internet at
31 # <http://www.gnu.org/licenses/gpl-2.0.html>.
32
33 R1:     benzene
34 R2:     benzene with .V6 at R1.V2 with .V5 at R1.V3 put N at 4
35 R3:     benzene with .V6 at R2.V2 with .V5 at R2.V3
36         bond 60 at R3.V2 ; O
37         bond 120
38         bond up at R2.V1 ; N
39         bond 60 ; H
40         bond -60 at N
41 B1:     backbond -120
42         bond up at B1.start
43         bond -60
44         bond up
45         bond -60 ; N
46         bond up
47         bond -60
48         bond -120 at N
49         bond -60
50
51 ### Emacs settings
52 # Local Variables:
53 # mode: Nroff
54 # End:
55 .cend