Fix Problem in LaTeX Comment Package

Includes PGF, TikZ, PSTricks, and platforms/distributions: Kile, TeXstudio, TeXmaker, TeXnicCenter, MiKTeX, LyX
Post Reply
User avatar
Eli
Senior Expert Member
Reactions: 183
Posts: 5334
Joined: 9 years ago
Location: Tanzania
Has thanked: 75 times
Been thanked: 88 times
Contact:

#1

Adding the package "comment" as \usepackage{comment} in the .tex file, may not work as expected in some LaTeX distributions when you want to comment some parts of the text as:

  1. \begin{comment} Don't display this text \end{comment}


The application of the comment package above may not work or raise an exception,

Excluding 'comment' comment.
! Bad space factor (0).
<recently read> \@savsf


or related error messages. Fix this problem by making sure

the \begin{comment} and \end{comment} are in their own lines with nothing else on those lines.
0
TSSFL -- A Creative Journey Towards Infinite Possibilities!
Post Reply

Return to “LaTeX and MathJax”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests