Add doom config to repo
This commit is contained in:
10
config/doom/snippets/latex-mode/sum.yasnippet
Normal file
10
config/doom/snippets/latex-mode/sum.yasnippet
Normal file
@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: sum
|
||||
# key: sum
|
||||
# --
|
||||
\sum\limits${1:$(when (> (length yas-text) 0) "_")
|
||||
}${1:$(when (> (length yas-text) 1) "{")
|
||||
}${1:i=0}${1:$(when (> (length yas-text) 1) "}")
|
||||
}${2:$(when (> (length yas-text) 0) "^")
|
||||
}${2:$(when (> (length yas-text) 1) "{")
|
||||
}${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
|
Reference in New Issue
Block a user