Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AI LaTeX HelperNew to Visual Studio Code? Get it now.
AI LaTeX Helper

AI LaTeX Helper

abd-dev

|
127 installs
| (1) | Free
VS Code extension for automatic LaTeX generation from natural language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI LaTeX Helper

License GitHub Issues Last Commit

The AI LaTeX Helper is a VS Code extension that turns plain English descriptions of math into LaTeX equations using Google Generative AI. Perfect for students, researchers, and writers, it simplifies creating LaTeX without needing to remember the syntax.

Demo

Note

To use the AI LaTeX Helper, follow these steps:

  1. Obtain a Google Cloud API key from Google AI Studio.
  2. Open the command palette (Ctrl+Shift+P) and run "abd-dev: Set Gemini API Key" to securely set your API key.
  3. Ensure you are inside $...$ in Markdown files or Markdown cells in Jupyter notebooks to receive LaTeX equation suggestions.

Features

  • Markdown Support: Works with Markdown files as markdown cells in ipython notebooks.
  • Real-Time LaTeX Suggestions: As you type, the extension provides instant LaTeX suggestions for mathematical expressions.
  • Intelligent AI-Powered Conversion: Uses Google's Generative AI to accurately convert natural language into LaTeX.
  • Inline Suggestions: Displays LaTeX suggestions in a small dropdown menu, allowing you to quickly insert equations just by pressing tab or enter.
  • Customizable Debounce Delay: Adjust the delay for real-time suggestions to suit your typing speed.

Requirements

  • A stable internet connection is required to use the AI LaTeX Helper extension.
  • You must have a Google Cloud API key to use the extension. You can get one at Google AI Studio.

Extension Settings

  • abd-dev.geminiApiKey: API key for Google Generative AI (set through command palette)
  • abd-dev.geminiModel: Model to use for code generation
  • ai-latex-helper.debounceDelay: Delay in milliseconds before triggering LaTeX suggestions
  • ai-latex-helper.enabled: Enable or disable LaTeX AI suggestions

Commands

To access the commands, press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the command palette and type:

  • Set Gemini API Key: abd-dev: Set Gemini API Key
  • Convert Selection to LaTeX: ai-latex-helper.convertToLaTeX
  • Toggle LaTeX AI Suggestions: ai-latex-helper.toggleAILaTeXHelper

Key Bindings

  • Convert Selection to LaTeX: Ctrl+Alt+L (Windows/Linux), Cmd+Alt+L (Mac)
  • Toggle LaTeX AI Suggestions: Ctrl+Alt+T (Windows/Linux), Cmd+Alt+T (Mac)

Contributing

If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.

Repository

The source code for this extension is available on GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft