artisticat1 / obsidian-latex-suite

Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
MIT License
1.43k stars 56 forks source link

[FEATURE] Insert space after some symbols #346

Open Captainbleu opened 3 weeks ago

Captainbleu commented 3 weeks ago

Description of the Problem

Discussed in https://github.com/artisticat1/obsidian-latex-suite/discussions/337 Greater/less than/equal, to, ln, log, trig... symbols automatically default to a subscript for the following number

Description of the Solution

Update src/default_snippets.js {trigger: "\\\\(${MORE_SYMBOLS}|${SYMBOL})(.)", replacement: "\\[[0]] [[1]]", options: "rmA"} add mid, lt, gt, le, ge and trigs fonctions to src/default_snippet_variables.js