GeneralCommand for Comment not recognized

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
dragonfly
Posts: 2
Joined: Tue Jun 26, 2007 6:07 am

Command for Comment not recognized

Post by dragonfly »

Hi everybody.

For some reason the \comment directive is not recognized. When I use it, I get the following error:

Code: Select all

Runaway argument?
! File ended while scanning use of \next.
<inserted text> 
                \par 
l.48 \input{testpage}
Any help is appreciated.

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: 10347
Joined: Mon Mar 10, 2008 9:44 pm

Command for Comment not recognized

Post by Stefan Kottwitz »

It's not a standard command. Comments are made with %.

You could use the comment package. But then the syntax is

Code: Select all

\begin{comment}
...
\end{comment}
since it's an environment.

Stefan
LaTeX.org admin
Post Reply