[Tex/LaTex] \input – \return-command

input

I'm looking for a command like \return with which I can manually exit a TeX file, which is included by \input.

(At the end of my TeX file are some notices, which I sometimes want to print, sometimes not.)

Best Answer

Use \endinput. Everything after it will be ignored.

Related Question