# Tag Info

11

AUCTeX has autocompletion mechanisms different from most of the other LaTeX editors. In Emacs, when TeX-latex-mode is activated, the sequence Ctrl-c Ctrl-e (the - means that the second key has to be pressed while holding the first, while the space implies the release of both keys before the next combination) opens the mini-buffer dialog interface at the ...

10

In Windows, WinEdt offers this feature. You write few letters of a word and then press Ctrl + Enter. A pop-up window will show you the possible list of words as in the following figure. Double clicking on the desired word will insert it in the place. Sublimetext Sublime text too has this feature. But I found that its word completion is not as ...

7

Yes, this is a bug and will be fixed in WinEdt 8.2. In the meantime, you can get things working properly in this way. Open Tree.ini from the "Options Interface". Do the following global replacement with Regular Expressions on: Search for: <$$0@{ }$$MACRO="GlobalReturn;$$1*$$GlobalMark;" Replace with: <\0MACRO="GlobalMark(1);GlobalReturn;\1" ...

6

You can use physics package and exploit its expval (or the short ev) command: \documentclass{article} \usepackage{physics} \begin{document} $\langle x \rangle$ $\langle x^{A} \rangle$ $\expval{x}$ $\ev*{x^{A}}$ $\expval{x^{A}}$ $\ev{x^{A}}$ \end{document} Or use mathtools package and define a macro \DeclarePairedDelimiter\ev{\langle}{\rangle}% ...

5

Emacs can also do this, for example using Toby Cubitt's predictive mode. There are a bunch of other modes that can also help, as well. Other options include AutoComplete and company-mode Even more options are listed in the Emacswiki Completion Category page

5

Besides the choices listed by Robert in his answer, which probably won't work in the latest versions of WinEdt (version 6 is quite obsolete now and has not full support for Unicode), WinEdt has a built-in completion feature. Execute the command 'Complete Word' (Ctrl+Enter) in the Tools menu and WinEdt will display a dialog with a list of possible ...

5

Qrrbrbirlbel is exactly right: They probably are stored in the .exe. Proposal: Copy both xspace.cwl and hyperref.cwl to the %APPDATA%\texstudio\ folder and add the missing macros. Entries in %APPDATA%\texstudio\ override the ones integrated in TeXstudio. Also, I encourage you to share your updated cwl files, so we can integrate them for the next ...

4

I would use a TeXstudio macro for something like this. Go to Macros ⇒ Edit Macros.... Click + Add. Enter a name, e.g. My table. This will appear in the macros menu. Enter a trigger. I like to use things like MYTABLE, which you’re unlikely to use as normal text. When you type this trigger anywhere in your document, it will be replaced by your table ...

4

4

If you are editing a file with .tex extension, then emacs should automatically enter latex-mode (you will see (LaTeX) in the status bar). In this mode, C-c C-o calls latex-insert-block which will prompt for the block name and arguments, with history and automatic name suggestion. This will insert both the beginning and end commands. If you already typed ...

3


3

I think another solution would consist in using this macro (which I name d-math.edt in the explanations that follow): BeginGroup; InsLine; GoToBeginningOfLine; Indent; Ins("%"); PreviousBullet; EndGroup; The macro shortcut is defined through this addition to the Shortcuts menu in `MainMenu.ini: ITEM="" ...

3

Make sure that you use TeXStudio in master mode. To cite the manual of TeXStudio section 4.1: TeXstudio allows you to work onto documents separated in several files. To include a TeX file into your document, just use the "\include{file}" command in the "LaTeX" menu. The file will appear in the "Structure View". With a click on his name, TeXstudio will ...

3

For things like this you should always check WinEdt's community site. There you'll find two macros for auto-completion (however, they both will only search in the current file, not in the current directory): complete will incrementally search backwards for words starting with the same letters as the current word; you can invoke the macro multiple times ...

3

TeXstudio and TeXworks take a somewhat different approach to auto-complete information, at least in part as the two programs have slightly different aims (TeXstudio is a LaTeX editor, TeXworks is a TeX editor and so has fewer LaTeX-specific parts at least in the core). That said, it certainly would be possible to use the auto-complete information from ...

3

The behaviour you describe has nothing to with the Python programming language, it is a feature of the editor you use to write the Python code -- Eclipse, as I understand it. If Texmaker doesn't do this, then you can't really do anything other than file a feature request and see if the author adds it, or learn to live without it. The other option is to ...

2

If TeXstudio doesn’t recognize the landscape environment even though you have \usepackage{pdflscape} in your preamble, try activating the pdflscape.cwl file under “Options” → “Configure TeXstudio” → “Completion”. The same applies for \multirow and multirow.cwl.

2

For completeness: You find more info on how the completer works in the FAQ. In the special case of eqnarray*, it's not really missing but included in l2tabu.cwl. This is not loaded by default, because eqnarray* is deprecated. If you insist to use it for some reason, you can include it by checking l2tabu.cwl at Options -> Configure -> Completion -> Use ...

2

The bullets added by the autocompletion feature in TeXworks are there for navigational purposes. By hitting Ctrl + Tab the cursor will move to the position of the bullet, and the next bullet will be selected. With Ctrl + Shift + Tab you jump to the previous bullet. This allows you to quickly jump out the the environment or whatever it is you've added.

2

For the case you've given ] is inserted, because \item[text] is in the completer. Once you've typed \item[ this is the only possible choice in the completer. You may disable this by unchecking Configure -> Completion -> Autocomplete Common Prefix.

2

Go to Macros -> Edit Macros ... and add a new entry: Notes: The slashes in the trigger are necessary, because it's a regexp. You may want to disable Configure -> Advanced Editor -> Special Options -> Auto Complete Parentheses. Otherwise, you'll have an additional ) from the auto completion of the first (. Alternatively, you could switch the ...

2

After you type the closing } in \ref{}, WinEdt should bring up a list of the labels present in the current document, or, more precisely, in the current main file. No other keys are required, unless something's wrong with your configuration or document.

2

I think that is not possible without touching the source code. You can customize completions in in User > Customize Completion as explained in Customize auto-completion in Texmaker. However even any custom completion with \begin{...} is ended automatically with \end{...} and very unfortunately you cannot modify the items provided by TeXmaker. I figured ...

2

Made comment into answer which satisfied the OP Options-->Configure Texmaker-->Editor--> Is completion checked on and add .bib extension \addbibresource{biblatex-examples.bib}. Check if you can see .bib file in Structure on left side pane or open the .bib file with Texmaker from File menu.

2

Using CTRL + Right will suffice under TeXstudio 2.6.6 (hg 4105+:b24377c712d7+) using Qt Version 4.8.5, compiled with Qt 4.8.5 R. The manual says under section 1.5 Configuring the autocompletion: Use Placeholders: if the completed commands have options which need to be filled out, "place holder" are put at this positions and they can be jumped to by ...

2

I collocated these in my discussion with Torbjørn T and this answer to find my way: You should open your TeXworks, choose Scripts--> Scripting TeXworks --> Show Scripts Folder. Then you will achieve folder like "C:\Users\user\TeXworks\scripts". You should go to Folder "C:\Users\user\TeXworks\completion" instead. TeXworks stores the completion data in a ...

1

From the Macros menu, go to "Edit Macros...". Add a new entry with the "Add" button then type in the specifics of your Macro. Give it a Name for your own ease of use, write the Trigger command (for eg. phl, short for photolithography), select among Normal/Environment/Script (Normal is ok here), then don't forget the crucial step: LaTeX code. In this case I'd ...

1

Thanks to user cfr for suggesting this work-around (see discussion here)! To solve the double quote effect of ' mark, go to Settings menu > Configure Kile > Editor > Editing > Auto-Brace plugin. Select it and click on its configuration button, on the right. Un-check the option "Automatically add closing quotation marks". A msg box will pop-up telling you ...

1

When you type \begin{itemize} the completion options are shown under the environments completion scheme, not under itemize completion. Hence you will get \begin{itemize} content ... \end{itemize} Here itemize is treated as an environment. If you want itemize completion with \item use the menu \begin{itemize} available under, LaTeX → List Environments. ...

1

I assume, the fixme.cwl was autogenerated. It seems that in this case the autogeneration mechanism was not able to extract the information from the fixme package that \fxnote is a valid command. Check if \fxnote is in your fixme.cwl. If not, simply add it (Note: You need to restart TXS afterwards). If this did not help, see the FAQ on unrecognized commands ...

Only top voted, non community-wiki answers of a minimum length are eligible