This question already has an answer here:

I've seen many LaTeX Code Snippets like this one here

            \rule[-1cm]%offset PageBorder

where most line endings - if not all - are escaped with %. I don't understand the reason, as % marks (per definition) text, which will not interpreted by the compiler. So What is the reason, people escape their line endings?

marked as duplicate by toogley, Steven B. Segletes, Community May 2 '16 at 15:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Just after starting my question, I've found this question, which answers my question. Sorry.

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