szcf-weiya / techNotes

My notes about tech (Linux/R/Julia/Python/Cpp/etc.)
https://tech.hohoweiya.xyz/
11 stars 7 forks source link

wrong highlighter of latex in atom #12

Closed szcf-weiya closed 2 years ago

szcf-weiya commented 3 years ago

problematic sentence: image where \DoP and \ldots are not correctly treated as latex commands, and hence also be marked as wrong grammar by spell-check.

At first glance, I suspect this is due to spell-check, then I tried to add more excluded scope as stated in https://tech.hohoweiya.xyz/Linux/software/#spell-check, but I cannot find such scope, and tried others which will also escape the original tex.

Then I found that even without spell-check, this issue still exists, so it is NOT due to spell-check.

Accidently, I found that just put it on the newline, the issue would be solved, and note that the newline in tex does not create a new line in the resulting pdf. image

szcf-weiya commented 2 years ago

outdated: no longer use atom.