joeyuping / quick_latex_obsidian

MIT License
327 stars 21 forks source link

Using escaped underscore \_ without autobracketing for a subscript. #127

Open abhmul opened 5 months ago

abhmul commented 5 months ago

I have a common use case in my notation to use an underscore symbol. The way to type this is with a \_. When I do this, Quick Latex reads it as if I'm adding a subscript to a variable and automatically completes it to \_{}.

Can a small fix be added to ignore autobracketing of subscripts if the underscore is preceded by a backslash? The autobracketing is extremely useful when I do indeed intend to write a subscript, so it's not something I want to turn off.

This is not a serious issue, as putting nothing in the brackets still renders the underscore correctly.