-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathformatting.fmt
executable file
·87 lines (62 loc) · 1.81 KB
/
formatting.fmt
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
% -*- text -*-
%% Misc lhs2TeX directives
%format family = "\mathbf{family}"
%% spaces (in 18ths of a quad): \, = 3, \: = 4, \; = 5, \! = -3
%format liftA2
%format NOP = "{}"
%format =~ = " \simeq "
%format =~= = " \cong "
%% optional double-dollar spelling, to avoid $ confusing emacs latex-mode.
%format <$$> = <$>
%format <#> = <$>
%format <$$ = <$
%format <# = <$
%format <$> = "\mathbin{<\!\!\!\$\!\!\!>}"
%format <$ = "\mathbin{<\!\!\!\$}"
%format <*> = "\mathbin{<\!\!\!*\!\!\!>}"
%% %format <*> = "\circledast"
%% hack: add missing space, e.g., before "{" in data type decl
%format SPC = "\, {}"
%format SPACE = "\ {}"
%format NOP = "{}"
%format PAUSE = "\pause"
%format mempty = "\emptyset"
%format <> = " \oplus "
%format `mappend` = " \oplus "
%format mappend = "(\oplus)"
%format :* = " \times "
%format :+ = " + "
%format @ = "{\ @}"
%format @@ = "@"
%format ~> = " \leadsto "
%format (toCCC (e)) = "\db{" e "}"
%format ~ = "\mathbin{\sim}"
%format BACKex = "\hspace{-1ex}"
%format BACKquad = "\hspace{-2.2ex}"
%format R = "\mathbb{R}"
%format C = "\mathbb{C}"
%format ^+^ = "+"
%% %format ^+^ = "\mathbf{+}"
%% %format ^+^ = "\bplus"
%format *^ = " \cdot "
%format zeroV = 0
%% %format zeroV = "\bzero"
%format negateV = negate
%% %format <.> = "\mathbin{<\!\!\! \cdot \!\!\!>}"
%format <.> = "\cdot"
%% %format $@ = "\mathbin{\hat\$}"
%% %% %format $@ = "\mathbin{\$\!@}"
%format (abs(a)) = "|" a "|"
%format (norm(a)) = "\lVert" a "\rVert"
%format lim(w)(b) = "\lim_{"w"}{"b"}"
%format frac(a)(b) = "\frac{"a"}{"b"}"
%format `approx` = "\approx"
%format *** = "\times"
%format &&& = "\mathbin{\smalltriangleup}"
%format ||| = "\mathbin{\smalltriangledown}"
%format +++ = "\!+\!"
%format :-* = "\multimap"
%format Par1 = "\Varid{Id}"
%format unPar1 = "\Varid{unId}"
%format :*: = "\btimes"
%format :.: = "\bcomp"