SlixTeX
SlixTeX — TeX editing based on LyX for VS Code.
Install
In VS Code or Cursor, open the Extensions view, click … › Install from VSIX… and choose the SlixTeX .vsix file.
SlixTeX edits .tex files. A TeX distribution is enough to build them; LyX is not needed.
With Remote-SSH, install the TeX distribution on the remote machine.
Start
- Right-click a
.tex file and choose Open in SlixTeX.
- Build the PDF with ▷ in the editor's title bar (Ctrl+Alt+B).
- PDF previews use your default PDF viewer inside VS Code, just like opening a PDF from the Explorer. This follows your PDF editor association, including LaTeX Workshop or another installed viewer.
- Select text, right-click and choose Send to Codex or Send to Claude Code (Alt+K) to hand the selected source lines to the OpenAI Codex or Claude Code extension's chat; SlixTeX saves the file first. The chosen extension must be installed.
Autocomplete
A Codestral API key (from Mistral) is strongly recommended for autocompletion.
Choose Tools > AI Suggestions While Typing… > Codestral FIM (recommended) and enter a Mistral API key. SlixTeX uses codestral-latest automatically, with the text and LaTeX on both sides of the caret. Keys are kept in VS Code’s secret storage. Existing Copilot, OpenAI-compatible and Anthropic options remain available and existing selections are preserved.
When suggestions are on, the text around the cursor is sent to the service you chose, using your own account or key. Your use of that service is governed by its provider's terms.
License
Copyright (C) 2026 the SlixTeX authors. SlixTeX is based on LyX, Copyright (C) 1995 Matthias Ettrich, (C) 1995-2025 the LyX Team.
SlixTeX is free software under the GNU General Public License. SlixTeX's own code and the parts based on LyX are licensed under version 2 or any later version; the extension package as a whole, which also contains PDF.js, is distributed under version 3 or any later version. It comes with absolutely no warranty. The full terms are in the LICENSE file installed with the extension.
Fonts, spelling dictionaries, LyX layout files and bundled libraries keep their own licenses (SIL Open Font License 1.1, GPL, LGPL, MIT, ISC, BSD-style, Apache License 2.0); see THIRD_PARTY_NOTICES.md. SlixTeX contains no AI model. It is not affiliated with or endorsed by the LyX Team, Microsoft, GitHub, Mistral AI, OpenAI, Anthropic or Google.
Source code
The complete source code of this release is bundled inside the VSIX at source/slixtex-R0.0.2-source.zip. A VSIX file is a ZIP archive: open it with any ZIP tool to extract the source archive.
Note: Most of SlixTeX's code was written by AI models, Claude Opus 5.5, Claude Fable 5.1 and Astra GPT-6, under the creator's direction. SlixTeX is provided as is, without any warranty, and the creator takes no responsibility for any problem its use may cause, including lost or damaged documents. Use it at your own risk and keep backups of your files.