🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #305

Re: Monospace in TeX/LaTeX

#305
From: Douglas Miller
Date: Wed, 12 Jul 1989 16:45
21 lines
1386 bytes
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. At
> the moment I do this by defining a new (LaTeX) tabbing environment 

> (2)  The single space between each colon and the following 'word' gets
>      expanded to what looks like something between 1.5 and 2 spaces.
>      Why is this happening? And what can be done about it? (This is also
>      happening with 'c ! e' and 'c ? v'.

Sounds like end of sentence space is being inserted. \frenchspacing will fix
this, or better still...

> (1)  There must be an easier way of doing this, and I'd appreciate it if
>      you could let me in on the secret;

...use the verbatim environment.  This will enable you to insert program
fragments unmodified from the program source.

I like to use a modified version of verbatim that sets \tt in 10pt with
\baselineskip=10pt (the main text is standard 12pt roman).
Technical Details
Message-ID: <683@csv.viccol.edu.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ames!lll-winken!uunet!murtoa.cs.mu.oz.au!viccol!dougcc
References: <955@diemen.cc.utas.oz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ames!lll-winken!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: <683@csv.viccol.edu.au>
Date: 12 Jul 89 16:45:19 GMT
References: <955@diemen.cc.utas.oz>
Organization: Computer Services, Victoria College, Melbourne
Lines: 21