Sublime Forum

LaTeX newcommand

#1

I am evaluating Sublime Text – I just downloaded it a couple of hours ago. It will be used for editing plain text and LaTeX files. So far I like it, but there is one problem: in a LaTeX file, all the \newcommand and \renewcommand entries are red, as if they are not valid. It compiles just fine, but why is this happening and what can I do about it?

0 Likes

#2

Various special commands are assigned dedicated scopes to make them stand out in a latex document. \newcommand is one of them. It is scoped storage.modifier, which default color scheme (Mariana) assigns a redish color to.

grafik

0 Likes