commit 8839473a66870b4babab93b752e47d69cabcee05
parent 2abaf8305c3451e690c3a499cb28d53a3bb5fdf1
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 27 Aug 2022 13:21:38 +0200
vim: snippet for cite with author should also include numeric cite
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/vim/ultisnips/tex.snippets b/vim/ultisnips/tex.snippets
@@ -249,6 +249,11 @@ endsnippet
snippet tc "Cite (text)" w
\textcite{$1}$0
endsnippet
+
+snippet ca "Cite with author" w
+\citeauthor{$1} \cite{$1}$0
+endsnippet
+
# }}}
# Math {{{