LaTeX forum ⇒ Text FormattingLaTeX Productivity Boost?!

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 1
Joined: Sun Jul 07, 2024 10:17 pm

LaTeX Productivity Boost?!

Postby guidotrev » Sun Jul 07, 2024 10:18 pm

Hey everyone,

I'm a math major at the University of Chicago, and I spend a lot of time writing math. I primarily use VS Code with the hs-snippets extension, which has been a huge productivity booster. Writing snippets for LaTeX has made my workflow much smoother. For example, instead of typing \frac{}{}, I can simply type "ff" and the snippet will automatically expand, placing the cursor in the first part of the fraction.

However, I've noticed that platforms like Overleaf and other online LaTeX editors don't offer this snippet feature, which is essentially a shortcut for your code.

I'm considering developing a free website that provides this snippet functionality without the need for downloading VS Code and setting up hs-snips. What do you all think of this idea?

Recommended reading 2024: • •
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10199
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX Productivity Boost?!

Postby Stefan Kottwitz » Mon Jul 08, 2024 11:21 am


welcome to the forum!

Good idea! You mentioned Overleaf, which has an auto-completion feature. When you start typing commands, it makes suggestions:

overleaf.png (27.17 KiB) Viewed 475 times

I simply type \n and get \newcommand{}[]{} suggested (and \newcommand{}{}), with the cursor in the first pair of braces. If it's an environment, it also adds the \end command.

If you develop such a feature yourself, great! It can be used for other online editors too, such as here in the forum, where we use the ace editor for code snippets and online compilable documents.

Stefan admin

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 8 guests