Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!cernvax!cgcha!wtho From: wtho@cgcha.UUCP (Tom Hofmann) Newsgroups: comp.text Subject: Re: ewenvironment in LaTeX Message-ID: <453@cgcha.UUCP> Date: Thu, 30-Jul-87 03:56:52 EDT Article-I.D.: cgcha.453 Posted: Thu Jul 30 03:56:52 1987 Date-Received: Sat, 1-Aug-87 15:57:01 EDT References: <311@crin.UUCP> Distribution: world Organization: CIBA-GEIGY AG, FO/WIRZ/WRZ, CH-4002 Basel, Switzerland Lines: 22 in article <311@crin.UUCP>, masini@crin.UUCP (Gerald MASINI) says: > > I'm now just a beginner (no more absolute) with LaTeX, and I would like to > define an environment of my own, including some verbatim. Something like > that: > > ------------------------------------------------------------------------ > \newenvironment{myenv}{\begin{verbatim}}{\end{verbatim}} > ... I suppose you find the solution on page 66 of the LaTeX book: o A verbatim environment ... may not appear within an argument of any other command. In your case the verbatim environment is the argument of the command \newenvironment, and that's why it doesn't work. Tom Hofmann uucp: ...!cernvax!cgcha!wtho CIBA-GEIGY AG Scientific Computer Center Basel, Switzerland