More latex stuff
This commit is contained in:
parent
1544c7725c
commit
b7672414dd
|
@ -1,7 +1,7 @@
|
|||
local arpeggio = require("my.plugins.arpeggio")
|
||||
local A = require("my.abbreviations")
|
||||
|
||||
print("Initializing nix keybinds...")
|
||||
print("Initializing purescript keybinds...")
|
||||
|
||||
-- Use vt to test
|
||||
arpeggio.chordSilent("n", "vt", ":VimuxRunCommand \"clear && spago test\"<CR>",
|
||||
|
|
|
@ -53,6 +53,8 @@ local abbreviations = {
|
|||
{ "dhx", "h'(x)" },
|
||||
|
||||
-- Basic commands
|
||||
{ "creq", "\\\\&=" },
|
||||
{ "aeq", "&=" },
|
||||
{ "leq", "\\leq" },
|
||||
{ "geq", "\\geq" },
|
||||
{ "sdiff", "\\setminus" },
|
||||
|
|
|
@ -153,6 +153,11 @@
|
|||
"description": "Create a limit as a variable goes to negative infinity",
|
||||
"body": "\\lim _{$1 \\to -\\infty}$0"
|
||||
},
|
||||
"Limit to zero": {
|
||||
"prefix": "zlim",
|
||||
"description": "Create a limit as a variable goes to 0",
|
||||
"body": "\\lim _{$1 \\to 0}$0"
|
||||
},
|
||||
"Sqrt": {
|
||||
"prefix": "sqrt",
|
||||
"description": "Create a sqrt",
|
||||
|
@ -227,5 +232,21 @@
|
|||
"prefix": "maligned",
|
||||
"description": "Create an aligned display math environment",
|
||||
"body": ["\\[", "\t\\begin{aligned}", "\t\t$0", "\t\\end{aligned}", "\\]"]
|
||||
},
|
||||
"System of equations": {
|
||||
"prefix": "eqsystem",
|
||||
"description": "Create a system of equations",
|
||||
"body": [
|
||||
"\\left\\{",
|
||||
"\t\\begin{array}{rl}",
|
||||
"\t\t$0",
|
||||
"\t\\end{array}",
|
||||
"\\right\\\\\\}"
|
||||
]
|
||||
},
|
||||
"Aligned equation": {
|
||||
"prefix": "aleq",
|
||||
"description": "Aligned equation",
|
||||
"body": ["\\\\\\ $1 &= $2", "$0"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue