General ⇒ Comment environment
Comment environment
I have a problem with the comment command. Specifically, the \begin{comment}....\end{comment} does not seem to work for me even with the simplest preamble:
\documentclass[a4paper,11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[latin1]{inputenc}
The error I get is: LaTeX Error: environment comment undefined.
Does anyone have a clue?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Comment environment

Re: Comment environment
thank you for your reply. Nevertheless, just found another way out. This environment can also be used with the verbatim package in the preamble. But a better way that I googled (void of many or new packages) is the following:
\newcommand{\comments}[1]{}
So, with: \comments{abcde....} the text is commented out.