GalacTex: Large Language Models for Overleaf is a Chrome extension that brings LLM-assisted writing directly into the Overleaf editor, helping you draft and refine LaTeX faster without leaving your project. It connects Overleaf to a self-hosted backend (GalacTex-Server) that runs the Galactica large language model, enabling AI-powered completions while keeping infrastructure under your control. The project is inspired by and built on ideas from GPT4Overleaf and LeafLLM, adapting them into a workflow focused on practical LaTeX editing.
Once installed, you configure the extension with your server endpoint and choose the tools and generation settings you want to use. From inside Overleaf, you can trigger completions with keyboard shortcuts: press Alt+C to generate an auto-completion at the cursor, or Alt+Shift+C to generate a completion based on selected text. This makes it useful both for continuing a paragraph or equation and for expanding a partially written block into a more complete LaTeX structure.
GalacTex is designed for people who write technical documents and want a faster way to produce consistent LaTeX—whether that means finishing sentences in an introduction, generating boilerplate environments, drafting tables, or completing math-heavy sections. Because the model runs on a server you host, you can tune the deployment to your privacy and performance requirements, and you can adjust generation parameters to match your preferred style and level of verbosity. more
Comments