Is your feature request related to a problem? Please describe.
Inserting LaTeX-Formulas currently is very annoying because of two reasons while using autofill:
- When using autofill, the cursor stays at the position where i used autofill (and not after the inserted command).
- Autofill isn’t inserting curly braces. This makes writing formulas very slow.
Describe the solution you’d like
I would like autofill to auto add the curly braces and move the cursor between between the braces.
Describe alternatives you’ve considered
Adding these manually and moving the cursor manually is very slow so adding formulas wouldn’t be a pleasure .
Hi @Samann, just to be clear your request is to wrap formula in curly brackets and set the cursor to the end brace, am i right?
Not exactly. Sorry, I should have made it more clearly by using screenshots.
The current behavior after confirming the suggested command:
is the following:
I would expect that either:
the cursor is after the the “m” at the end of “\dbinom”, or
(what is a common feature in other LaTeX-editors like TeXStudio) to create the right amount of curly braces according to the command. So “\dbinom” takes two arguments, so two pairs of curly braces are being created with the cursor in the middle of the first pair:
or the command is directly filled with placeholders when confirming the autofill. There the first argument is directly highlighted so when you begin to type, you directly are replacing the first argument:
Then by pressing “tab”, the cursor is moved between the curly brackets in the next argument and the content is selected so you can simply begin to type to fill the second argument.
Sorry for the confusing first post. I hope I could clarify my suggestion