auto-complete is a feature in latex source code editors that predicts the latex commands close to the command being typed to eliminate the need for typing frequently used commands.

learn more… | top users | synonyms

23
votes
2answers
709 views

Add \midrule Every 5 Lines Automatically

I wrote a table listing scores of 40 students using booktabs package. How to write midrule command automatically every 5 rows? \documentclass{article} \usepackage{booktabs} \begin{document} ...
21
votes
3answers
7k views

Does AucTeX Autocomplete?

The quick start guide for AUCTeX says As nearly everywhere in AUCTeX, you can use the TAB or SPC key to get a list of available level names, and to auto-complete what you started typing. Which ...
17
votes
1answer
6k views

TeXStudio : Disable auto-completion of parentheses

I cannot stand the auto-completion of TeXStudio (formerly TexMakerX) regarding parentheses, braces, etc. I agree auto-completion is useful sometimes, but here it does just not work as I would like. ...
17
votes
1answer
7k views

How to add new auto-complete options in TeXnicCenter?

When I type "ite" in TeXnicCenter, I see the autocomplete option: \begin{itemize} \item \end{itemize} Pressing ctrl+space will activate the auto-completion. How do I add additional ...
16
votes
1answer
6k views

Customize auto-completion in Texmaker

How can I work with customize completion? I want to add some new auto-completion but I don't know How the wizard works. It's here: User>Customize Completion I don't know what should be writen in the ...
13
votes
5answers
4k views

Confusing code auto-completion in TeXnicCenter yields double \begin

I have experience in programming Python in NetBeans and using the code hints with Ctrl+Space or Tab is a breeze. Here is my experience with using the code hints in TeXnicCenter: When I type the ...
13
votes
1answer
2k views

Why does TeXShop add a dot after autocomplete

Why does TeXShop add a dot after auto-completing an environment? An example is shown in the following image: I'm referring to the dot after \end{itemize}. If I don't delete it pdflatexmk can not ...
10
votes
2answers
1k views

Get emacs to automatically insert \end{} commands after a \begin{} command

I've recently switched from Kile to Emacs/AUCTeX for LaTeX editing. I like AUCTeX a lot more in general, in part because I've put a lot of effort into learning Emacs really well. One feature I really ...
10
votes
0answers
97 views

How to get a list of valid commands?

I want to dynamically create a list of LaTeX commands that are valid in a particular file based on the packages used so that I can use them for code completion. Does LaTeX provide a method for ...
9
votes
9answers
3k views

Is there any LaTeX editor allowing you to tab through curly braces?

I tried several LaTeX editors with auto-completion functionality, but none of them make life easier. The problem is when they auto-complete a command, such as \frac, they usually add {} automatically ...
9
votes
11answers
2k views

Which editors can autocomplete any word from document?

Of course, any LaTeX editor will autocomplete common LaTeX commands and environments. Many (most?) let user add new commands to be autocompleted. However, in technical documents there will usually be ...
9
votes
3answers
2k views

Shortcut for inserting matching \end{something} in VIM

I remember some time ago I always used a shortcut in VIM that allowed me to type this (<X> is indication of the location of the cursor): ... rest of document ... \begin{<ENVIRONMENT>} ...
8
votes
3answers
2k views

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

I am using gvim (latest version) with latex-suite (latest version) on Windows 7 32 bits. This is a fresh install from my previous Ubuntu setup. Everything runs fine except for cite autocompletion, and ...
7
votes
1answer
3k views

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

When I write \begin{ in texmaker, I want it to suggest flalign} as a possible choice for autocompletion. At the moment, texmaker doesn't complete \begin{flalign} automatically; as a result, it also ...
7
votes
2answers
1k views

Dynamic autocomplete for words (non-LaTeX commands) in WinEdt 6.0

Does anyone know how to get WinEdt 6.0 to perform dynamic autocomplete ?. I would like to expand words I've already used, either in the current .tex file, or in the directory tree for a given ...
7
votes
2answers
2k views

Position of cursor around brace when using auto-completion in TeXStudio

In using TeXStudio to edit my text file under Debian, I have a problem in locating the cursor while using the auto-completer to complete a pair of braces. There is a little box frame holding the place ...
7
votes
1answer
2k views

Where does TeXstudio store the .cwl files for hyperref and xspace?

TeXstudio uses .cwl files for storing information about which macros are defined by which packages, one file per package. This information is used for autocompletion suggestions and highlighting of ...
7
votes
1answer
652 views

How to disable auto-complete braces in TEXStudio?

I want to disable auto-complete for braces in TeXstudio. In its simplest form, when I type { I do not want it to automatically add a }. When it does this, many times I end up deleting the brace, ...
7
votes
0answers
204 views

Kile - autocompletion for bibtex entries

I would like to Kile autocomplete my citations, so when I type \citep{ a list with my bibliography entries pops up. I tried also by typing the first 3 letters of the entry key, and/or pressing ...
6
votes
3answers
925 views

Editor with Word like “word completion” feature

Besides defining longer technical words by \newcommand{\trimam}{trans-impedance-amplifier} to save typing time. Is there a Latex Editor (can be Linux or Windows) that offers "word completion" ...
6
votes
1answer
2k views

Autocompletion in Texstudio

I am using Texstudio 2.6. I enabled autocompletion of schemabloc package in the Texstudio Options. When I am typing in the document, autocompletion for package commands is not working? Can somebody ...
6
votes
1answer
7k views

Automatic completion of common functions in TeXShop?

Is there a way to allow TeXShop complete common functions to avoid typing the same word multiple times ? For example, when you type \sub , TeXShop would automatically provide options to complete ...
6
votes
1answer
435 views

Argument names for autocompletion in Kile

Let say I created the following command in my latex document \newcommand{\red}[1]{ \textcolor{red}{#1} } When working with the LaTeX editor Kile, the autocompletion gives me something like ...
6
votes
3answers
5k views

Auto-complete feature for Texmaker citations

I have Texmaker 4.1.1 and autocomplete feature for citations doesn't work in it. I have my .bib file in the correct directory (the same as my .tex file), use biblatex, have added the command ...
6
votes
2answers
3k views

Add to TexStudio autocompletion

I'd love to know how to add the eqnarray* environment to autocompletion, I only get the regular eqnarray. (I'm using Windows 7)
6
votes
2answers
547 views

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

I am using bibtex and natbib for a scrartcl and the editor texmaker and everything works fine, except that I don't have auto-completion for (only) the command \citet. For \citep it works just fine. ...
6
votes
1answer
8k views

Autocomplete current environment

Is there a keyboard shortcut in TeXnicCenter to complete the current environment? In other words, it should add the appropriate \end{....}.
5
votes
5answers
5k views

IDE with AutoCompletion?

I was looking for an Latex editor that has an auto completion function. Is there any available? I thought about auto complete suggestion for common commands like for example defining chapters and ...
5
votes
2answers
189 views

How can I set up autocompletion for \langle and \rangle?

I use Texstudio for taking notes in class, and I would really like to set up an autocompletion scheme such that typing in "\langle" would bring up "\rangle". How can I do this? Thank you
5
votes
1answer
410 views

Enable parentheses bib entry with RefTeX

I have built my .bib file using parentheses, like this: @ARTICLE(Campbell2006, author="Campbell, K. and McKay, M.D. and Williams, B.J.", title="Sensitivity Analysis when Model Outputs are Functions", ...
5
votes
1answer
1k views

Adding custom macros to completion list with AUCTeX

I would like AUCTeX (that is, Emacs with auctex loaded) to suggest more LaTeX macros when using completion (M-Tab or C-Ret) than it does by default. I would like to have macros from packages I have ...
5
votes
1answer
354 views

Why does TeXstudio's autocomplete suggest missing commands like \microfarad, \microampere, etc.?

TeXstudio's autocomplete suggested \microfarad as a command so I attempted to use it but received an "undefined control sequence" error. There are easy workarounds (\micro\farad and \micro\F), but why ...
4
votes
2answers
2k views

autocomplete in TeXnicCenter does not work when biblatex is used

I'm working with TeXnicCenter and I set a up a project file and created my output pdf file and bibliography using biblatex. Everything works well, the document looks the way it should...and now comes ...
4
votes
1answer
279 views

A bug in Winedt?

Reproducing: Put caret in point A Right-click on a citation from bibliography branch in tree panel and choose insert Press Ctrl-z to undo the insertion. Put caret in point B Right-click on a ...
4
votes
1answer
130 views

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

I'm working on a large document, and for that reason I'm using a main.tex file and including several files like chapterX.tex etc. Problem is that only my main.tex file has the bibliography in the ...
4
votes
1answer
1k views

TeXworks auto-complete

TeXworks autocomplete capability is incomplete, messy and unpredictable. Is there any way to migrate TeXStudio auto-complete data to TeXworks?
4
votes
1answer
127 views

How to make TeXstudio recognize \DeclarePairedDelimiter declaration

I'm using TeXstudio as editor because I think it provides the best features among other software I tried (namely Kile and TeXworks), especially about highlighting, autocompletion and spell checking. ...
4
votes
2answers
908 views

Macros in TeXStudio

I noticed in this post, when the user hits (( what actually generates in the editor is \left( \right), where the cursor is positioned between the first parenthesis and before \right. How does one do ...
4
votes
1answer
716 views

Disable TeXstudio auto completion of square brackets?

I've disabled auto completion of {} from the advanced settings menu, but the program still automatically adds a ] when I type [ in examples like: \item[--] Is this a bug or can I disable it some ...
4
votes
1answer
22 views

Automatically accept placeholders in TexStudio

I have just moved over from TexMaker to TexStudio and I have to say I really like it so far, however I find the box around placeholders super distracting. I know I can just hit Cmd+Shift+K to get rid ...
4
votes
2answers
345 views

TexStudio: Use dictionary for completion

Is it somehow possible to extend TexStudio to use dictionary words in autocompletion? For example, when I type "som", I want the autocompletion list to show me all words from the dictionary starting ...
4
votes
1answer
629 views

Changing autocomplete order in Texmaker

Does anyone know if it possible to change the autocomplete precedence/order in Texmaker ? For instance, on my Windows installation, when I begin to type \begin{al..., the first thing that pops up is ...
4
votes
1answer
65 views

TeXstudio auto-completes command not as desired

I'm using TeXstudio and a package I've written, which includes a command called \co. I've told TeXstudio to use the corresponding .cwl file and it recognizes \co as a command. Here is the problem: ...
3
votes
2answers
3k views

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

When I write \begin{enumerate} sublime text does not auto complete it to \begin{enumerate} \item \end{enumerate} like I would expect. Is there a way to achieve this?
3
votes
1answer
804 views

Backup of user-defined entries of autocompletion in Texmaker?

Where does Texmaker store the user-defined entries for the autocompletion feature? I'd like to back up (as well as export) my own entries...
3
votes
1answer
1k views

TeXnicCenter typing macros

Sometimes my LaTeX document gets long and messy, and so it's hard for me to look through and find what I want. When I program, I usually have a macro in my IDE that creates a separator of comments to ...
3
votes
1answer
723 views

Configure multiline autocompletion in TeXStudio

I would like to configure a longer completion in TeXStudio, like this one: \begin{table}[htbp] \centering \caption{} \label{tab} \begin{tabular}{lcS[table-format = ...
3
votes
1answer
961 views

How to add new auto-complete options in TeXworks?

I'm working with TeXworks. It has some auto completions but not enough. How can I add some auto completion to it. Is there any way to add them from TeXmaker to TeXworks.
3
votes
1answer
2k views

Auto-completion for citation in Kile using Biblatex

Currently in Kile you can get citation auto-completion when using BibTeX. You just add \bibliography{file} and Kile knows from this where the bib file is and what is in it. However biblatex does not ...
3
votes
2answers
114 views

Why doesn't TeXstudio suggest any bib items for citation (can't read multiline arguments)?

When I use the \cite{} command, TeXstudio doesn't find any bib items. Normally, I would expect that after typing \cite{ TeXstudio would suggest me all bib items available but it doesn't suggest me ...