LLM powered text2latex for math equations, image2latex converter with live markdown and latex rendering, standalone chat mode
Update 2 (10/10/24): Improved UI
Update 1: Now supports OpenAI api key along with OpenRouter
Why use AutoLatex
AutoLatex is a browser extension that simplifies LaTeX equation generation for researchers and students. It uses LLMs to convert natural language and images into markdown and LaTeX, with instant rendering so you can edit on the spot. The tool offers customizable settings, keyboard shortcuts, and privacy control through user-managed API keys. By streamlining the process of incorporating complex equations into documents, AutoLatex enhances productivity in academic and research workflows, especially in deep learning fields.
You can also use it just as an LLM companion in the sidebar by switching off the latex renderer.
• Main Features:
- Converts natural language or image input into LaTeX equations and markdown
- Renders LaTeX equations and markdown in real-time
- Allows copying of generated text with or without delimiters ($, $$)
- Standalone chat mode available by switching off LaTeX rendering
- Integrates with OpenRouter API to access various language models
- Customizable system prompt and image prompt
- Dark mode support
• LLM Integration:
- Uses OpenRouter API to access language models (default: google/gemini-flash-1.5)
- Sends user input (text or image) along with a system prompt to the chosen model
- Receives generated LaTeX and markdown from the model
- Supports OCR for images containing equations
• User Interface:
- Input area for entering natural language or pasting images
- Render area to display generated LaTeX and markdown
- Buttons for submitting queries, copying results, and accessing settings
- Image preview with drag-and-drop support
- Toggle for showing/hiding the render area
• LaTeX and Markdown Handling:
- Renders LaTeX equations using KaTeX library
- Supports both inline ($...$) and block ($$...$$) LaTeX syntax
- Uses marked library for rendering markdown
• Customization Options:
- API key management for OpenRouter
- Model selection
- Customizable prompts for text and image inputs
- Dark mode toggle
• Keyboard Shortcuts:
- Shift + Enter: Submit query
- Shift + A: Copy raw LaTeX
- Shift + S: Copy LaTeX with single dollar signs
- Shift + D: Copy LaTeX with double dollar signs