LaTeX
LaTeX is the most popular TeX Dialect. It can use all LuaTeX registers, which means you can create a bigger document than PlainTeX.
main.tex:
\documentclass{article} \begin{document} Hello, \LaTeX! $$\sum_{n = 1}^\infty\frac1{n^2} = \frac{\pi^2}{6}$$ \end{document}
lx add -b lualatex
lx shell --build
lualatex main.tex
LaTeX require some required packages. You can install them by yourself.
- amscls: AMSLaTeX contains some documentclasses and packages for mathematics.
- babel-base: multilanguages
- latex-cyrillic: cyrillic alphabet fonts.
- latex-graphics: graphics and colours.
- psnfss: WIP
- latex-tools: tables.
Some packages are recommended: