README: make the instructions for CM fonts more concise
[neateqn.git] / README
blob929a8b4f882863b6ce13f17ce76babecd6edb143
1 NEATEQN
2 =======
4 Neateqn is an eqn Neatroff preprocessor for typesetting mathematics.
5 It implements most of the extensions introduced by Groff's eqn
6 preprocessor.  More information about Neateqn and Neatroff is
7 available at http://litcave.rudi.ir/.
9 The following lines instruct Neateqn to use Computer Modern font for
10 brackets and radicals:
12   .fp 11 CMSY CMSY10
13   .fp 12 CMEX CMEX10
14   .fspecial R CMSY CMEX
16 You can also redefine other symbols to use Computer Modern glyphs,
17 like those for summation and product:
19   .EQ
20   define sum @{vcenter roman "\N'summationdisplay'"}@
21   define tsum @{vcenter roman "\N'summationtext'"}@
22   define prod @{vcenter roman "\N'productdisplay'"}@
23   define tprod @{vcenter roman "\N'producttext'"}@
24   .EN
26 Neateqn uses TeX's text styles for inline equations, which make inline
27 equations more compact.  However, it does not provide smallover, which
28 is available in Groff's eqn.  Instead, in neateqn one can define a
29 more general macro like the following:
31   .EQ
32   define small @size -4@
33   .EN
35 Which can be used as $tsum sub i=0 sup n small {left ( pile {n above i} right )}$.