1
Fork 0

Fixed latex invalid abbreviations

This commit is contained in:
Matei Adriel 2022-10-13 01:33:24 +02:00
parent a6fb4ffbb2
commit c330e2819d
3 changed files with 6 additions and 7 deletions
dotfiles/neovim/ftplugin

View file

@ -17,7 +17,6 @@ local abbreviations = {
{ "Delta", "\\Delta" },
{ "pi", "\\pi" },
{ "psi", "\\psi" },
{ "psi", "\\psi" },
{ "alpha", "\\alpha" },
{ "beta", "\\beta" },
{ "theta", "\\theta" },
@ -105,8 +104,9 @@ local abbreviations = {
{ "smul", "\\times" },
{ "texpl", "&& \\text{}" },
{ "card", "\\#" },
{ "div", "|" },
{ "ndiv", "\\not|\\:" },
{ "div", "\\|" },
{ "ndiv", "\\not\\|\\:" },
-- words
{ "rref", "reduced row echalon form" }
@ -117,7 +117,5 @@ local abolishAbbreviations = {
{ "ib{p,s}", "integration by {parts,substitution}" }
}
AB.abolishMany(abolishAbbreviations)
A.manyLocalAbbr(abbreviations)
AB.abolishMany(abolishAbbreviations)