# PlainTeX

PlainTeX is the first and simplest TeX Dialect. Original TeX compiler only
supports 256 registers used by PlainTeX. LuaTeX supports 65536 however PlainTeX
cannot use them.

`main.tex`:

```tex
Hello, \TeX!
$$\sum_{n = 1}^\infty{1\over{n^2}} = {\pi^2\over6}$$

\bye
```

```sh
lx add -b luatex
lx shell --build
luatex main.tex
```

![luatex](https://github.com/user-attachments/assets/47ab4ca2-1fd1-48b1-8016-7a322bbbdb32)
