General ⇒ problem with autocompletion
problem with autocompletion
As I was using TeXnicCenter, the auto-completion function is very help. But:
1. everytime when I type enumera (i meant to use enumerate environment), but it is auto completed as
\begin{enumeration}
\end{enumeration}
How can I modify the autocomplete template?
2. how can i create new autocomplete terms, say, \left \right?
Thank u!!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: problem with autocompletion
(1) open ...\TeCnicCenter\packages\Tex.xml
(2) replace enumeration with enumerate. I think there are only two places (right near each other) that you need to do this. use find/replace
(3) save Tex.xml and restart TexnicCenter
I'm not so sure about your second question. I would imagine that you would need to add something to Tex.xml, but I don't know if that is, by itself, sufficient. Haven't tried myself. You can define your own text modules from the insert menu (within TeXnicCenter), but those don't seem to get added to the auto-complete list, so they don't seem to be particularly useful.
Good luck!
-
- Posts: 2
- Joined: Wed May 30, 2007 2:19 pm
Re: problem with autocompletion
This software is helping me a lot, keep on the good work

V. Guiztoa
Re: problem with autocompletion
The problem is that TXC imports all commands it finds which can be a lot. So you will maybe have to edit the "packages.xml" to remove some commands or inspect the structure of that file to write your own.
problem with autocompletion
In the autocompleted version that came with the installation the code is: This causes errors when you \ref{} to the label, since latex won't be able to find the correct item to label to. The correct code places the label after the caption: So that latex refers to the caption number.
Re: problem with autocompletion

Re: problem with autocompletion
Re: problem with autocompletion
Thanks.
problem with autocompletion
Is this a bug? Is it fixable?
-
- Posts: 3
- Joined: Mon Feb 25, 2008 5:13 pm
Re: problem with autocompletion

Just type "equa" instead of "\begin...".
cu