PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/tmac/eqnrc

https://bitbucket.org/freebsd/freebsd-head/
#! | 65 lines | 55 code | 10 blank | 0 comment | 0 complexity | 9e919d37551f642be91ef60ff9c93a9a MD5 | raw file
 1.\" Startup file for eqn.
 2.\" $FreeBSD$
 3.EQ
 4sdefine << %{ < back 20 < }%
 5sdefine >> %{ > back 20 > }%
 6
 7sdefine dot %accent "\fR\(a.\fP"%
 8sdefine dotdot %accent "\fR\(ad\fP"%
 9sdefine vec %accent {up 52 "\s[\En[.s]/2u]\(->\s0"}%
10sdefine dyad %accent {up 52 "\s[\En[.s]/2u]\(<>\s0"}%
11
12sdefine cdot %type "binary" \(md%
13
14ifdef X75 ! define X %1% !
15ifdef X100 ! define X %1% !
16ifdef X75-12 ! define X %1% !
17ifdef X100-12 ! define X %1% !
18
19ifdef ps ! define ps|X|html %1% !
20ifdef X ! define ps|X|html %1% !
21ifdef html ! define ps|X|html %1% !
22
23ifdef ps|X|html ! sdefine inf %"\s[\En[.s]*13u/10u]\v'12M'\(if\v'-12M'\s0"% !
24
25ifdef dvi !
26sdefine int %{type "operator" vcenter \[integral]}%
27sdefine sum %{type "operator" vcenter \[sum]}%
28sdefine prod %{type "operator" vcenter \[product]}%
29sdefine coprod %{type "operator" vcenter \[coproduct]}%
30set num1 68
31set num2 39
32set denom1 69
33set denom2 34
34set sup1 41
35set sup2 36
36set sup3 29
37set sup_drop 39
38set sub_drop 5
39set axis_height 25
40set x_height 43
41set default_rule_thickness 4
42set big_op_spacing1 11
43set big_op_spacing2 16
44set big_op_spacing3 20
45set big_op_spacing4 60
46set big_op_spacing5 10
47!
48
49ifdef X ! set axis_height 32 !
50
51ifdef ps|X|html ! set draw_lines 1 !
52
53ifdef ascii ! define n %1% !
54ifdef latin1 ! define n %1% !
55ifdef koi8-r ! define n %1% !
56ifdef utf8 ! define n %1% !
57ifdef cp1047 ! define n %1% !
58ifdef n !
59set nroff 1
60!
61
62undef X
63undef ps|X|html
64undef n
65.EN