Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Autocomplete on Texstudio not working?

I'm probably missing something super obvious, but I can't get auto complete to work at all. If I start typing any LaTeX command nothing happens and I have to type it all the way through myself. I just ...
ecoer's user avatar
  • 1
0 votes
0 answers
13 views

Unable to fill autocompletion (TexShop)

I have the following problem when I use TexShop. In this simple text I have an equation with a label When I want to add a reference to it I start typing \eqref{eq: and then I press fn+F5 to get ...
Marco Parrinello's user avatar
0 votes
0 answers
28 views

No VSCode auto-completion using .sty file commands

I have created many .sty files that auto-complete in TeXMaker, but recently I switched over to compiling in VSCode. The problem is, even though there's no problem compiling, I have no auto-completion ...
cybsFeyQ's user avatar
0 votes
0 answers
32 views

TeXstudio: Autocomplete for newcommands in a separate package

I created my own package where I defined several new commands with \newcommand and saved it in \texlive\texmf-local\tex\latex\local. After I imported the package at the beginning of my file, it is ...
Bambuskrieger's user avatar
0 votes
0 answers
31 views

Autogenerate cwl file from sty using cli in Windows

I want to automatically generate .cwl files anytime the .sty package content changes, without any IDE opened. I know how to create a folder monitor using FolderChangesView, but I have a problem with ...
logocar3's user avatar
  • 131
1 vote
0 answers
26 views

Parentheses auto-completion in TeXStudio 4.7.3

There was a way to disable parentheses autocompletion in TeXStudio 10 years ago. It does not work anymore. Do they still give this option in the current version? I usually put parentheses around text ...
Marina's user avatar
  • 143
1 vote
0 answers
26 views

Texstudio cwl specialDef

In the Background information for Texstudio (https://texstudio-org.github.io/background.html#description-of-the-cwl-format) for the cwl format, there is mentionend "special lists" whith the ...
AndroidKoala's user avatar
1 vote
0 answers
81 views

TeXstudio: excessive autocomplete

When I'm working in a math environment and I want to type something like \sec^2x, as soon as I type the ^ after the \sec, it autocompletes the \sec to \section. Or when I'm working in a tikzpicture ...
Salvatore Brusco's user avatar
0 votes
0 answers
48 views

Changing the behavior of autocomplete of labels in TexMaker

As someone that is trying to migrate from Overleaf to another LaTeX editor, autocompleting labels in TexMaker has proven to be far from optimal to me. From what I found, I can make TexMaker ...
Francisco's user avatar
10 votes
2 answers
1k views

Looking for a good Emacs/AUCTeX setup for LaTeX3

I'm trying to switch my editor from vscodium (telemetry free VS Code) to Emacs. So far, I've installed AUCTeX and tried some things in a testdocument. For regular LaTeX code everything is fine. But ...
lukeflo's user avatar
  • 1,597
1 vote
1 answer
62 views

Auto-completion all text in Texstudio without shortcut

How to autocomplete regular text in Texstudio, not just mathematical text, and without using shortcuts? Whenever I type 3 letters consecutively, I want the autocomplete window to appear. I don't want ...
Denis da Mata's user avatar
1 vote
0 answers
107 views

How to enable auto-completion for \gls* and friends in TeXstudio when using package glossaries-extra with bib2gls?

It is standard behaviour of TeXstudio to autocomplete certain commands with arguments. For example, when correctly set up, \cite commands will offer bibliography entries, \ref will provide created ...
Linear Christmas's user avatar
0 votes
0 answers
62 views

Is there an autocomplete function for main body text in overleaf?

Commands can autocomplete, but ideally, I would have an extension that can also autocomplete main body text. I have this in VS Code, but I like the overleaf editor more. Does anyone know if such a ...
Smamorti7's user avatar
2 votes
1 answer
62 views

How to change keybinding to move to next placeholder in TeXShop on Mac

I am currently using TeXShop to edit my LaTeX documents on my Mac. say on my Latex document I write-\frac and press tab.This will automatically generate- \frac{|*}{*} with my cursor where '|' is made. ...
SilianRail's user avatar
0 votes
0 answers
40 views

Adding the command \text{} to the TeXstudio autocompletion list

TeXstudio suggests \texttt{} and \textwidth as completions for \text. It does not suggest \text{}. I believe that \text{} is part of the amsmath package, and amsmath.cwl is checked in preferences/...
Marc's user avatar
  • 1
2 votes
1 answer
107 views

TexShop Autocompletes & with a period

For some reason, TexShop started autocompleting any ampersand & by adding a period/full stop, which is not a feature that I consider desirable, given that I almost exclusively use the symbol for ...
user297024's user avatar
0 votes
0 answers
162 views

AUCTeX does not autocomplete environment commands of packages loaded in TeX-master

I am encountering a similar problem to this very old question, in that AUCTeX is not autocompleting commands outside the TeX-master file. I have the following files: main.tex: % arara: pdflatex % ...
Johannes Nauta's user avatar
0 votes
0 answers
104 views

Triggers and auto-completions with ```glossaries-extra``` + ```bib2gls``` in Latex Workshop and Overleaf

I've recently raised a question about citing and keeping track of long lists of species names (Is it possible to add triggers (like the ones used in snippets) for quickly citing specific terms my text ...
Michele Rossini's user avatar
0 votes
0 answers
45 views

Is it possible to add triggers (like the ones used in snippets) for quickly citing specific terms my text (LaTex, Overleaf)?

I am writing a paper that includes hundreds of species names, authors and years (e.g., Homo sapiens Linnaeus, 1758). It is very hard to keep track of all these details and fairly easy to accumulate ...
Michele Rossini's user avatar
0 votes
0 answers
30 views

Can you have a cwl file with a macro that is only avaliable within another command?

The mathtools' documentation gives an example for defining a helpful Set command (page 27 of version dated 2022/06/29): % just to make sure it exists \providecommand\given{} % can be useful to refer ...
TimeTravelPenguin's user avatar
1 vote
0 answers
41 views

References undefined while autocomplete does find the reference [duplicate]

When I add references to my file it outputs a question mark and the error message "citation 'label' in page '1' undefined." However, autocomplete does notice the reference which implies to ...
dorus Boogaard's user avatar
0 votes
1 answer
42 views

Why Texstudio somtimes autocomplete the longer command?

I wanted to input the command \rightarrow in Texstudio, so I just typed \righta and then Textstudio gave me two suggestions \rightarrow and \rightarrowtail. As the command \rightarrow was selected, I ...
jack S's user avatar
  • 1
2 votes
2 answers
1k views

how to add unicode characters in vscode latex (input)

In vscode, I would like to type something like \scrK to get 𝒦. There is a Unicode Latex plugin but it takes several extra keystrokes. What would be the easiest way to accomplish this? Thanks! (I'm ...
JPi's user avatar
  • 13.7k
0 votes
1 answer
150 views

Trouble with enabling bibliography entries in Winedt editor

I currently have a tiny problem with enabling bib references autocompletion when using Winedt editor. Here comes the description: I have a collection of bib reference entries in a myref.bib file and I ...
Jiameng Zhao's user avatar
0 votes
1 answer
97 views

TexShop does not accept the keyboard global configuration

I have a question, perhaps for Unix/MacOS connoisseurs, or maybe rather for TeX users. This is my problem: I work with LaTeX almost daily in several languages, mainly English, but also and frequently ...
GPadilla's user avatar
0 votes
1 answer
279 views

Get citation autocomplete to work with custom style on TexStudio

I have read through and tried question 1 and question 2, however I still can't get to work. The autocomplete does not complete, TexStudio can't find the citation. I am using subfile if that matters. ...
G. Bay's user avatar
  • 2,111
0 votes
0 answers
101 views

Is it possible to remove a specific command from Overleaf autocomplete?

I'm aware of this post: Can suggested commands be removed from TeXstudio's autocomplete? However I wanna remove a VERY ANNOYING suggestion from overleaf which is \frac{} instead of \frac{}{}. I've ...
pepepopo's user avatar
1 vote
1 answer
230 views

cwl files not getting updated

I am using TeXstudio on macOS Monterey. I am facing the following scenario: I have created the files abc.tex and abc.sty in some same folder. I compile them. But, seeing no autocompletion happening ...
Atom's user avatar
  • 665
1 vote
1 answer
110 views

cwl files not rendering autocompletion

I am using TeXstudio 4.2.3 on Mac. So, I start with a blank folder and create an abc.sty file, defining some \newcommands. I then use that package in, say abc.tex file, that I create in the same ...
Atom's user avatar
  • 665
1 vote
1 answer
35 views

Suppress Texmaker pre determined autocompletion

I have tried pretty much all Latex editors out there, and I find Texmaker the best compromise between features and simplicity. However, I am quite annoyed that it is not possible to remove certain pre ...
Tommaso Seneci's user avatar
0 votes
0 answers
26 views

autocompletion removes the \ in the beginning of latex code

https://github.com/SublimeText/LaTeXTools/issues/1527 a work around for problems with auto complete in ST4 hopefully of some use to other users
js bibra's user avatar
  • 21.4k
1 vote
0 answers
168 views

Autocomplete not working when loading Biblatex in *.sty file

For clarity reasons I want to outsource all my packages in a packages.sty and all my commands in a commands.sty. I can now call them by running \documentclass{scrbook} \usepackage{packages} % ...
Dominicus1165's user avatar
0 votes
1 answer
266 views

TeXShop is not auto-completing \ref{...} commands with labels using F5 any more?

In TeXShop, I used to use F5 to suggest auto-completions for \ref{ } commands, for example, \ref{fig: ... and then pressing F5 would list all the fig:... labels I had assigned for me to choose from. ...
Leah Wrenn Berman's user avatar
0 votes
1 answer
231 views

Auto completing the \begin{....}

Previously, before installing the version 4.2 for texstudio, I was able to write \begin{... and press enter for studio to write automatically \begin{*environment-name*} content... \end{*...
Oğuzhan Kılıç's user avatar
1 vote
0 answers
43 views

texStudio more comprehensive autocompletion

I have been typing a pretty long hand-written note using TexStudio, and noticed that whenever I typed a previously used long expression with sub/superscripts, it would automatically complete the ...
username123's user avatar
2 votes
1 answer
148 views

Algorithmically generating the syntax of math equations

Is there a way to algorithmically write equation syntax in latex?? Suppose I want to write the N-point DFT matrix in an equation, then is it possible if i specify what each entry of NxN matrix will be ...
Kutsit's user avatar
  • 179
3 votes
0 answers
48 views

Setting additional brackets according to the pattern in the operator

Good day everyone! Maybe someone can suggest how to define a new (or override an existing) operator in a document, so that depending on the argument, the external output changes. In particular, I'm ...
Sssur's user avatar
  • 97
1 vote
0 answers
30 views

Auto completion duplicates text [Kile]

When I try to autocomplete an argument in Kile it ends up writing the entire command and ignores what I wrote, like this: \document \document\documentclass{} I'm not sure what's causing this, any ...
Koishi's user avatar
  • 11
0 votes
2 answers
322 views

Is there a way to change the default autofill of \begin{figure}?

Eg. I want it to, when I type \begin{figure} and press enter, autocomplete the following: \begin{figure}[!htb] \centering \includegraphics[width=\textwidth]{} \caption{} \label{} \end{...
Rvan8's user avatar
  • 23
3 votes
1 answer
2k views

How to Autoclose $...$ (math mode enclosed using single dollar signs?)

I'm using Visual Studio Code text editor to type up a LaTeX .tex document. Most text editors will auto-close brackets for you, so that when you type "{" it adds "}" and then moves ...
Benjamin Tupper's user avatar
2 votes
1 answer
246 views

How to add External Bibtex File to Autocompletion List in Texstudio?

I recently generated a large separate Bibtex file with all the references I ever should need. I use Texstudio to type my Latex documents, which has the advantage that it suggests commands. The ...
Constantin K's user avatar
2 votes
1 answer
224 views

Autocompletion and replacing macros abbreviation by code in TeXStudio

I'm trying to migrate to TeXstudio from a different editor, and was wondering whether it's possible to configure the following functionality: If I write "\thm" (without the quotation marks) ...
Reveillark's user avatar
0 votes
0 answers
104 views

Texstudio autocomplete figure environment, insert expected content

Using texstudio when I being to write \begin{figure} of course it introduces some autocomplete possibilities. That being said, when I choose \begin{figure}[placement]... it only writes \begin{figure}[...
Morten Nissov's user avatar
1 vote
1 answer
107 views

keyvals not recognized from *.cwl file

I'm making a .cwl file for the package nicematrix, and am unsure how TeXstudio checks keyvals for completion. Here is a sample .cwl file and an image of the editor in TeXstudio that display the issue: ...
mbert's user avatar
  • 4,541
1 vote
1 answer
170 views

TexStudio Setting

How do I remove the small white rectangles around the bracket? I have brackets set to autocomplete, and the only manual way of getting rid of them is to manually write the other bracket which I find ...
Ritvik's user avatar
  • 11
1 vote
0 answers
47 views

TeXShop autocompletion gone crazy!

Quite often when typing in the TeXShop editor, weird snippets of text suddenly appear where I am typing. Usually, it's an word or a couple of words, and usually they are completely unrelated to ...
James J Madden's user avatar
5 votes
1 answer
934 views

Stopping automatic compilation

As I stop writing in Texstudio, the compiler automatically starts compilation. I don't even need to press F6 button. Sometimes this is very uncomfortable. How do I stop auto compilation? P.S: I have ...
Manjoy Das's user avatar
3 votes
2 answers
300 views

TeXStudio: Autocomplete missing for some commands (acronym pkg)

I'm using TeXstudio 3.1.1 (git 3.1.1) on Windows 10 to write a TeX document with BibLaTeX bibliography. The document uses this KOMA thesis template. To support using acronyms, I use the acronym ...
stefanbschneider's user avatar
2 votes
1 answer
167 views

TeXStudio macro not showing in auto-completion

I have created two macros in TeXStudio to input figure and subfigure environments with the abbreviations/usertags \myFigure and \Subfigure respectively, as shown below. The Figure macro works as ...
Nawit's user avatar
  • 85
1 vote
1 answer
364 views

Sublime text 3 Latex autocomplete issue

I use sublime text 3 for Latex. Whenever I use autocomplete say I wrote \section{ then hit enter what sublime text suggests, I end up having section{} without \ sign in front. Am I missing something? ...
Oner Yigit's user avatar

1
2 3 4 5 6