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 '17 at 2:47

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.