Eqn vs LaTeX

2017-01-17 12:14:30 -0700

Take the LaTeX code:

-1 \cdot \frac{1}{n}}\cup \{-1, \frac{1}{n}\}

Do you know what this means?

Not only that, TeX by itself takes up 338.8 MB!

Eqn

-1 cdot 1 over n union left { -1 , 1 over n right } 

How’s that for readability!

This is eqn: a math preprocessor on the layout engine groff. By the same metric, groff takes up 8 MB.

And it works I promise!

Even if the math is nonsensical, isn’t it pretty!

Links

You might already have groff/eqn on your machine! If not, take a look here.

This repo is my template for a simple eqn/groff project. Here’s what the pdf looks like.

Lastly, there is documentation for a groff macro system, and an in-depth guide for eqn!

Charles, etc