- - - By CrazyStat - - -

12. June 2012

LaTeX: multiline comments

Filed under: Uncategorized — Tags: , , , — Christopher Kramer @ 23:26

You often want to out-comment some stuff while writing a LaTeX document very quickly, and LaTeX does only offer single-line comments out of the box:

% This is a comment
% This is the next line

Of course this can get a lot of work if you do this manually for a lot of lines. There might be editors that ease this, but I just found a very easy way to achieve multiline-comments using the verbatim package:


You can now just have multiline comments like this:

This is a comment
This is the next line

Very easy. I knew there had to be a package for that. I was just too lazy to search for it up to now.


Try my Open Source PHP visitor analytics script CrazyStat.

1 Comment »

  1. […] […]

    Pingback by LaTeX: multiline comments | τσαδημας αργυρης — 12. September 2014 @ 15:24

RSS feed for comments on this post. TrackBack URL

Leave a comment