def: vertically centre int
[neateqn.git] / README
blobb3e5c4738abe0ea33ddaa23af1748ba26d9f7a66
1 NEATEQN
2 =======
4 Neateqn is an eqn preprocessor for neatroff.  It implements most of
5 the extensions introduced by Groff's eqn preprocessor.  Neateqn,
6 neatroff and neatpost are available at http://litcave.rudi.ir/.
8 For using Computer Modern font in neateqn for brackets and radicals,
9 you first need to create troff font description files for neatroff
10 using the mktrfn program (you shall need the Type 1 version of
11 Computer Modern, which is available in most TeX distributions).  Then,
12 you can add these lines in your troff source (assuming the default eqn
13 roman font has not been changed with grfont command):
15   .fp 11 cmsy10 cmsy10
16   .fp 12 cmex10 cmex10
17   .fspecial R cmsy10 cmex10
19 You can also redefine other symbols to use Computer Modern glyphs,
20 like those for summation and product:
22   .EQ
23   define sum @{vcenter roman "\N'summationdisplay'"}@
24   define tsum @{vcenter roman "\N'summationtext'"}@
25   define prod @{vcenter roman "\N'productdisplay'"}@
26   define tprod @{vcenter roman "\N'producttext'"}@
27   .EN
29 Neateqn uses TeX's text styles for inline equations, which make inline
30 equations more compact.  However, it does not provide smallover, which
31 is present in Groff's eqn.  A better solution, which would work for
32 anything and not just fractions, would be using a macro like this:
34   .EQ
35   define small @size -4@
36   .EN
38 which can be used as $tsum sub i=0 to n small {left ( pile {n above i} right )}$.