عکس aligrudi
An eqn preprocessor for NeatroffC
موضوع‌ها
۱
فورک‌ها
۶
ستاره‌ها
۸
تاریخ ایجاد
۲۲ فروردین ۱۳۹۳
آخرین بروزرسانی
۲ ماه قبل

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 )}$.