aboutsummaryrefslogtreecommitdiff
path: root/g.tmac
blob: 9f80429adf0e3e87119e433528c6cd683ce8aeb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.eo
.\" s -- setup document
.de s
. \" configure initial options
. _nr mt 1i	\" margin top
. _nr mb 1i	\" margin bottom
. \" initialize document
. wh 0 _h
. wh -\n(mbu _f
. sp 1u		\" trigger header
. ns
. \" configure environments
. _e t		\" title
.  ps +4p
.  vs +2p
.  ft B
.  ad c
. _e n		\" name (of author)
.  _nr n_mt 0.4v
.  ad c
. _e d		\" date
.  _nr d_mt 0.4v
.  ad c
. _e p		\" paragraph
.  _nr p_mt 0.3v
.  ad b
. _e h		\" heading
.  _nr h_mt 0.6v
.  ps +1p
.  ft B
. _e
..
.\" _h -- page header
.de _h
' sp \n(mtu
..
.\" _f -- page footer
.de _f
' sp 1v
. tl ''%''
' bp
..
.\" _nr -- set default value
.de _nr
. if \n[\$1]=0 .nr \$1 \$2
..
.\" _e -- set environment
.de _e
. br
. if !'\n[.ev]'0' .ev
. ds penv \*[env]
. ds env \$1
. if !'\$1'' .ev \$1
..
.\" i -- italic
.de i
\$3\fI\$1\fP\$2
..
.\" x -- bold italic
.de x
\$3\f(BI\$1\fP\$2
..
.\" t -- title
.de t
. _e t
..
.\" n -- name (of author)
.de n
.  br
. _e n
.  if '\*[penv]'t' .sp 0.2v
.  sp \n[n_mt]u
..
.\" d -- date
.de d
.  br
. _e d
.  if '\*[penv]'t' .sp 0.2v
.  sp \n[d_mt]u
.  af mo 00
.  af dy 00
.  ie '\$1'' \n[year]-\n(mo-\n(dy
.  el \$1
.  af mo 1
.  af dy 1
..
.\" p -- paragraph
.de p
.  br
. _e p
.  ie '\*[penv]'t' .sp 1v
.  el .ie '\*[penv]'n' .sp 1v
.  el .ie '\*[penv]'d' .sp 1v
.  el .sp \n[p_mt]u
.  if '\*[penv]'p' \h'0.5c'
..
.\" h -- heading
.de h
.  br
. _e h
.  sp \n[h_mt]u
..
.ec