🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4405

Re: How can I get a varbatim that _does_ execute the imbedded commands

#4405
From: Chris Torek
Date: Sun, 14 Feb 1988 00:39
16 lines
1235 bytes
In article <1069@uop.edu> exodus@uop.edu (G.Onufer) writes:
>I am new to TeX and I am starting out with LaTeX ....  Is there a way
>of having verbatim but have it execute the commands within
>(ie.  \tt + carriage returns + imbedded italics and boldface) ???

Stop thinking of this as `verbatim' (clearly it is not!) and the
solution becomes obvious.  Tell LaTeX to use \tt, obey line
breaks (but see the suggestion in The LaTeXbook as to why not),
and obey spaces.  In Plain TeX (my LaTeX is uncertain):

	{\tt \obeyspaces \obeylines
	text...}
-- 
In-Real-Life: Chris Torek, Univ of MD Computer Science, +1 301 454 7163
(hiding out on trantor.umd.edu until mimsy is reassembled in its new home)
Domain: chris@mimsy.umd.edu		Path: not easily reachable
Technical Details
Message-ID: <2294@umd5.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!umd5!trantor.umd.edu!chris
References: <1069@uop.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!umd5!trantor.umd.edu!chris
From: chris@trantor.umd.edu (Chris Torek)
Newsgroups: comp.text
Subject: Re: How can I get a varbatim that _does_ execute the imbedded commands
Message-ID: <2294@umd5.umd.edu>
Date: 14 Feb 88 00:39:52 GMT
References: <1069@uop.edu>
Sender: ris@umd5.umd.edu
Reply-To: chris@trantor.umd.edu (Chris Torek)
Distribution: na
Organization: University of Maryland, College Park
Lines: 16