0
votes
0answers
29 views

Are % comments passed on to the PDF-file upon *.tex compilation? [duplicate]

Are % comments passed on to the PDF-file upon *.tex compilation? Can they be found/recovered in the PDF code? MWE: \documentclass[11pt]{article} \title{\textbf{Hello World !}} \usepackage{lipsum} ...
53
votes
3answers
2k views

When and why should I use % !TEX TS-program and % !TEX encoding?

Occasionally, I see other people's documents starting with two lines like that: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode It's clear to me that the first line declares the engine ...
9
votes
2answers
1k views

'Dummy' LaTeX environment

I have a big LaTeX file which I would like to compile so that certain environments like figure are not shown. To that end I wanted to make use of the renewenvironment command. But the facilities of ...