Sublime Forum

Help understanding the behaviour of $ when using LaTeXTools?


The $ symbol is used to go into enter/leave math mode in LaTeX. I have noticed the following funny behaviour:

Why would the second $ appear when I close the first $?



Cannot reproduce that. If you have auto_match_enabled set to true in ST preferences, the double $ sign should appear already when you enter the first one, and then you just type math between them. If auto_match_enabled is false, then it shouldn’t double automatically, neither on the first occurrence nor on the second one. Try changing auto_match_enabled and see what happens.