4

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 '13 at 17:27
  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – barbara beeton Aug 1 '13 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 '13 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? – Torbjørn T. Aug 5 '13 at 19:07
  • A restart of the studio turned things back to normal. Thanks everybody!! – Hammad Aug 6 '13 at 10:55
7

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.

| improve this answer | |
  • 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. – Underdetermined May 26 '15 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.