PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : probleme mit comment paket



uwerothfeld
10-11-2010, 13:53
Hallo zusammen,

ich moechte dass comment Paket nutzen, um Textteile ein und auszublenden, habe dabei aber zwei Probleme:

1) Meine Umgebung, definiert auf Basis von comment geht nicht.
2) Wie steuere ich den die Ein- bzw. Ausblendung?

Mein Bsp:



\documentclass{article}

\usepackage{comment}
\newenvironment{loesung}{\begin{comment}}{\end{com ment}}

\begin{document}
Bla blas?
\begin{loesung}
\begin{itemize}
\item adjakdjsakdj
\item adasd
\item asdsda
\end{itemize}
\end{loesung}
\end{document}


Der Fehler ist:


Runaway argument?
! File ended while scanning use of \next.
<inserted text>
\par
<*> blatt_02.tex

I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Emergency stop.
<*> blatt_02.tex

*** (job aborted, no legal \end found)


Jemand einen Tipp? Danke.
uwe

u_fischer
11-11-2010, 09:14
Die Dokumentation ist direkt am Anfang von comment.sty.