Can I create "sections" in a .tex document that compilation will ignore, but will be reflected in the structure of the document, as displayed in texmaker to the left of the window?
When I write a .tex document with Texmaker (windows) and I use the commands \section or \subsection, this is reflected on the left side of the window: there is a list of all sections, subsection, subsubsections etc... This list is extremely useful for navigation within a document. Can I have a list like this show up while using texmaker, that will be ignored by the compiling process?
I need it for easy browsing and better orientation within the document.
My solution at the moment is very primitive: I use the standard \section command, and once I'm done writing the text, I place % signs in front of the sections I want Latex to ignore.
Edit I've noticed today that sometimes texmaker still displays %\section{whatever} as a real section in the sidebar, but I'm not sure wether it's a bug or a feature, and I don't know what triggered it, nor what turned it off eventually.
Edit-->Refresh Structureto get the updated the Structure – texenthusiast Aug 08 '13 at 23:18commentpackage, and saying\begin{comment}\section{I'm not here}\end{comment}, though that is a bit cumbersome. – Torbjørn T. Aug 09 '13 at 07:08