Files
cheatsheet-tldr/tldr/eqn
2025-07-31 00:21:38 +00:00

19 lines
578 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`