From 86ec85e9627e31ff0fce0ae9e813489193678710 Mon Sep 17 00:00:00 2001 From: Sergio Fenoll Date: Mon, 26 Oct 2020 14:33:19 +0100 Subject: [PATCH] Set paren-based math mode delimiters correctly --- src/components/vue-mathjax.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/vue-mathjax.vue b/src/components/vue-mathjax.vue index b6e629e..0bb77e3 100644 --- a/src/components/vue-mathjax.vue +++ b/src/components/vue-mathjax.vue @@ -41,8 +41,8 @@ export default { if (window.MathJax) { window.MathJax.Hub.Config({ tex2jax: { - inlineMath: [['$', '$'], ['(', ')']], - displayMath: [['$$', '$$'], ['[', ']']], + inlineMath: [['$', '$'], ['\\(', '\\)']], + displayMath: [['$$', '$$'], ['\\[', '\\]']], processEscapes: true, processEnvironments: true },