🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3906

Re: ewenvironment in LaTeX

#3906
From: Tom Hofmann
Date: Thu, 30 Jul 1987 07:56
22 lines
1309 bytes
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
Technical Details
Message-ID: <453@cgcha.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!mcvax!cernvax!cgcha!wtho
References: <311@crin.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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