groff: update vendor branch to v1.20.1
[dragonfly.git] / contrib / groff / contrib / chem / examples / 122 / chAh_brackets.chem
1 chAh_brackets.chem:
2 .br
3 .EQ
4 delim $$
5 .EN
6 .cstart
7
8 # Example file for `chem':
9
10 # This originates from Computing Science Technical Report No. 122
11 #   CHEM - A Program for Typesetting Chemical Diagrams: User Manual
12 #   by Jon L. Bentley, Lynn W. Jelinski, Brian W. Kernighan
13 #   <http://cm.bell-labs.com/cm/cs/cstr/122.ps.gz>.
14
15 # Copyright (C) 2006, 2009 Free Software Foundation, Inc.
16
17 # Last update: 5 Jan 2009
18
19 # This file is part of `chem', which is part of `groff'.
20
21 # `groff' is free software; you can redistribute it and/or modify it
22 # under the terms of the GNU General Public License as published by
23 # the Free Software Foundation, either version 3 of the License, or
24 # (at your option) any later version.
25
26 # `groff' is distributed in the hope that it will be useful, but
27 # WITHOUT ANY WARRANTY; without even the implied warranty of
28 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
29 # General Public License for more details.
30
31 # You should have received a copy of the GNU General Public License
32 # along with this program. If not, see <http://www.gnu.org/licenses/>.
33
34 ########################################################################
35
36 [
37     bond right ; CH2
38     bond 120 ; (CH2)
39     "$nothing sub n$"
40     bond 60 ; .CH2
41 ]
42 # now put the arrow in
43     move right .3
44     arrow .5
45     move right .3
46 # begin second structure
47 [
48     bond right ; CH.
49     bond 120 ; (CH2)
50     "$nothing sub n$"
51     bond 60 ; CH3
52 ]
53
54 ########################################################################
55 ### Emacs settings
56 # Local Variables:
57 # mode: Nroff
58 # End:
59 .cend
60 .EQ
61 delim $$
62 .EN