TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Texmaker is it possible to assign a tex document as main document such that its structure is always opened in the structure windows? currently when I click on a tex document in the windows, it opened the tex document, at the same time the structure windows display the structure of the newly opened tex document rather than the original one.

share|improve this question
up vote 6 down vote accepted

Options -> "Define Current Document as Master document".

And with one click or with the shortcut ctrl+shift+F2, you can toggle between the "master document" (with it's structure) and the current document :

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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