xref: /original-bsd/old/eqn/USD.doc/eqnguide/g5 (revision 35d77a20)
%sccs.include.proprietary.roff%

@(#)g5 6.2 (Berkeley) 04/17/91

.SC "Use on UNIX"

To print a document that contains mathematics on the C UNIX typesetter,

1 eqn files | troff

2 If there are any C TROFF options, they go after the C TROFF part of the command. For example,

1 eqn files | troff -ms

2

A compatible version of C EQN can be used on devices like teletypes and C DASI and C GSI terminals which have half-line forward and reverse capabilities. To print equations on a Model 37 teletype, for example, use

1 neqn files | nroff

2 The language for equations recognized by C NEQN is identical to that of C EQN, although of course the output is more restricted.

To use a C GSI or C DASI terminal as the output device,

1 neqn files | nroff -Tx

2 where .ul x is the terminal type you are using, such as .ul 300 or .ul 300S.

C EQN and C NEQN can be used with the C TBL program[2] for setting tables that contain mathematics. Use C TBL before C [N]EQN , like this:

1 tbl files | eqn | troff tbl files | neqn | nroff

2 .SC "Acknowledgments"

We are deeply indebted to J. F. Ossanna, the author of C TROFF , for his willingness to extend C TROFF to make our task easier, and for his continuous assistance during the development and evolution of C EQN . We are also grateful to A. V. Aho for advice on language design, to S. C. Johnson for assistance with the C YACC compiler-compiler, and to all the C EQN users who have made helpful suggestions and criticisms.

References

[1]
J. F. Ossanna, C NROFF/TROFF `` User's Manual'', Bell Laboratories Computing Science Technical Report #54, 1976.
[2]
M. E. Lesk, ``Typing Documents on C UNIX '', Bell Laboratories, 1976.
[3]
M. E. Lesk, C TBL `` \(em A Program for Setting Tables'', Bell Laboratories Computing Science Technical Report #49, 1976.