🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #697

Re: Mathematics in Tables with Troff

#697
From: Murray Maloney
Date: Thu, 31 Aug 1989 14:26
43 lines
1643 bytes
In article <315@unmvax.unm.edu> brainerd@unmvax.unm.edu (Walt Brainerd) writes:
>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 %


Make that three things:

3.  The tbl global options line in this case should read

    center delim(%%);

Tbl must be informed that it may encounter eqn input.

********************************************************************************
Murray C. Maloney		uucp:		{utai|utzoo|uunet}!sq!murray
Documentation Specialist	Internet:	murray@sq.com
SoftQuad Inc.			Phone:		(416) 963-8337
Technical Details
Message-ID: <1989Aug31.142644.26076@sq.sq.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!lsuc!sq!murray
References: <1989Aug30.170333.6938@tessera.uucp> <315@unmvax.unm.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!lsuc!sq!murray
From: murray@sq.sq.com (Murray Maloney)
Newsgroups: comp.text
Subject: Re: Mathematics in Tables with Troff
Message-ID: <1989Aug31.142644.26076@sq.sq.com>
Date: 31 Aug 89 14:26:44 GMT
References: <1989Aug30.170333.6938@tessera.uucp> <315@unmvax.unm.edu>
Reply-To: murray@sq.com (Murray Maloney)
Organization: SoftQuad Inc., Toronto
Lines: 43