Being a newbie to LaTeX, while adding a new page to an existing Latex template using TeXstudio some sections of the document turned red in the Structure Pane. Kindly someone may explain the reason behind and potential consequence if any.

  • 4
    What do you mean by in the Structure Pane? What editor are you using?
    – Sigur
    Aug 1, 2013 at 17:27
  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Aug 1, 2013 at 17:33
  • @Sigure Sorry for not mentioning it earlier, I am using TeXstudio and there is a Panel on left side which displays the structure of document.
    – Hammad
    Aug 2, 2013 at 14:54
  • The only thing I can find is that sections are coloured if they are part of the appendix. Have you added \appendix before these sections? Aug 5, 2013 at 19:07
  • A restart of the studio turned things back to normal. Thanks everybody!!
    – Hammad
    Aug 6, 2013 at 10:55

1 Answer 1


Adding a new section to the TeXStudio would highlight all other sections that are affected by the change. E.g. Adding a numbered section would red highlight existing numbered sections in the document. A restart of the studio will display it as usual.

P.S. It was kind of silly question, but may help other fools like me.

  • i found this very useful, thanks. One point to add: if you have subfiles in TexStudio and just recently added them, compiling while this subfile is active will give all errors associated with not being a complete document. Once I restarted TeXStudio as per your suggestion it correctly associated the open main document to be compiled. May 26, 2015 at 5:33

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.