Overview Version History Q & A Rating & Review
AI LaTeX Helper
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.
Note
To use the AI LaTeX Helper, follow these steps:
Obtain a Google Cloud API key from Google AI Studio .
Set the API key in the extension settings to enable the AI LaTeX Helper.
Ensure you are inside $...$
in Markdown files to receive LaTeX equation suggestions.
Features
Markdown Support: Works with Markdown files, allowing you to write LaTeX equations in Markdown with ease.
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
ai-latex-helper.apiKey
: API key for Google Generative AI.
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 the following commands:
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 .