Dotfiles V.1.2.0
This commit is contained in:
@@ -913,16 +913,19 @@ local limit = s(
|
||||
{ trig = "lim", desc = "Limit" },
|
||||
fmt(
|
||||
[[
|
||||
\lim_{{{} \to {}}} {}
|
||||
\lim{}{}
|
||||
]],
|
||||
{
|
||||
i(1, "Lower Limit"),
|
||||
i(2, "Higher Limit"),
|
||||
c(1, { t(""), sn(nil, { t("_{"), i(1), t("\\to"), i(2), t("}") }) }),
|
||||
i(0),
|
||||
}
|
||||
)
|
||||
),
|
||||
{
|
||||
condition = math,
|
||||
show_condition = math,
|
||||
}
|
||||
)
|
||||
table.insert(snippets, limit)
|
||||
table.insert(autosnippets, limit)
|
||||
|
||||
local root = s(
|
||||
{ trig = "rt", desc = "Root" },
|
||||
@@ -1262,6 +1265,24 @@ local sit = s(
|
||||
)
|
||||
table.insert(autosnippets, sit)
|
||||
|
||||
local int = s(
|
||||
{ trig = "\\int", desc = "Integral" },
|
||||
fmt(
|
||||
[[
|
||||
\int{}{}
|
||||
]],
|
||||
{
|
||||
c(1, { t(""), sn(nil, { t("_{"), i(1), t("}^{"), i(2), t("}") }) }),
|
||||
i(0),
|
||||
}
|
||||
),
|
||||
{
|
||||
condition = math,
|
||||
show_condition = math,
|
||||
}
|
||||
)
|
||||
table.insert(autosnippets, int)
|
||||
|
||||
local snin = s(
|
||||
{ trig = "nin", regTrig = true, desc = "Set no in" },
|
||||
fmt(
|
||||
@@ -1461,6 +1482,36 @@ table.insert(autosnippets, polynomial)
|
||||
|
||||
-- Greek Letters --
|
||||
|
||||
local nabla = s(
|
||||
{ trig = "nabla", regTrig = true, desc = "nabla" },
|
||||
fmt(
|
||||
[[
|
||||
\nabla
|
||||
]],
|
||||
{}
|
||||
),
|
||||
{
|
||||
condition = math,
|
||||
show_condition = math,
|
||||
}
|
||||
)
|
||||
table.insert(autosnippets, nabla)
|
||||
|
||||
local par = s(
|
||||
{ trig = "par", desc = "partial" },
|
||||
fmt(
|
||||
[[
|
||||
\partial
|
||||
]],
|
||||
{}
|
||||
),
|
||||
{
|
||||
condition = math,
|
||||
show_condition = math,
|
||||
}
|
||||
)
|
||||
table.insert(autosnippets, par)
|
||||
|
||||
local degree = s(
|
||||
{ trig = "deg", desc = "degree" },
|
||||
fmt(
|
||||
|
||||
Reference in New Issue
Block a user