23 votes

Shortcut for inserting matching \end{something} in VIM

When using VimTeX, you can type ]] in insert mode to close the current environment.
user avatar
  • 4,865
20 votes
Accepted

How can I make texmaker autocomplete commands that it doesn't already autocomplete?

In the menu, select User > Customize Completion. Then add \begin{flalign} to the list of commands. You can also specify arguments using @, e.g \foobar{@}.
user avatar
19 votes

Add \midrule Every 5 Lines Automatically

The following macro \midruleV sets a \midrule every five rows. Counter midruleV is used to count the rows inside a block of five rows. Therefore the counter is reset before the table and after the ...
user avatar
17 votes
Accepted

Configuring auto-completion with TeXstudio

For that, you will have to make use of a custom .cwl file (which, afaik, requires a recent version of TeXstudio). Create a file, let's say mycwl.cwl, in either %appdata%\texstudio\completion\user or ....
user avatar
  • 11.1k
9 votes
Accepted

Add \midrule Every 5 Lines Automatically

Here's an option using the pgfplotstable package. The idea is to read the data into a macro (called edytable below) and then typeset it using the command \pgfplotstabletypeset[ columns/...
user avatar
  • 95.6k
9 votes
Accepted

Automatically Delete Corresponding Bracket in TeXstudio

As of time of writing, I do not think there is an option to delete corresponding brackets automatically (which is a shame :o). There is a way to do this via a macro/user script in TeXstudio, but is ...
user avatar
  • 13.2k
8 votes
Accepted

Auto-completion for (only) \citet using bibtex and natbib using texmaker does not work

I posted the issue on the website recommended and got a very helpful reply: Updates: Status: Done Comment #1 on issue 1306 by ... : Auto-completion for \citet http://code.google.com/p/texmaker/...
user avatar
  • 301
8 votes

TeXstudio: Don't autocomplete "content..." in block environments

You need to disable insert arguments Go to Options > Configure TexStudio > Make sure that Advanced Options is checked > Completion > Uncheck Insert arguments
user avatar
7 votes

How to make LaTeX do auto punctuation like Word

This is a misunderstanding: LaTeX doesn't help you to write your text, which is the job of the editor. I'm quite confident that such a thing (capitalize each first letter after a dot) can be achieved ...
user avatar
  • 28.7k
7 votes

Disable parts of auto-complete in Tex Studio

The easiest way is to tell TeXstudio to suggest the Most used commands you enter: Menu > Options > Configure > Completion > [Preferred Commands Set] select 'Most Used'. Other than that, you can ...
user avatar
  • 2,098
7 votes

Configuring auto-completion with TeXstudio

I suggest to use the cleveref package instead of manually defining commands for all possible types of labels. cleveref will automatically insert the appropriate string based on the type of label you ...
user avatar
7 votes
Accepted

Citep or citet does not display references list?

Your problem is perfectly answered by an (unfortunately) deleted answer by @Chris. As you cannot yet see deleted answers, I'll quote it here in a community wiki post: I think that your problem is ...
6 votes
Accepted

A bug in Winedt?

Yes, this is a bug and will be fixed in WinEdt 8.2. In the meantime, you can get things working properly in this way. Open Tree.ini from the "Options Interface". Do the following global replacement ...
user avatar
6 votes

How to disable auto-complete braces in TEXStudio?

Please uncheck "Auto Complete Parentheses". It can be found "Options / configure TeXStudio" (see screenshot). It does work for me under TeXStudio 2.12.14. Edit: as for the shortcut CTRL+I. I don't ...
user avatar
6 votes
Accepted

Disable parts of auto-complete in Tex Studio

For the record, in order to at least remove the annoying auto-completion when typing \ac{ to \acute{ (and similar commands), while keeping all other functionalities of TS in place (e.g., suggest all ...
user avatar
  • 252
5 votes
Accepted

How can I cite from bibliography in separate .tex files?

Make sure that you use TeXStudio in master mode. To cite the manual of TeXStudio section 4.1: TeXstudio allows you to work onto documents separated in several files. To include a TeX file into ...
user avatar
  • 2,256
5 votes

Update the default autocompletion of `itemize` in TeXStudio

Here's a potential solution using user macros. From the menu, select Macros -> Edit macros. Add a new macro called "Itemize selection" and paste the following for the macro code: %SCRIPT sel=cursor....
user avatar
  • 213
5 votes

How to use the autocompletion of enumerate in latexing (sublime text)

Type begin (without the \), then push TAB. This will complete the environment so you will see \begin{env} \end{env} and the cursor will be highlighting both envs. You can then type enumerate, which ...
user avatar
  • 7,104
5 votes

Sublime Text 3 - Is there a autocompletion / dropdown list feature?

A bit late, but LaTeXTools just added this feature in the last two weeks. Basically as soon as you press \, start typing, it will pop up a list of suggestions. The (brief) docs on this feature can be ...
user avatar
  • 1,920
5 votes
Accepted

How to get a list of valid commands?

No, it is not possible. Packages may define commands in several ways, besides the standard \def (and variants) or \newcommand and \DeclareRobustCommand. Consider for instance, \DeclareMathSymbol or \...
user avatar
  • 984k
5 votes

TexStudio autocompletes when I type braces

Uncheck the option (make sure advanced options is toggled): Configure TeXstudio -> Completion -> Complete selected text when non-word character is pressed then \hl{ will no longer autocomplete ...
user avatar
  • 13.2k
5 votes
Accepted

Methods for autocompletion in TexStudio don't work

I'm afraid I can't exactly diagnose your problem , but you can create your own .cwl file. Hopefully this is an acceptable alternative. Reference: http://texstudio.sourceforge.net/manual/current/...
user avatar
  • 13.2k
5 votes
Accepted

TeXstudio: "Recursive" autocomplete for custom commands

Instead of reinventing the wheel, I would rather use cleveref. This will automatically insert the appropriate names of the referenced labels as well as supported by texstudios auto-complete. For ...
user avatar
5 votes
Accepted

Is it possible to remove dynamically added autocompletions from Overleaf?

If I am correct Overleaf only uses commands that are already used in the document and does not suggest them anymore if there is no instance of the command left in the document. The easiest way to ...
user avatar
  • 116
4 votes

Getting \cite{} autocompletion to work in gvim with latex-suite on windows 7

Sorry to be a necromancer, but this is the top google result for this problem and I feel like this thread is missing an important bit of info for Windows users working in Cygwin and/or Babun For ...
user avatar
  • 141

Only top scored, non community-wiki answers of a minimum length are eligible