GeneralCommenting a complete Paragraph

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Commenting a complete Paragraph

Post by pallav »

While typing the source file we sometimes want to make a comment which will not appear in the typeset version. For this we start the line with % and for this the whole line will be ignored during typesetting and not shown in the out put file.

A single % sometimes cannot ignore for the case of a long paragraph (with texts and equations). Instead of typing % at the start of each line of the paragraph, is there any alternative and easiest way to ignore the paragraph? If yes, how?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Commenting a complete Paragraph

Post by Stefan Kottwitz »

You could use the comment package or the verbatim package. Both provide environments to comment out whole paragraphs and more.

Stefan
LaTeX.org admin
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Re: Commenting a complete Paragraph

Post by pallav »

Thank you very much for your quick reply.
Post Reply