An eqn preprocessor for Neatroff
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
box.c
def.c
eqn.c
eqn.h
reg.c
sbuf.c
src.c
tok.c

README

NEATEQN
=======

Neateqn is an eqn Neatroff preprocessor for typesetting mathematics.
It implements most of the extensions introduced by Groff's eqn
preprocessor.  More information about Neateqn and Neatroff is
available at http://litcave.rudi.ir/.

The following lines instruct Neateqn to use Computer Modern font for
brackets and radicals:

  .fp 11 CMSY CMSY10
  .fp 12 CMEX CMEX10
  .fspecial R CMSY CMEX

You can also redefine other symbols to use Computer Modern glyphs,
like those for summation and product:

  .EQ
  define sum @{vcenter roman "\N'summationdisplay'"}@
  define tsum @{vcenter roman "\N'summationtext'"}@
  define prod @{vcenter roman "\N'productdisplay'"}@
  define tprod @{vcenter roman "\N'producttext'"}@
  .EN

Neateqn uses TeX's text styles for inline equations, which make inline
equations more compact.  However, it does not provide smallover, which
is available in Groff's eqn.  Instead, in neateqn one can define a
more general macro like the following:

  .EQ
  define small @size -4@
  .EN

Which can be used as $tsum sub i=0 sup n small {left ( pile {n above i} right )}$.