In Texstudio's preamble section where I declare my packages, I have noticed that some of the texts are highlighted as orange.

There are no errors when compiling the document.

Can someone explain this curiosity?

enter image description here

  • 1
    Go to Options/Configure/Syntax Highlghting and you'll see why. These appear to be commands that texstudio doesn't recognize as latex commands.
    – JPi
    Jan 23, 2017 at 2:47

1 Answer 1


From FAQ: Why does TeXstudio mark a command as unrecognized

TXS checks all LaTeX commands in the document for validity. This helps you recognizing errors (typos and not loaded packages) already while typing. If a command is marked as unrecognized, TXS did not find a definition for it.

See the above link for more details.

  • But everything in the tex file loads file. no trouble.
    – Fraïssé
    Jan 26, 2017 at 20:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .