Questions tagged [magic-comment]

Comments of the form % !TEX ... that can be used as directives in many tex editors

Magic comments are comments of the form % !TEX ... that can be used as directives in many tex editors, for example to specify (from within the document body) the root document, which tex engine should be used, the encoding, the language for spell checking etc.

An overview which editors support which magic comments can be found in the answer https://tex.stackexchange.com/a/84687/36296

11 questions
1
vote
0 answers

is there a reference of %!TeX directives?

Well, can't find if this has been asked here before, and failing to found good answer with search engines (I tried only with Qwant and DuckDuckGo.) Is there somewhere a good and complete reference somewhere on these % !TeX directives put at the top…
gildux
  • 487