From 14f4d4af81a1d3d5fa21294a149e9a0018767e42 Mon Sep 17 00:00:00 2001 From: xiejianglei Date: Thu, 11 Jan 2024 12:17:31 +0800 Subject: [PATCH] modify the latex order. for example: from \sum^{#}_{#} to\sum^{#}_{#} --- src/provider/latex_provider.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/provider/latex_provider.ts b/src/provider/latex_provider.ts index 157a06f..fdcf1ac 100644 --- a/src/provider/latex_provider.ts +++ b/src/provider/latex_provider.ts @@ -469,7 +469,7 @@ function generateDefaultLatexCommands(): Suggestion[] { Suggestion.fromString("\\infty"), Suggestion.fromString("\\injlim"), Suggestion.fromString("\\int"), - Suggestion.fromString("\\int^{#}_{#}"), + Suggestion.fromString("\\int_{#}^{#}"), Suggestion.fromString("\\intercal"), Suggestion.fromString("\\intop"), Suggestion.fromString("\\iota"), @@ -737,7 +737,7 @@ function generateDefaultLatexCommands(): Suggestion[] { Suggestion.fromString("\\prescript{#}{#}{#}"), Suggestion.fromString("\\prime"), Suggestion.fromString("\\prod"), - Suggestion.fromString("\\prod^{#}_{#}"), + Suggestion.fromString("\\prod_{#}^{#}"), Suggestion.fromString("\\projlim"), Suggestion.fromString("\\propto"), Suggestion.fromString("\\psi"), @@ -843,7 +843,7 @@ function generateDefaultLatexCommands(): Suggestion[] { Suggestion.fromString("\\succnsim"), Suggestion.fromString("\\succsim"), Suggestion.fromString("\\sum"), - Suggestion.fromString("\\sum^{#}_{#}"), + Suggestion.fromString("\\sum_{#}^{#}"), Suggestion.fromString("\\sup"), Suggestion.fromString("\\supset"), Suggestion.fromString("\\Supset"),