TeX Wizard
AI-powered LaTeX document authoring and PDF rendering tool. Describe your document in plain English and let the AI generate, compile, and iteratively refine a professional PDF β no LaTeX knowledge required.
TeX Wizard Example Sessions
TeX Wizard Documentation
# π TeX Wizard
> **Transform your rough notes into publication-ready, beautifully typeset LaTeX documents effortlessly.**
Welcome to **TeX Wizard**, your AI-powered companion for document creation and PDF rendering! Whether you need to craft an academic paper, a formal report, a resume, or detailed mathematical notes, TeX Wizard turns plain descriptions into professionally styled PDFsβwithout requiring you to master complex formatting code.
---
## β¨ Why TeX Wizard?
Creating polished, professional documents usually means wrestling with typesetting rules, complex markup, and compiler setup. TeX Wizard bridges that gap:
* **Plain Language to Professional PDF:** Describe what you want in simple notes, and let AI generate clean, valid LaTeX code for you.
* **Intelligent Document Review:** Built-in AI vision checks your rendered PDF for visual flaws and automatically suggests targeted improvements.
* **Full Creative Control:** Fine-tune style directives, tweak raw LaTeX directly if you prefer hands-on editing, or let the AI handle revisions automatically.
* **Instant Feedback Loop:** Live PDF previews and interactive build logs ensure you always know exactly how your document looks and compiles.
---
## π Getting Started
Getting started with TeX Wizard is easy! Follow these simple steps to build your first document:
### Step 1: Set Up Your Inputs π
1. **Notes:** In the **Notes** box, type or paste the text and structure you want in your document. Describe headings, equations, lists, tables, or key points.
2. **Style Directives (Optional):** Want a specific document layout? Use the **Style Directives** box to specify preferences like font size, layout (e.g., article or report), color schemes, or specific packages.
3. **Model Selection:** Choose your preferred AI models in the top toolbar (Smart Model for complex rendering, Fast Model for updates, and Image Model for visual OCR review).
---
### Step 2: Run the Magic Pipeline βοΈ
Follow the numbered step-by-step pipeline to bring your document to life:
1. **1 Β· Render TeX**
Click **βΆ Render** to generate your LaTeX code (`doc.tex`) directly from your notes and style directives.
2. **2 Β· Build PDF**
Click **π¨ Build** to compile your generated LaTeX into a high-quality `doc.pdf`. Once compiled, your document will appear in the **Output** preview panel.
3. **4 Β· Review OCR (Automated Visual QA)**
Click **π Review** to have AI inspect the rendered PDF for formatting issues, layout misalignments, or structural improvements. It automatically generates detailed revision suggestions in your **Update Notes**.
4. **3 Β· Update TeX**
Click **βοΈ Update** to apply the revision instructions from your **Update Notes** directly to your document source, then rebuild the PDF to see the improvements!
---
### Step 3: Inspect & Export Your Output π
* **Direct Editing:** View and tweak the generated code in the **doc.tex** card at any time. Click **πΎ Save** or press `Ctrl+S` (`Cmd+S` on Mac) to keep your changes.
* **Download TeX:** Export the raw `.tex` file using the **β¬ Download** button for use in offline LaTeX editors or distribution.
* **Preview & Open PDF:** Check out your live preview directly in the browser or click **β¬ Open** to open `doc.pdf` in a dedicated browser tab for printing or downloading.
---
## π‘ Pro Tips for Best Results
* **Keyboard Shortcut:** Press `Ctrl+S` (or `Cmd+S` on Mac) anywhere in the application to instantly save all open text editors.
* **Auto-Save:** Your notes and settings automatically save as you type, so you never have to worry about losing progress.
* **Iterative Polish:** Run **Review OCR** and **Update TeX** repeatedly to continuously refine formatting and design aesthetics until your document looks perfect.
* **Build Logs:** If a compilation encounters an issue, check the **π Build Log** card for helpful details and error diagnostics.
---
Happy typesetting with **TeX Wizard**! πβ¨