-
Notifications
You must be signed in to change notification settings - Fork 9
/
maths.talon
33 lines (29 loc) · 865 Bytes
/
maths.talon
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
tag: user.maths
-
tag(): user.maths
help (math | maths): user.maths_help_show()
show (math | maths) help: user.maths_help_show()
hide maths help: user.maths_help_hide()
# Basic symbols
greek {user.greek_letters}: user.maths_greek_letter(greek_letters)
{user.tex_symbols}: user.maths_tex_symbol(tex_symbols)
# Matrices
matrix <number> by <number>: user.maths_matrix(number_1, number_2)
# Fractions
fraction: user.maths_fraction()
over:
key(shift-left)
user.maths_fraction()
key(down)
<number> {user.maths_fractions}:
user.maths_fraction()
insert(number)
key(down)
insert(maths_fractions)
key(right)
# Sub/Superscript
(super script | to the power): user.maths_begin_superscript()
inverse: user.maths_superscript("-1")
squared: user.maths_superscript("2")
cubed: user.maths_superscript("3")
sub script: user.maths_begin_subscript()