LaTeX Editor
Sciorex includes a fully integrated LaTeX editor with real-time PDF preview, designed for researchers who write academic papers alongside their code. No external tools required — compile, preview, and iterate without leaving the IDE.
Live PDF Preview
The editor provides a seamless writing experience with instant visual feedback.
| Feature | Description |
|---|---|
| Side-by-side editing | Editor and PDF preview panels displayed simultaneously |
| Auto-compile on save | PDF regenerates automatically when you save the .tex file |
| Bidirectional SyncTeX | Click in the PDF to jump to source, or click in source to jump to the PDF location |
TIP
SyncTeX navigation works across multi-file projects. Click a paragraph in the PDF and the editor will open the correct \input file at the corresponding line.
Compilation Engines
Sciorex supports three LaTeX compilation engines to cover the full range of document requirements.
| Engine | Best For |
|---|---|
| pdflatex | Standard documents, fastest compilation, broad package compatibility |
| xelatex | Unicode text, system fonts, multilingual documents |
| lualatex | Advanced font features, Lua scripting, complex typographic needs |
INFO
Sciorex automatically detects your installed TeX distribution (TeX Live, MiKTeX, or MacTeX) and configures the compilation pipeline accordingly. No manual path configuration needed.
Editor Features
The LaTeX editor is built on a full language-aware foundation with deep understanding of TeX syntax.
- 90+ command autocomplete — Context-aware suggestions for LaTeX commands, environments, and package-specific macros
- 30+ math commands — Dedicated completions for math mode including symbols, operators, and environments
- Hover docs for 600+ commands — Inline documentation appears on hover, showing syntax, parameters, and usage examples
- Document outline — Hierarchical view of sections, subsections, labels, and figures for quick navigation
- Go-to-definition — Jump to
\label,\newcommand,\ref, and\citetargets instantly - Real-time diagnostics — Errors and warnings from the compiler surfaced inline as you type
- Code folding — Collapse sections, environments, and comment blocks to focus on the current area
Quick-Insert Templates
Speed up document creation with 16+ ready-to-use templates accessible from the command palette or toolbar.
| Category | Templates |
|---|---|
| Math | Inline equation, display equation, aligned equations, matrix, cases |
| Floats | Figure, subfigure, table, algorithm |
| Structure | Theorem, lemma, proof, definition, corollary |
| Code | Code listing block, inline code |
| Other | Custom template insertion |
TIP
The symbol palette provides point-and-click insertion for Greek letters, mathematical operators, arrows, and other special symbols without memorizing command names.
Publication Templates
Start new papers from 30+ publication-ready templates organized across five categories.
| Category | Templates |
|---|---|
| Academic Papers | NeurIPS, ICML, CVPR, ICLR, AAAI, EMNLP, ACL |
| IEEE | IEEE Conference, IEEE Journal, IEEE Transactions |
| ACM | ACM SIGPLAN, ACM SIGCHI, ACM Computing Surveys |
| Professional Journals | Nature, Science, Springer LNCS, Elsevier, PLOS ONE |
| Thesis | PhD Thesis, Master's Thesis, Undergraduate Thesis, Book |
WARNING
Templates include the correct document class, formatting, and bibliography style for each venue. Always verify against the latest official style files before final submission.
Multi-File Projects
Large documents benefit from splitting content across multiple files. Sciorex handles this natively.
- Full support for
\input{}and\include{}commands - Automatic main file detection based on
\documentclasspresence - Cross-file autocomplete for labels, citations, and custom commands
- Compilation always starts from the detected (or manually set) main file
BibTeX Integration
The LaTeX editor connects directly to your Sciorex Reference Library for citation management.
- Reference Library integration — Your entire library is available as a citation source
- Auto-generated BibTeX —
.bibfiles are generated and kept in sync with your library collections - Citation insertion —
\cite{}autocomplete pulls from your library with fuzzy search by author, title, or key - Supports
natbib,biblatex, and standardbibtexworkflows
AI Integration via MCP
The following MCP tools enable AI agents to interact with the LaTeX editor programmatically.
| Tool | Description |
|---|---|
latex_compile | Trigger compilation with a specified engine and return the output log |
latex_get_errors | Retrieve current compilation errors and warnings with file and line locations |
latex_insert_citation | Insert a \cite command at the cursor position using a library reference key |
latex_insert_template | Insert a quick-insert template (equation, figure, table, etc.) at the cursor |
INFO
These tools allow AI assistants to help you fix compilation errors, insert properly formatted citations, and scaffold document sections — all through natural language requests in the chat.
Settings
| Setting | Options | Default |
|---|---|---|
| Default engine | pdflatex, xelatex, lualatex | pdflatex |
| Auto-compile | On save, on delay (2s), manual only | On save |
| SyncTeX | Enabled / Disabled | Enabled |
| PDF zoom | Fit width, fit page, 50%–300% | Fit width |
| Diagnostics | Errors only, errors + warnings, all | Errors + warnings |
| Line numbers | Show / Hide | Show |
| Word wrap | On / Off | On |
Related
- Reference Library — Manage sources and generate citations
- PDF Viewer — View and annotate compiled output
- MCP Servers — Full list of AI-accessible tools
- Split Panels — Side-by-side editor and preview layouts
