🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #175

Re: LaTeX: \verb has problems...

#175
From: leichter
Date: Mon, 02 Nov 1992 15:56
33 lines
1721 bytes
In article <1992Oct30.195554.3513@news.stolaf.edu>,
johnsonm@lars.acc-admin.stolaf.edu (Michael K. Johnson) writes:
| 
| I have a problem with \verb.  I have a file with this section,
| enclosed in an enumerate environment, in a \documentstyle[11pt]{report}:
| 
| \framebox{
| 
| [Irrelevent stuff omitted]
| Print()} \verb+"\n"+.  So if your call used to be:
| [Irrelevent stuff omitted]
| }
| 
| [This results in an error message]
|
| This should not be happening, should it?  I have spent 5 hours playing
| with this trying to fix it, and reading the LaTeX manual over and
| over, and I just don't see what I am doing wrong.

Please read a bit more carefully.  At the top of page 96, the first item
of the itemized list says:

	A ... \verb command may not appear within the argument of any
	other command.

You are within the argument of \framebox.

Even if you got around this, I think you'd find putting a minipage in a frame-
box doesnt' work properly anyway.  Trying using the boxedminipage style file
and environment, available from a LaTeX archive site near you (if your system
doesn't already have a copy).  (And even if it does, I suppose.  :-) )

							-- Jerry
Technical Details
Message-ID: <1992Nov2.105618.1@zodiac.rutgers.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!sun-barr!rutgers!igor.rutgers.edu!zodiac.rutgers.edu!leichter
References: <1992Oct30.195554.3513@news.stolaf.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!sun-barr!rutgers!igor.rutgers.edu!zodiac.rutgers.edu!leichter
From: leichter@zodiac.rutgers.edu
Newsgroups: comp.text.tex
Subject: Re: LaTeX: \verb has problems...
Message-ID: <1992Nov2.105618.1@zodiac.rutgers.edu>
Date: 2 Nov 92 15:56:18 GMT
References: <1992Oct30.195554.3513@news.stolaf.edu>
Sender: news@igor.rutgers.edu
Organization: Rutgers University Department of Computer Science
Lines: 33
Nntp-Posting-Host: cancer.rutgers.edu