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

21
votes
2answers
451 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} ...
16
votes
3answers
4k 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 ...
16
votes
1answer
5k 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 ...
13
votes
5answers
3k 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 ...
10
votes
2answers
361 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
1answer
3k 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 ...
10
votes
1answer
808 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 ...
8
votes
10answers
1k 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 ...
7
votes
1answer
2k 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. ...
7
votes
2answers
749 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 ...
6
votes
3answers
425 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
2answers
596 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 ...
6
votes
1answer
839 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 ...
5
votes
2answers
80 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
263 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 ...
5
votes
1answer
1k 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>} ...
5
votes
1answer
318 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
4k 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{....}.
4
votes
1answer
199 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
2answers
1k 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
2answers
759 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)
4
votes
1answer
770 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 ...
4
votes
1answer
57 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
2answers
1k 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 ...
4
votes
1answer
491 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
2answers
406 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
289 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 ...
3
votes
1answer
104 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 ...
3
votes
1answer
439 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
507 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 ...
3
votes
2answers
86 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. ...
3
votes
1answer
86 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 ...
2
votes
1answer
821 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 ...
2
votes
1answer
214 views

Make predictive mode default emacs

Every time I fire up Emacs, I run M-x predictive-mode. Is there a way to automate that and preferably while editing TeX.
2
votes
1answer
456 views

Backup of user-defined entries of autocompletion in Texmaker?

Does anybody know where Texmaker stores the user-defined entries to the autocompletion feature? I'd like to back up (as well as export) my own entries.
2
votes
1answer
73 views

File name autocompletion in \include for large latex projects

I am a very lazy person, so sorry in advance if my question seems a bit odd. Working on a thesis, I am splitting the content of the whole document into multiple .tex files, one for each chapter ...
2
votes
1answer
190 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.
2
votes
1answer
1k views

Texmaker - autocomplete problem

Is there a way to stop Texmaker from auto-putting the completion tag of every command when I use autocomplete? Like \begin{document} and I press enter in the auto-complete and it includes the ...
2
votes
3answers
1k views

WinEdt autocompletion

How to use autocomplete feature in WinEdt? It's very hard to use \ref{} and similar functions without autocomplete. I tried Tab and Ctrl+Space but in vain.
2
votes
1answer
1k 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 ...
2
votes
1answer
625 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 ...
2
votes
0answers
42 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 ...
2
votes
0answers
53 views

About autocompletion on TeXmaker and other LaTeX editor [duplicate]

I'm learning to use Texmaker to compile LaTeX document recently, but my problem is when Texmaker auto-complete a command, such as \frac, it usually add {} automatically and I have to use the arrow ...
2
votes
0answers
162 views

Updating an autocompletion in TeXnicCenter [closed]

I am trying to update the figure autocomplete in TeXnicCenter (TXC) to suit how I use figures. I believe I need to alter the Tex.xml file in C:\Program Files\TeXnicCenter\Packages and then restart ...
2
votes
0answers
103 views

Eclipse with texclipse code completion

I am using Eclipse with texclipse. Code completions are not showing up for some of the commands. For example: \mbox{}, \mathcal{} and for some others that i cannot recall at the moment. (If this ...
2
votes
0answers
639 views

TeXshop and autocompletion [closed]

I have a question on TeXshop and autocompletion. In an OSX text editor (Textedit for instance) when you start writing a word and hit the esc key the uppermost words in the list proposed for ...
2
votes
0answers
2k views

TeXmaker citation [closed]

I'm using a Mac and I have a problem with my TeXmaker. Everything works great with TeXmaker but I'm having problems with citations. My TeXmaker is linked with Mendeley software and I can see all of my ...
1
vote
1answer
73 views

Update the default autocompletion of `itemize` in TeXStudio

I want to change the auto-completion of itemize from \begin{itemize} content ... \end{itemize} to \begin{itemize} \item content... \item content... \item content... \end{itemize} However, ...
1
vote
1answer
83 views

\[ Active string in WinEdt

I have an active string that when I type \[ it enters \[ * \] * I obviously have problems when I want to type \\[8pt] I was wondering if there is a way that I can change the active string to ...
1
vote
1answer
641 views

Texmaker: How to “type through” closing brackets, braces, and parentheses?

I'll start by saying that my recent experiences using Python 3.3 (a programming language) have prompted me to question the potential of my favorite way to "TeX" something using Texmaker. In Python, ...