A simple LaTeX-to-PDF generator using custom intuitive syntax.
LuTex allows you to write LaTeX-like input in a text editor and convert it into a downloadable PDF. It communicates with a backend API that processes your content and returns a generated PDF file.
The console on the right side of the editor displays system messages such as:
LuTex uses a lightweight custom syntax that compiles into LaTeX commands before generating a PDF. Most commands follow the format \command(text), and some shortcuts map directly to LaTeX equivalents.
\section(text) → Section\sub(text) → Subsection\subsub(text) → Subsubsection\p(text) → Paragraph\sp(text) → Subparagraph\heading(text) → Custom section heading (mapped internally)\b(text) or \strong(text) → Bold\i(text) → Italic\u(text) → Underline\em(text) → Emphasis\code(text) or \tt(text) → Monospace / code\small(text) → Small text\large(text) → Large text\huge(text) → Huge text\list(...) → Bullet list (itemize)\enumerate(...) → Numbered list- item or -item syntax inside the block- is also mapped to \itemThe \math(...) block is used for mathematical expressions. Inside the block, you can write standard LaTeX-style math expressions, but without the need for full LaTeX document syntax.
+, -, *, /\frac(a,b) → renders as a/b in LaTeXa^2a_1\alpha, \beta, \gamma\math( a = b + c ) \math( E = mc^2 ) \math( \frac(a,b) = x^2 + y^2 ) \math( \alpha + \beta = \gamma ) \math( \frac(1,2) + \frac(3,4) )
Note: All expressions are parsed as a single math block. Multi-line alignment and advanced LaTeX environments (like align) may not be fully supported.
\list → itemize environment\enumerate → enumerate environment\center → centered block\section(Welcome to LuTex)
\p(This is a lightweight markup system designed to make writing structured documents simple and readable.)
\heading(Why use LuTex?)
\list(
- Clean, minimal syntax
- Easy to parse
- Fast to write
- No boilerplate
)
\heading(Text Styling)
\p(You can emphasize text using simple commands:)
\b(Bold text shows importance)
\strong(Strong text highlights critical information)
\large(Large text stands out for titles or key ideas)
\heading(Code Example)
\code(
function greet(name) {
console.log("Hello, " + name);
}
)
\heading(Math Support)
\math(
E = mc^2
)
\p(Inline expressions like a = b + c can be used for simple formulas.)
\heading(Layout Control)
\center(This text is centered for emphasis)
\p(That's it — simple, readable, and structured.)