Path: 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 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 | grep % -- Walt Brainerd Unicomp, Inc. brainerd@unmvax.cs.unm.edu 2002 Quail Run Dr. NE Albuquerque, NM 87122 505/275-0800