-
Notifications
You must be signed in to change notification settings - Fork 0
/
.snippets.cson
68 lines (62 loc) · 1.48 KB
/
.snippets.cson
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
# Copy (or append) this file to ~/.atom/snippets.cson in order to use these snippets in Atom.
'.html':
'Proof':
'prefix': 'proof'
'description': 'The proof of a result'
'body': '''
<div class="proof">
<span class="proof">Proof.</span>
<span>
$1
</span>
<p class="square">\\\\(\\\\square\\\\)</p>
</div>
'''
'Result':
'prefix': 'result'
'description': "The statement of a theorem, proposition, lemma, or other result"
'body': '''
<p>
<span class="result">$1.</span>
$2
</p>
'''
'Named Result':
'prefix': 'named'
'description': 'A result with a name included (e.g. Gauss\'s Lemma)'
'body': '''
<p>
<span class="result">
$1
<span class="name">($2)</span><span>.</span>
</span>
$3
</p>
'''
'Proposition':
'prefix': 'proposition'
'description': "The statement of a proposition"
'body': '''
<p>
<span class="result">Proposition.</span>
$1
</p>
'''
'Theorem':
'prefix': 'theorem'
'description': "The statement of a theorem"
'body': '''
<p>
<span class="result">Theorem.</span>
$1
</p>
'''
'Example':
'prefix': 'example'
'description': "An example"
'body': '''
<p>
<span class="result">Example.</span>
$1
</p>
'''