🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #682

Re: Mathematics in Tables with Troff

#682
From: Walt Brainerd
Date: Thu, 31 Aug 1989 01:09
34 lines
1308 bytes
In article <1989Aug30.170333.6938@tessera.uucp>, jtc@tessera.uucp (J.T. Conklin) writes:
> Is it possible to set equations in table in eqn/tbl/troff?
> I've tried the following with unsatisfactory results:
> 
>     .EQ
>     delim %%
>     .EN
>     .TS
>     center;
>     c s
>     l l.
>     Geometric Measurements
>     _
>     % pi r sup 2 %	area of a circle
>     % 2 pi d %	circumference of a circle
>     _
>     .TE
> 
Two things to watch out for.

1.  Make sure you put it thru tbl first (before eqn).
It worked fine on my system.

2.  Make sure you use a symbol for the eqn delim that is not
generated by tbl (as a funny register name, for example).
This can be tested by running:

       tbl <file> | grep %

-- 
Walt Brainerd  Unicomp, Inc.           brainerd@unmvax.cs.unm.edu
               2002 Quail Run Dr. NE
               Albuquerque, NM 87122
               505/275-0800
Technical Details
Message-ID: <315@unmvax.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!mailrus!ncar!unmvax!brainerd
References: <1989Aug30.170333.6938@tessera.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!mailrus!ncar!unmvax!brainerd
From: brainerd@unmvax.unm.edu (Walt Brainerd)
Newsgroups: comp.text
Subject: Re: Mathematics in Tables with Troff
Summary: tbl first
Message-ID: <315@unmvax.unm.edu>
Date: 31 Aug 89 01:09:48 GMT
References: <1989Aug30.170333.6938@tessera.uucp>
Organization: University of New Mexico at Albuquerque
Lines: 34