Skip to content

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.

FeatureDescription
Side-by-side editingEditor and PDF preview panels displayed simultaneously
Auto-compile on savePDF regenerates automatically when you save the .tex file
Bidirectional SyncTeXClick 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.

EngineBest For
pdflatexStandard documents, fastest compilation, broad package compatibility
xelatexUnicode text, system fonts, multilingual documents
lualatexAdvanced 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 \cite targets 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.

CategoryTemplates
MathInline equation, display equation, aligned equations, matrix, cases
FloatsFigure, subfigure, table, algorithm
StructureTheorem, lemma, proof, definition, corollary
CodeCode listing block, inline code
OtherCustom 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.

CategoryTemplates
Academic PapersNeurIPS, ICML, CVPR, ICLR, AAAI, EMNLP, ACL
IEEEIEEE Conference, IEEE Journal, IEEE Transactions
ACMACM SIGPLAN, ACM SIGCHI, ACM Computing Surveys
Professional JournalsNature, Science, Springer LNCS, Elsevier, PLOS ONE
ThesisPhD 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 \documentclass presence
  • 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.bib files 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 standard bibtex workflows

AI Integration via MCP

The following MCP tools enable AI agents to interact with the LaTeX editor programmatically.

ToolDescription
latex_compileTrigger compilation with a specified engine and return the output log
latex_get_errorsRetrieve current compilation errors and warnings with file and line locations
latex_insert_citationInsert a \cite command at the cursor position using a library reference key
latex_insert_templateInsert 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

SettingOptionsDefault
Default enginepdflatex, xelatex, lualatexpdflatex
Auto-compileOn save, on delay (2s), manual onlyOn save
SyncTeXEnabled / DisabledEnabled
PDF zoomFit width, fit page, 50%–300%Fit width
DiagnosticsErrors only, errors + warnings, allErrors + warnings
Line numbersShow / HideShow
Word wrapOn / OffOn

Sciorex is proprietary software.