Skip to content

Convert natural language to LaTeX within Overleaf using LLMs

Notifications You must be signed in to change notification settings

varunshenoy/coauthor

Repository files navigation

Coauthor

Copilot for Overleaf

A GPT powered English-to-LaTeX translator that fits neatly into your Overleaf workflow. In other words, an absolute life-saver for non-math majors.

Coauthor demo

Features

  • Convert English descriptions of formulae to LaTeX ("the gradient of A is B transposed plus C")
  • Describe matrices Matlab style ("A = [1, 2, 3; 2, 4, 5]")
  • Simply write out names of theorems or equations and translate them directly ("The equation for Multihead Attention from Attention is All You Need" or "Insert the Time Hierarchy Theorem").
  • Automatically create typeset tables ("A table with three columns titled Name, School, and Email").
  • Served as an incredibly light Chrome extension. The contentScript.js and background.js files are only 833 bytes and 527 bytes, respectively.
  • And many more left for you to discover...

Install

  1. Navigate to the "build" folder.
  2. Open up build/contentScript.js. Replace the one instance of "YOUR API KEY" with a valid OpenAI API key.
  3. Go to chrome://extensions/ in your browser and check the box for Developer mode in the top right.
  4. Load an unpacked extension. Select the build folder.
  5. Refresh any Overleaf tabs that you have open.

You're ready to go! Right click on highlighted text within Overleaf and select "Convert to LaTeX" 🎉

Contribution

Suggestions and pull requests are welcomed!

About

Convert natural language to LaTeX within Overleaf using LLMs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published