Skip to content

aligrudi/neateqn

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 )}$.