diff options
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^')
-rw-r--r-- | Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ new file mode 100644 index 0000000..9edfb61 --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/latex-mode/int_^ @@ -0,0 +1,9 @@ +# key: int +# name: int_^ +# -- +\int${1:$(when (> (length yas-text) 0) "_") +}${1:$(when (> (length yas-text) 1) "{") +}${1:left}${1:$(when (> (length yas-text) 1) "}") +}${2:$(when (> (length yas-text) 0) "^") +}${2:$(when (> (length yas-text) 1) "{") +}${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
\ No newline at end of file |