Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!mailrus!ames!uhccux!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!diemen!tasis!ben From: ben@tasis.utas.oz.au@munnari.oz (Ben Lian) Newsgroups: comp.text Subject: Re: Monospace in TeX/LaTeX Message-ID: <957@diemen.cc.utas.oz> Date: 15 Jul 89 05:31:44 GMT References: <955@diemen.cc.utas.oz> <9600@alice.UUCP> <1192@atanasoff.cs.iastate.edu> Sender: root@diemen.cc.utas.oz Organization: Elec Eng & Comp Sci, Uni of Tasmania, Australia Lines: 40 In article <1192@atanasoff.cs.iastate.edu> jwright@atanasoff.cs.iastate.edu.UUCP (Jim Wright) writes: >In article <9600@alice.UUCP> debra@alice.UUCP () writes: >| In article <955@diemen.cc.utas.oz> ben@tasis.utas.oz.au@munnari.oz (Ben Lian) writes: >| ?I am trying to typeset some program fragments in typewriter style. >| >| I use the "verbatim" environment. > >Other possibilities are the "alltt" environment style option and using >the "tgrind" program. Actually, I do know about the verbatim environment (don't have tgrind though). The reason for my original posting was that I did not (and still do not) know how to change margins within an environment. Ideally, I would like to use verbatim, but with the left margin increased by \mathindent (2.5em I think). No change to right margin. And here's another question: How can I draw a box around a figure? Tried \framebox but it keeps keeling over with a message about not being in outer par mode, or something like that. Ben Lian ----------------------------------------------------------------------- Benjamin Y H Lian ACSnet: ben@tasis.utas.oz Dept. of EE & CS ARPA : ben%tasis.utas.oz.au@uunet.uu.net University of Tasmania BITnet: munnari!tasis.utas.oz!ben@ GPO Box 252C uunet.uu.net Hobart, Tasmania 7001 UUCP : {enea,hplabs,mcvax,uunet,ukc}! A U S T R A L I A munnari!tasis.utas.oz!ben Tel: +61-02-202380 Fax: +61-02-202713 ----------------------------------------------------------------------- "Fortunately the computer virus did no harm to our records. It was immediately devoured by all the bugs in our programming." -- Cartoon, CW Australia