LuaLaTeX online

Compile LuaLaTeX online in your browser, with Lua running inside the typesetting pass and OpenType fonts picked by name.

First page of the LuaLaTeX example, compiled with LuaLaTeX

Open in LaTeX.to Download the example (zip)

How to compile with LuaLaTeX on LaTeX.to

Everything runs in your browser: nothing to install, no login, no compile timeout.

What LuaLaTeX is

LuaLaTeX is the LuaTeX engine with the LaTeX format loaded. LuaTeX embeds Lua, a small scripting language, inside TeX: wherever the document says \directlua, the code runs in the middle of the typesetting pass and whatever it prints is set on the page. Around that it is a Unicode engine like XeLaTeX, loading OpenType fonts by name through fontspec and writing the PDF directly.

The example on this page computes its list of square numbers and the sum from one to a hundred with a four-line loop. None of those numbers is in the source.

When to use it

LuaLaTeX vs pdfLaTeX vs XeLaTeX

The long version, with fonts, speed and how to move a document over, is on pdfLaTeX vs XeLaTeX vs LuaLaTeX.

More engines: pdfLaTeX, XeLaTeX, LaTeX, LaTeX (dvipdfmx) and all engines. Compare: pdfLaTeX vs XeLaTeX vs LuaLaTeX.