forked from mrob95/mathfly-talon
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
lyx.talon
121 lines (114 loc) · 3.76 KB
/
lyx.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
111
112
113
114
115
116
117
118
119
120
121
app: lyx
app: LyX.exe
app: LyX2.3.exe
app: LyX for Windows
-
tag(): user.maths
add matrix row: user.lyx_control_sequence("m", "w i")
(delete | remove) matrix row: user.lyx_control_sequence("m", "w d")
add matrix column: user.lyx_control_sequence("m", "c i")
(delete | remove) matrix column: user.lyx_control_sequence("m", "c d")
square root: user.lyx_control_sequence("m", "s")
generic root: user.lyx_control_sequence("m", "r")
brackets: user.lyx_control_sequence("m", "(")
square brackets: user.lyx_control_sequence("m", "[")
curly brackets: user.lyx_control_sequence("m", "{")
angle brackets: user.lyx_control_sequence("m", "<")
absolute: user.lyx_control_sequence("m", "|")
accent hat: user.lyx_control_sequence("m", "h")
accent tilde: user.lyx_control_sequence("m", "&")
accent dot: user.lyx_control_sequence("m", ".")
accent double dot: user.lyx_control_sequence("m", "\"")
accent bar: user.lyx_control_sequence("m", "-")
accent vector: user.lyx_control_sequence("m", "v")
blank summation: "\\sum "
summation:
insert("\\stackrelthree ")
key(down)
insert("\\sum ")
key(down)
blank product: "\\prod "
product:
insert("\\stackrelthree ")
key(down)
insert("\\prod ")
key(down)
blank limit: "\\lim "
limit:
insert("\\underset \\lim ")
key(down)
label above: "\\overset "
label below: "\\underset "
prime: user.maths_superscript("\\prime ")
degrees: user.maths_superscript("\\degrees ")
exponential:
insert("\\exp ")
user.lyx_control_sequence("m", "(")
expectation:
insert("E")
user.lyx_control_sequence("m", "(")
variance:
insert("Var")
user.lyx_control_sequence("m", "(")
#
real numbers:
insert("\\mathbb R")
key(right)
complex numbers:
insert("\\mathbb C")
key(right)
integer numbers:
insert("\\mathbb Z")
key(right)
rational numbers:
insert("\\mathbb Q")
key(right)
natural numbers:
insert("\\mathbb N")
key(right)
text roman: "\\mathrm "
text bold: "\\mathbf "
text sans serif: "\\mathsf "
text italic: "\\mathit "
text typewriter: "\\mathtt "
text (beebee|blackboard bold | blackboard): "\\mathbb "
#
# Program control
#
new file: key(ctrl-n)
open file: key(ctrl-o)
save as: key(ctrl-shift-s)
(math | maths) mode: user.lyx_control_sequence("m", "m")
display mode: key(ctrl-shift-m)
normal mode: user.lyx_control_sequence("p", "s")
view PDF: key(ctrl-r)
update PDF: key(ctrl-shift-r)
next tab: key(ctrl-pgdown)
(prior | previous) tab: key(ctrl-pgup)
close tab: key(ctrl-w)
move line up: key(alt-up)
move line down: key(alt-down)
#
insert (in line formula | in line): user.lyx_control_sequence("i", "h i")
insert (numbered formula): user.lyx_control_sequence("i", "h n")
insert (display formula | display): user.lyx_control_sequence("i", "h d")
insert equation array: user.lyx_control_sequence("i", "h e")
#
insert [bulleted] list: user.lyx_control_sequence("p", "b")
insert numbered list: user.lyx_control_sequence("p", "e")
insert description: user.lyx_control_sequence("p", "d")
insert part: user.lyx_control_sequence("p", "0")
insert (section | heading): user.lyx_control_sequence("p", "2")
insert sub (section | heading): user.lyx_control_sequence("p", "3")
insert sub sub (section | heading): user.lyx_control_sequence("p", "4")
insert paragraph: user.lyx_control_sequence("p", "5")
insert sub paragraph: user.lyx_control_sequence("p", "6")
insert title: user.lyx_control_sequence("p", "t")
insert author: user.lyx_control_sequence("p", "shift-a")
insert date: user.lyx_control_sequence("p", "shift-d")
insert abstract: user.lyx_control_sequence("p", "a")
insert address: user.lyx_control_sequence("p", "alt-a")
insert bibliography: user.lyx_control_sequence("p", "shift-b")
insert quotation: user.lyx_control_sequence("p", "alt-q")
insert quote: user.lyx_control_sequence("p", "q")
insert verse: user.lyx_control_sequence("p", "v")