forked from ma-anwar/mathfly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinearAlgebra.talon
110 lines (104 loc) · 2.11 KB
/
linearAlgebra.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
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
104
105
106
107
108
109
110
app: lyx
app: LyX.exe
app: LyX2.3.exe
app: LyX for Windows
-
#commands and symbols for matrix operations
transpose:
key(^)
insert("T")
edit.right()
switch <number> by <number>:
insert("R_{number} \leftrightarrow R_{number_2} ")
key(right)
#insert matrix operations in labels
operation:
insert("\overset ")
insert("~")
key(up)
operations:
insert("\stackrelthree ")
key(down)
insert("~")
key(up)
#matrix row operations
scale <number> by <number>:
insert("R_{number} ")
key(alt-/)
insert("{number_2}R_{number} ")
key(right)
add <number> by <number> row <number>:
insert("R_{number} ")
key(alt-/)
insert("R_{number} +{number_2}R_{number_3} ")
key(right)
minus <number> by <number> row <number>:
insert("R_{number} ")
key(alt-/)
insert("R_{number} -{number_2}R_{number_3} ")
key(right)
row <number>:
insert("R_")
insert(number)
key(right)
determine <user.letter>:
insert('\det ')
key(alt-m ( )
# user.keys_uppercase_letters(letter)
insert(user.formatted_text(letter, "all cap"))
edit.right()
determine:
insert('\det')
key(alt-m ()
#convenient way to denote vectors quickly
strong <user.letters>:
insert("\\mathbf ")
sleep(10ms)
insert(letters)
edit.right()
bold mode:
insert("\\mathbf ")
#Commands useful for taking notes in linear algebra
one to one: " 1-1 "
homogenous system:
key(ctrl-m)
insert("A")
key(alt-m v)
insert("x")
edit.right()
insert("=")
key(alt-m v)
insert("0")
edit.right()
edit.right()
linear system:
key(ctrl-m)
insert("A")
key(alt-m v)
insert("x")
edit.right()
insert("=")
key(alt-m v)
insert("b")
edit.right()
edit.right()
math transformation:
insert(' ')
key(ctrl-m)
insert("T:\\mathbb R ^n \\longrightarrow \\mathbb R ^m ")
#e.g. "m x n matrix"
<user.letter> by <user.letter>:
key(ctrl-m)
insert(letter_1)
insert("\\times ")
insert(letter_2)
edit.right()
edit.right()
insert(" ")
inner product:
insert("\\langle \\rangle ")
edit.left()
perpendicular:
insert("\\perp ")
superstar:
insert("^* ")