]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/groff/contrib/mom/examples/elvis_syntax
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / groff / contrib / mom / examples / elvis_syntax
1 #Mom
2 language mom
3 extension .mom .tmac
4
5 startword .
6 color startword normal
7
8 inword _.'
9 color inword normal
10
11 other initialpunct
12 mostly normal
13
14 backslash none
15
16 color args         like fixed
17 color braces       like char
18 color brackets     like underlined
19 color chars        like emphasized
20 color decimals     like number
21 color ellipsis     normal
22 color escapes      like keyword
23 color math         like cursor
24 color misc         like string
25 color operators    like string
26 color parens       like comment
27 color reg_string   like math
28 color tmac_escapes like keyword
29 color single_slash like char
30
31 font args DA DE EN ES FR IT NL NO PT SV
32 font args DEFAULT CHAPTER NAMED LETTER
33 font args TYPESET TYPEWRITE
34 font args FINAL DRAFT
35 font args BLOCK QUAD
36 font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
37 font args OFF QUIT END EXIT DONE NO ALL
38 font args PAGE NUMBER STAR
39 font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
40 font args 10x14 A3 A4 A5 B4 B5
41 font args SINGLESPACE
42 font args FACTOR
43 font args DASH BULLET ALPHA DIGIT USER
44 font args RGB CYM CMYK GRAY GREY
45 font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
46 font args BOLDER BOLDERX SLANT SLANTX
47 font args UP DOWN BCK FWD BU BP FU FP
48 font args ROM IT BD BDI PREV
49 font args ST
50 font args SUSPEND RESUME
51
52 prefix            { \{ \{\
53 font braces       { \{ \{\
54 prefix            [ ]
55 font brackets     [ ]
56 prefix            \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
57 font chars        \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
58 prefix            \(14 \(12 \(34 \(+-
59 font chars        \(14 \(12 \(34 \(+-
60 prefix            \fR \fB \fI \fP \f0 \f1 \f2 \f3
61 font chars        \fR \fB \fI \fP \f0 \f1 \f2 \f3
62 prefix            .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
63 font decimals     . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
64 prefix            \/ \/. \/? \/! \/, \/; \/:
65 font escapes      \/ \/. \/? \/! \/, \/; \/:
66 prefix            \, \,. \,? \,! \,, \,; \,:
67 font escapes      \, \,. \,? \,! \,, \,; \,:
68 prefix            \~ \0 \: \| \^ \& \% \!
69 font escapes      \~ \0 \: \| \^ \& \% \!
70 prefix            \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
71 font escapes      \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
72 prefix            ...
73 font ellipsis     ...
74 prefix            + - * / = == < > <= >= <? >? %
75 font math         + - * / = == < > <= >= <? >? %
76 prefix            |
77 font misc         |
78 prefix            ! : &
79 font operators    ! : &
80 prefix            ( )
81 font parens       ( )
82 prefix            # * $
83 font reg_string   # * $
84 prefix            \n \* \[
85 font single_slash \n \* \[
86 prefix            \\n \\* \\$
87 font tmac_escapes \\n \\* \\$
88
89 comment   \#
90 comment   \"