🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #349

Re: Monospace in TeX/LaTeX

#349
From: Douglas Miller
Date: Thu, 20 Jul 1989 00:42
24 lines
1519 bytes
In article <957@diemen.cc.utas.oz>, ben@tasis.utas.oz.au@munnari.oz
(Ben Lian) writes:
> 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.

Verbatim is defined as follows

   \def\verbatim{\@verbatim \frenchspacing\@vobeyspaces \@xverbatim}

Changing this to:

   \def\verbatim{\advance\@totalleftmargin by \mathindent
      \@verbatim \frenchspacing\@vobeyspaces \@xverbatim}

in a style option file might do the trick.

> 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.

   I would think you need to put your figure into a box before you frame it.
Technical Details
Message-ID: <810@csv.viccol.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!murtoa.cs.mu.oz.au!viccol!dougcc
References: <955@diemen.cc.utas.oz> <9600@alice.UUCP> <1192@atanasoff.cs.iastate.edu> <957@diemen.cc.utas.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!murtoa.cs.mu.oz.au!viccol!dougcc
From: dougcc@csv.viccol.edu.au (Douglas Miller)
Newsgroups: comp.text
Subject: Re: Monospace in TeX/LaTeX
Message-ID: <810@csv.viccol.edu.au>
Date: 20 Jul 89 00:42:08 GMT
References: <955@diemen.cc.utas.oz> <9600@alice.UUCP> <1192@atanasoff.cs.iastate.edu> <957@diemen.cc.utas.oz>
Organization: Computer Services, Victoria College, Melbourne
Lines: 24