ChatGPT can help you do virtually anything - even LaTeX writing. Today, we're launching TexGPT: a new feature that harnesses GPT-3’s power to help you write in Overleaf. TexGPT combines models by OpenAI and Writefull. It will be rolled out to all Writefull for Overleaf users over the next few weeks.

Why TexGPT in Overleaf?

TexGPT uses GPT-3 and Writefull to help you with pretty much anything while writing in Overleaf. It can generate tables, figures, formulas, statements, explanations, and more - all within your LaTeX source code. Combined with Writefull’s copyediting and writing widgets, this feature makes LaTeX writing in Overleaf even more efficient.

This is amazing. How do I start using it?

If you’re not a Writefull for Overleaf user yet, you’ll first need to download the Writefull extension and sign up (it’s free). TexGPT will be rolled out to all users over the next few weeks. Once it’s available to you, you’ll see it on the top ribbon - just look for a robot icon.

How do I use it?

TexGPT works similar to ChatGPT; you use prompts to interact with it. Unlike ChatGPT, there’s no timeline or back-and-forth conversation. You simply give a prompt and get a response, which you can then apply to your LaTeX source code in Overleaf.

Tip: You can also select a sentence or paragraph from your text and enter a prompt followed by a colon to tweak it. For example, you might select a long sentence in your text, and give TexGPT as a prompt: ‘shorten:’. It will then shorten your selected sentence.

How TexGPT within Writefull for Overleaf helps

Here are some examples of how TexGPT makes your life easier:

1. Create a table

TexGPT can create your table in LaTeX, accounting for any specification you add.

2. Write mathematics of statistics

As both GPT-3 and Writefull’s models have seen many LaTeX research papers, TexGPT can explain mathematical concepts and even generate equations or stats.

3. Write a statement

Ask TexGPT to write you something specific, like a funding statement, conflicts of interests declaration, or data availability snippet. You can edit the text later to add your own information, and use Writefull’s widgets to paraphrase it or make it academic-sounding.

4. Get something explained

Whether it’s for yourself or your reader, thanks to GPT-3, TexGPT can explain the most complex things. You can also ask it to use simple language.

5. Change your LaTeX formatting

No need to search and replace manually. Simply ask TexGPT to change selected parts of your LaTeX in Overleaf - like changing certain elements to italics.

6. Change your language

TexGPT uses GPT-3 and Writefull’s AI to make language changes, like the simplification of complex sentences or the changing of tense. Remember you can select a piece of text within Overleaf, and add a colon behind your prompt. For advanced copyediting, it's best to use Writefull’s Full Edit instead, which performs much better at this task than TexGPT.

7. Generate a layout or skeleton for your document

TexGPT can use LaTeX to apply structures, layouts, and other document formatting - for example, the LaTeX markup for arXiv manuscripts.

Is it free to use TexGPT within Writefull for Overleaf?

Like all of Writefull, you’ll be able to use this widget for free to an extent, but for unlimited use, you’ll need a Premium subscription. If you hit your quota, you can either wait until tomorrow or upgrade for an individual subscription or a group license.