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