Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [auto-completion]

Auto-completion is a feature in (La)TeX source code editors that predicts the (La)TeX commands close to the command being typed to eliminate the need for typing frequently used commands. If your question concerns the functionality of specific editors (e.g., {texstudio}, {emacs}), include them as tags as well.

0
votes
0answers
9 views

Kile: do auto completion only when hitting spacebar

I was trying to get a good autocompletion in Kile. Therefore I made a .cwl file and used this to store all the words that I regularly misspell. I also turned on 'Auto completion for abbreviation' so ...
3
votes
1answer
22 views

Mac Texshop “autofilling”

I couldn't find it anywhere here, but sorry in advance if this is a repeated question. When using Texshop on my Mac, when I do the following... Type out f(x) = 2x + 3 highlight f(x) = 2x + 3 type $ ...
0
votes
0answers
34 views

Macro for backslash in TeXstudio does not start autocomplete [closed]

I am using TeXstudio 2.12.6. I defined a macro to map the § key to print the backslash \, as the latter is hard to reach on my keyboard. Autocomplete works fine when I start the command with the "...
1
vote
0answers
26 views

Math mode trouble with backslash in Texstudio [duplicate]

In text studio, when you start typing \( it automatically fills in to \(\) with the cursor in the middle. As I try to type let's say a greek letter such as "\gamma", the editor automatically uses the ...
2
votes
1answer
26 views

How to leave out the Space before I use auto-completion by Tab in TexShop?

These days I am trying to improve my typing speed on TexShop by employing the Command Completion source. However, I've found that I have to type in a Space before using, say, "xg+Tab" to represent \...
2
votes
1answer
149 views

Citep or citet does not display references list?

I am having an issue that randomly occurs while citing references. When I type " \cite{ " in my file a list of references usually pops up and I can select any reference by selecting them, as such: ...
0
votes
1answer
19 views

How to disable autocorrection/autocompletion but not the spellcheck/errorcheck in TeXstudio?

I want to disable autocorrection/autocompletion, like the automatic insertion of ] when I type [ and also other autocorrection/autocompletion options in TeXstudio. But I want to keep allspellcheck/...
1
vote
0answers
119 views

LaTeX editor with seamless auto-complete

When working on a LaTeX project I like to create an .sty file (say mymacros.sty) where all my custom macros are defined. I then simply call \usepackage{mymacros} in the main .tex file preamble. I also ...
1
vote
0answers
75 views

Is there any way to make \right) appear right after I type \left(?

Similar to how when you type \begin{document}, \end{document} automatically appears. This is for TexMaker.
1
vote
1answer
63 views

Autocompletion of citation with BibDesk but without TeXShop

I have the inverse question of this one, Autocompletion of citation in TeXShop without BibDesk, but instead of "without BibDesk," I am looking for a way to have autocompletion of citekeys from my bib-...
0
votes
0answers
28 views

Autocompletion Texstudio

My texstudio programm was updated last week. Since the update was installed, the autocompletion mode does not work. I do not know what is happening, because I have checked the options that you can see ...
1
vote
1answer
38 views

Auto-completion of \ref doesn't work for my counter

I defined a counter and a command that defines examples and labels them. Unfortunately, when I use these definitions the \ref is not autocompleted by the texmaker or sharelatex. What should I add in ...
0
votes
0answers
71 views

texstudio cref completion for labels in macros

Is there a way to have completion for cref references for labels defined in a command macro? \newcommand{\midpict}[4]{ \begin{center} \begin{figure}[H] \begin{center} ...
1
vote
0answers
57 views

TeXstudio auto-completes normal words suddenly. How to disable? [closed]

I'm using the newest version of TeXstudio and I like it. However, suddenly it started to auto-complete normal words (not LaTeX commands). I can only type the first letter and then a popup shows some ...
0
votes
0answers
63 views

Getting predictive mode to suggest all possible environments

I'm trying auctex+predictive mode as my new latex editor. One feature that tempted me to add predictive mode to the equation, was the feature advertised in the image below: source This is ...
0
votes
0answers
69 views

Which LaTeX editor have autocompletion with a hotkey (like in commanline `tab`)

I use TeXstudio, it is pretty good and it autocompletion is great, but I was wondering if there is any editor I has autocompletion hotkey (like Tab in commandline)? Thanks in advance
0
votes
1answer
58 views

Bibliography Autocompletion doesn't work in TexStudio 2.12.6

I installed the last version of TexStudio (2.12.6) and Everything was fine since couple of days ago but suddenly bibliography autocompletion has stopped working. My OS is Ubuntu 18.04 and I think I ...
0
votes
1answer
69 views

Autocompletion of new command with zero arguments with LaTeXTools

I use Sublime 3 with the LaTeXTools plugin. Everything is updated. Here is a minimal example showing what happens when I use autocompletion for commands I defined locally: As you can see, it ...
0
votes
1answer
92 views

Texstudio autocomplete cite key by full text search?

I am using Texstudio 2.12.6 on Mac. When typing \cite{somewords, autocomplete shows a list of cite keys that start with 'somewords'. But I want it to show cite keys that contain 'somewords' inside, ...
0
votes
0answers
27 views

Reference auto-complete

I defined a new environment example. I have a good reason for defining a label inside the environment and I want to keep the \label command in the definition of \example. When I want to refer to the ...
2
votes
1answer
285 views

Auto Completion in TeXworks

I am new to Texworks. I would like to have this behaviour: If I type in \begin{something} then the phrase \end{something} will be added automatically. Is this feature available? How can I activate it?...
8
votes
2answers
673 views

Configuring auto-completion with TeXstudio

TeXstudio does a pretty good job with autocompletion. For example, when I type \eqref{, it already comes with suggestions, see the example below. However, suppose that I don't want to use \eqref but ...
0
votes
1answer
200 views

Autocomplete curly brackets after LaTeX command in TeXStudio

I'm using TeXStudio with MikTeX distribution. Is there a way to automatically add the curly brackets at the end of a command? Let me explain using an example. Suppose I'm typing in math-mode \Gamma ...
2
votes
1answer
297 views

How to properly set up AUCTeX to parse macros from my own *.sty files?

I am on Windows. Here is the code I have in my .emacs file to enable AUCTeX to recognize macros I have defined in my own style files: (setq TeX-parse-self t) ; Enable parse on load. (setq TeX-auto-...
0
votes
0answers
69 views

Autocompletion in Texmaker for \citeA command [duplicate]

Texmaker suggest a list of all bibtex-keys when typing the beginning of \citep{•}. I use APACite and therefore often need \citeA{•} though. First: Is it possible to make texmaker suggests for \citeA{•...
1
vote
0answers
256 views

Word prediction when typing LaTeX

Some time ago I while preparing my Bachelor's thesis I came across a word prediction macro for Microsoft Word - the preDict: http://www.beingbrunel.com/predictive-text-in-word/ https://github.com/...
0
votes
0answers
37 views

natbib \citet/p fields not 'active'

This is not a big issue but I wander why it happens. When I open my tex file in TeXstudio, in which I have a lot of references (using natbib), the fields in {} are not active immediately, and the ...
3
votes
1answer
373 views

Autocompletion on TeXShop does not work properly

I have just discovered that TeXShop should have this function, as described in section 1.16 Auto Completion of this manual. Now, by default I should have the autocompletion for ", which should be ...
0
votes
1answer
107 views

completion with the second argument of a command in texstudio

From Texsudio manual on autocompletion files: "The classifiers specifying the meaning of arguments (like c or i) always apply to the first non-optional parameter. This is a current limitation of the ...
1
vote
1answer
164 views

autocomplete with labels defined by user commands

I use a command that automatically generates labels to include pictures: \newcommand{\plot}[3]{ \begin{figure}[htp] \centering \includegraphics[#2]{Fig/#1} \caption{#3} ...
1
vote
1answer
402 views

TeXStudio Autocomplete or suggest image path

I am writing a report in TexStudio. I recently exported the report from sharelatex. In sharelatex, it autocompletes or suggests the image file location. But I can't make TeXstudio do the same thing. ...
0
votes
2answers
470 views

Editors for Windows with automatic completion, environments etc

My "home" environment is GNU Emacs under Linux with AucTeX and RefTeX; as far as I'm concerned this is the perfect environment for LaTeX editing. And I've written books, papers, notes for students, ...
3
votes
0answers
138 views

Disabling autocompletion of `\(\)` in TeXstudio

I am using TeXstudio 2.12.6 QT 5.9.1, and have the Auto Complete Parentheses in Special options turned on. In general, it automatically 'closes' the brackets / braces for the following combinations: (...
1
vote
1answer
221 views

TeXstudio: Can I put multiple packages in a separate file and still have the autocompleter recognize their commands?

This is a follow-up question to Place preamble packages in a different tex file, Methods for autocompletion in TexStudio don't work. The Problem Over the years, I have collected quite the number ...
2
votes
1answer
466 views

Autocompletion of citations and references in TeXShop

I used to use Esc to complete citations and references when typing in LaTeX using TeXShop but it doesn't work any more. It stopped working on my new laptop probably because I had to install TeXShop ...
1
vote
1answer
43 views

Is there a way in Bibdesk to erase wrong completion suggestions due to typing mistakes?

For example, if I type once Shakespere instead of Shakespeare Bigdesk keep suggesting it when I type Sha in the Author field. Is it a way of cleaning up the list of such suggestions
2
votes
1answer
236 views

Is there a shortcut in TeXstudio for autocompletion?

Is there a shortcut in TeXstudio for autocompletion? For example when I started to write \ref and then went to find out the name and got back, now the suggestions won't appear without deleting and ...
0
votes
0answers
28 views

Can you get rid of the “content” box for the autocompletion, without getting rid of the \end{} autofill?

I really like the autofill function where you start typing \begin{*environment-name*}and it automatically starts filling in the \end{} as well, but it always shows up with thiscontent...box that you ...
3
votes
2answers
481 views

Automatically Delete Corresponding Bracket in TeXstudio

Let me start off by saying that I'm not looking for how to disable bracket completion. In fact, when I tried searching for what I'm about to ask, that kind of information was the only thing that kept ...
1
vote
0answers
234 views

Command completion disabled in TeXShop

The command completion does not seem to be enabled on my version of TeXShop (3.84). But, when I read the documentation, it is supposed to be installed with TeXShop. When I start a command like \begin....
1
vote
1answer
208 views

Texstudio change shortcuts for autocomplete dialogue

In the autocomplete dialogue that appears in texstudio when you begin to type a command it is possible to navigate through the autocomplete options using the up & down arrow keys. Is it possible ...
1
vote
2answers
242 views

TeXstudio: “Recursive” autocomplete for custom commands

I added this command to reference sections (figures, chapters, etc.): \newcommand{\secref}[1]{Section~\ref{#1}} Now TeXstudio autocomplete shows me but I am missing the autocompletion for the ...
2
votes
0answers
32 views

Modify default behavior in drag and drop of files in TeXShop [closed]

In TeXShop, when you drag and drop a file from Finder into your document, TeXShop recognizes the type of file and wraps around relevant LaTeX syntax to help make sure it compiles. Example 1: The ...
1
vote
0answers
409 views

Texstudio + custom cwl: #include command ignored

Goal I am trying to derive my own class from memoir and would like to include all the auto-completiong from the original memoir class. Problem I wrote a customg .cwl file using #include:class-memoir....
1
vote
1answer
96 views

BibDesk completion suggestions do not show if more than four initial characters are given

This question concerns TeXshop 3.77 on OSX 10.10.5. Suppose you have already placed two labels: \label{eq:abstract} and \label{eq:abstain} If you type \eqref{eq:ab then press Esc, BibDesk ...
2
votes
0answers
139 views

Texshop autocomplete option

Is it possible in Texshop to have an autocomplete option like in Texmaker, so that I don't need to press Esc everytime? What I mean is that So instead of clicking Esc, it automatically shows you ...
2
votes
2answers
1k views

Methods for autocompletion in TexStudio don't work

I've made a mymacros.sty file which I would like my LaTeX files to be able to access with commands that I've defined. I've managed to get it to work by putting \usepackage{mymacros} in my preamble. ...
1
vote
2answers
376 views

cleveref command auto-completion in TeXShop

I want to start creating clickable links for my equation reference etc. How can I let TeXShop know to auto-complete commands like \cref and friends defined by the cleveref package? I have loaded the ...
0
votes
0answers
116 views

Exam class auto complete in TexStudio

I am using TexStudio and exam class. It runs fine and produces the output I want but I cannot get TexStudio to recognise the commands from the exam class and hence auto complete.
1
vote
1answer
664 views

Sublime Text: Reference completion across multiple files using LaTeXTools and import

Consider the following project structure project | -- part | | -- fileWithLabels.tex | | -- fileWithRefs.tex | -- main.tex Is it possible using Sublime Text 3 and LaTeXTools to achieve auto ...