🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57796

latex: how to typeset program code?

#57796
From: Kent Tong
Date: Wed, 28 Aug 1996 00:00
9 lines
843 bytes
Hi,

I'm learning to use LaTeX to typeset some simple documents but
have no idea on how to typeset say a code segment written in
a programming language (with indentation). I'm not happy with 
the verbatim env. I want something that looks just like the 
handouts from the lecturer. Any LaTeX gurus out there who can 
help me out? TIA!
Technical Details
Message-ID: <32230CFC.609EFA4@wr.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,a24f35f58b67a9a5,start
X-Google-Attributes: gid102983,public
From: Kent Tong <freemant@wr.com.au>
Subject: latex: how to typeset program code?
Date: 1996/08/28
Message-ID: <32230CFC.609EFA4@wr.com.au>
X-Deja-AN: 176785023
distribution: inet
content-type: text/plain; charset=us-ascii
organization: TipTec Development
mime-version: 1.0
newsgroups: aus.computers.linux
x-mailer: Mozilla 3.0b5a (X11; I; Linux 1.2.13 i486)