Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsl!npn From: npn@cbnewsl.att.com (nils-peter.nelson) Newsgroups: comp.text Subject: Re: eqn and tbl Summary: DWB 3.1 documentation discusses equations in tables Keywords: DWB ditroff equations eqn tables tbl Message-ID: <1991Feb18.203318.2509@cbnewsl.att.com> Date: 18 Feb 91 20:33:18 GMT References: <16767@sdcc6.ucsd.edu> Organization: AT&T Bell Laboratories Lines: 37 In article <16767@sdcc6.ucsd.edu>, bruno@sdcc10.ucsd.edu (Bruce W. Mohler) writes: > How many times has this question been asked? > > This is relative to [di]troff, tbl, and eqn (as part of the DWB). > > Does anyone have any examples of incorporating equations (eqn) > into tables (tbl) that they could send me? > > I haven't found any examples anywhere (I've checked the DWB > documentation, I've checked the Dougherty and O'Reilly book, > etc.). I've tried inline equations (without success). > The DWB 3.1 tbl documentation says: When eqn and tbl are used together on the same file, tbl should be used first. There are all kinds of caveats, and some examples. But that would be telling. Here's part of an example, though: .EQ delim $$ .EN .TS doublebox; cB cB 1 1. .sp 2p Name Definition .vs +2p Gamma $GAMMA (z)~=~int sub 0 sup inf t sup {z-1} e sup -t dt$ etc. .TE So, at least it can be done.