[Tex/LaTex] New line in code with no white space in output


I would like to put my \footnotes{} on a separate line in code, to make code easier to maintain and read. But I don't want any whitespace in between the foot note, and the preceeding word in the output. Is this possible?

Best Answer

Make it this way:

\footnote{footnote text}
more text

In other words set a percent sign directly after the word, where the footnote belongs to. See also What is the use of percent signs (%) at the end of lines?.

Related Question