Skip to content

Commit 2502f24

Browse files
cristobaltapialpil
authored andcommitted
fix(tex): inline math should use \(...\) instead of $...$.
Also, I changed the snippet to `$$` which is easier to trigger and is related to the snippet.
1 parent 526d79d commit 2502f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UltiSnips/tex.snippets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ snippet DD "D" w
309309
\mathbb{D}
310310
endsnippet
311311

312-
snippet im "Inline Math" w
313-
$${1}$
312+
snippet $$ "Inline Math" iA
313+
\\(${1}\\) $0
314314
endsnippet
315315

316316
snippet dm "Display Math" w

0 commit comments

Comments
 (0)