🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #5846

Re: Miscellaneous TeX questions

#5846
From: Ashwin Ram
Date: Sun, 12 Feb 1989 16:07
19 lines
1441 bytes
In article <50292@yale-celray.yale.UUCP>, horne-scott@CS.Yale.EDU (Scott Horne) writes:
> 2) I'm taking 2 courses in computer science & therefore need to include
> programs and fragments of code in my TeX documents. [...]
>                        So I must use `\beginlines' and also insert `| ... |'
> around every line!

LaTeX provides an environment called "verbatim".  Everything between
\begin{verbatim} and \end{verbatim} appears as typed in typewriter font.
LaTeX also provides a \verb|...| macro which is useful for in-line verbatim
text, but verbatim is probably what you need for your application.

Look at latex.tex to see how these are defined.

> 3) I write telephone numbers in the following manner:  203 436-1756.
> How should I do that in TeX?  `203~436--1756'?

Seems reasonable.

-- Ashwin.
Technical Details
Message-ID: <50398@yale-celray.yale.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lanl!cmcl2!yale!Ram-Ashwin
References: <50292@yale-celray.yale.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lanl!cmcl2!yale!Ram-Ashwin
From: Ram-Ashwin@cs.yale.edu (Ashwin Ram)
Newsgroups: comp.text,yale.tex-users
Subject: Re: Miscellaneous TeX questions
Keywords: fonts, typewriter type,....
Message-ID: <50398@yale-celray.yale.UUCP>
Date: 12 Feb 89 16:07:01 GMT
References: <50292@yale-celray.yale.UUCP>
Sender: root@yale.UUCP
Reply-To: Ram-Ashwin@cs.yale.edu (Ashwin Ram)
Organization: Computer Science, Yale University, New Haven, CT 06520-2158
Lines: 19
In-reply-to: horne-scott@CS.Yale.EDU (Scott Horne)