🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #694

Mathematics in Tables with Troff

#694
From: Henry McGilton -- Software Produ...
Date: Thu, 31 Aug 1989 18:32
47 lines
1883 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
	>

And in article <315@unmvax.unm.edu>,
    brainerd@unmvax.unm.edu (Walt Brainerd), writes (quite correctly):

    * 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 %

You also might want to change tbl's options line to read:

	center delim(%%) ;

so that  tbl  knows about the delimiters that  eqn  is using
for in-line equations.


+------------------+------------------------+---------------------------+
| Henry McGilton   | I saw the future,      | arpa: hmcgilton@sun.com   |
| Sun Microsystems | and it didn't work.    | uucp: ...!sun!angel!henry |
| Mt. View, CA     |                        |                           |
+------------------+------------------------+---------------------------+
Technical Details
Message-ID: <124033@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!angel!henry

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!angel!henry
From: henry%angel@Sun.COM (Henry McGilton -- Software Products)
Newsgroups: comp.text
Subject: Mathematics in Tables with Troff
Keywords: eqn, tbl, troff, mathematics, tables
Message-ID: <124033@sun.Eng.Sun.COM>
Date: 31 Aug 89 18:32:35 GMT
Sender: news@sun.Eng.Sun.COM
Distribution: usa
Lines: 47