https://github.com/abdxdev/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. :add
https://github.com/abdxdev/ai-latex-helper
ai gemini-api helper katex latex markdown vscode-extension
Last synced: 2 months ago
JSON representation
The AI LaTeX Helper is a VS Code extension that turns plain English descriptions of math into LaTeX equations using Google Generative AI. :add
- Host: GitHub
- URL: https://github.com/abdxdev/ai-latex-helper
- Owner: abdxdev
- License: mit
- Created: 2025-03-04T15:23:58.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-18T11:02:06.000Z (2 months ago)
- Last Synced: 2025-03-18T11:48:22.517Z (2 months ago)
- Topics: ai, gemini-api, helper, katex, latex, markdown, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=abd-dev.ai-latex-helper
- Size: 22.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
AI LaTeX Helper
[](https://github.com/abdxdev/AI-LaTeX-Helper/tree/main)
[](https://github.com/abdxdev/AI-LaTeX-Helper/issues)
[](https://github.com/abdxdev/AI-LaTeX-Helper/tree/main)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:
1. Obtain a Google Cloud API key from [Google AI Studio](https://aistudio.google.com/apikey).
2. Set the API key in the extension settings to enable the AI LaTeX Helper.
3. 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](https://aistudio.google.com/apikey).## 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](https://github.com/abdxdev/AI-LaTeX-Helper).
## Repository
The source code for this extension is available on [GitHub](https://github.com/abdxdev/AI-LaTeX-Helper).