Commenting in LaTeX

Post date: 24-Nov-2009 19:00:10

In LaTeX, as in any programming language, it is useful to write comments.

In order to write a line comment, use the per.cent sign (%), and anything you write after it wouldn't be taken in account by the compiler.

If you want to comment a large number of adjacent lines, use the environment comment

\begin{comment}

....<here goes your commented text> ...

\end{comment}

Enjoy!