HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

eqn — Equation preprocessor for the groff (GNU Troff) document formatting system. See also: `troff`, `grof

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thegroffcommandequationclieqnforpreprocessor

Problem

How to use the eqn command: Equation preprocessor for the groff (GNU Troff) document formatting system. See also: troff, groff. More information: <https://manned.org/eqn>.

Solution

eqn — Equation preprocessor for the groff (GNU Troff) document formatting system. See also: troff, groff. More information: <https://manned.org/eqn>.

Process input with equations, saving the output for future typesetting with groff to PostScript:
eqn {{path/to/input.eqn}} > {{path/to/output.roff}}


Typeset an input file with equations to PDF using the [me] macro package:
eqn -T {{pdf}} {{path/to/input.eqn}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}

Code Snippets

Process input with equations, saving the output for future typesetting with groff to PostScript

eqn {{path/to/input.eqn}} > {{path/to/output.roff}}

Typeset an input file with equations to PDF using the [me] macro package

eqn -T {{pdf}} {{path/to/input.eqn}} | groff -{{me}} -T {{pdf}} > {{path/to/output.pdf}}

Context

tldr-pages: common/eqn

Revisions (0)

No revisions yet.