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

22
votes
2answers
612 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} ...
19
votes
3answers
6k 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

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
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
5k 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 ...
12
votes
1answer
4k 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. ...
12
votes
1answer
1k 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
917 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 ...
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 ...
7
votes
2answers
1k 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 ...
6
votes
3answers
686 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

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 ...
6
votes
2answers
918 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
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>} ...
6
votes
1answer
6k 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
2answers
143 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
5k 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 ...
5
votes
1answer
367 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
385 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
275 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 brace, ...
5
votes
2answers
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 ...
5
votes
1answer
145 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
1answer
267 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
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
2answers
2k 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
90 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

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 ...
4
votes
3answers
3k 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 ...
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
2answers
356 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. ...
4
votes
2answers
680 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
526 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
2answers
235 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 ...
3
votes
1answer
652 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
628 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
628 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
40 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. ...
3
votes
0answers
50 views

Can suggested commands be removed from TeXstudio's autocomplete?

I know how to add commands to TeXstudio's autocomplete, but is it possible to remove them? I thought of this in the context of TeXstudio's suggestions for some non-existent siunitx commands -- it ...
3
votes
0answers
104 views

Texmaker: how to input “é” and getting “\'e” in the editor window

Ok, this is the preamble of my .tex file, that I'm compiling with Texmaker 4.4.1 32bits under Windows 8: \documentclass{smfbook} \usepackage[french]{babel} \usepackage[utf8]{inputenc} smfbook is ...
3
votes
0answers
145 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
1answer
52 views

shortcut for inserting matching endsomething in Windows

I would like to automatically inserting closing environments In MiKTeX-TeXWorks. And i have found Shortcut for inserting matching \end{something} in VIM. Any other same options are available in ...
2
votes
2answers
160 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 ...
2
votes
2answers
376 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?
2
votes
1answer
118 views

text autocompletion on latex editor

I have a list of text snippets which I use frequently eg To whom so ever it may concern, as soon as possible, Feelfree to contact me on . Most tex editors allow command completion. Is there any way I ...
2
votes
1answer
396 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
32 views

TeXStudio is overwriting second `\` after automatically having closed a bracket (`\{\text\}` is turning into `\{\text}`)

In general I would like TeXStudio to close my brackets (including {}), but there is always the same problem while using this feature (especially in mathmode): Assuming I want to write something like ...
2
votes
1answer
161 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 ...