eqn

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

Install

All systems
curl cmd.cat/eqn.sh
Debian Debian
apt-get install groff-base
Ubuntu
apt-get install groff-base
Arch Arch Linux
pacman -S plan9port
image/svg+xml Kali Linux
apt-get install groff-base
CentOS
yum install groff-base
Fedora
dnf install groff-base
Windows (WSL2)
sudo apt-get update sudo apt-get install groff-base
OS X
brew install plan9port
Raspbian
apt-get install groff-base

Equation preprocessor for the groff (GNU Troff) document formatting system. See also troff and 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

© tl;dr; authors and contributors