<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Dear Stefan:<BR>
&nbsp;<BR>
thank you very much. <BR>
Yes I found the mistakes you pointed out, I appreciate it very much.<BR>
&nbsp;<BR>
I tried you suggestion, yes if I modify the line beginning with {equation} I can get what I want<BR>
However if I try to modiry the line beginning with bequ:.....<BR>
and I press Tab after typing bequ I still get the old one..<BR>
&nbsp;<BR>
btw, dear Joseph thank you for your reminding, I always reopen texworks after modifying the tw-latex.txt£¬ am I correct? :p<BR>
&nbsp;<BR>
The most weird thing, I moved tw-latex.txt away and created a new tw-latex.txt file with only<BR>
&nbsp;<BR>
%%!TEX encoding = UTF-8 Unicode<BR>bequ:=\begin{equation}#RET#test#INS##RET#\end{equation}<BR>
&nbsp;<BR>
as its content and when I pressed tab after typing bequ, I still got <BR>
&nbsp;<BR>
\begin{equation}<BR>
cursor<BR>
\end{equation}bullet <BR>
<BR>I pressed tab several times, then I got what I modified. So, I guess, are there some complement codes "embedded" in texworks?<BR>
&nbsp;<BR>
Yes the tab+ctrl seems to be occupied by windows as some kind of hotkey, I am not sure if the software autohotkey can<BR>
help us release it from windows....<BR>
&nbsp;<BR>
Thank you<BR>
<BR><BR>Regards, Shao Peng<BR><BR><BR>&nbsp;<BR>&gt; Date: Wed, 29 Apr 2009 09:14:39 +0200<BR>&gt; From: st.loeffler@gmail.com<BR>&gt; To: texworks@tug.org<BR>&gt; Subject: Re: [texworks] how to customize the completion<BR>&gt; <BR>&gt; Hi,<BR>&gt; <BR>&gt; Peng Shao schrieb:<BR>&gt; &gt; The tw-latex.txt file I modified is the one in<BR>&gt; &gt; C:\Documents and Settings\shaopeng\TeXworks\completion<BR>&gt; &gt; and in linux, it is in ~/texworks/res/resfiles/completion<BR>&gt; <BR>&gt; At least the linux file is not the correct one. The one you mention is<BR>&gt; just the template from the source code that gets copied to your "real"<BR>&gt; configuration directory, which should be ~/.TeXworks/completion<BR>&gt; <BR>&gt; I just tested your modifications on Linux (Ubuntu 9.04) and maybe found<BR>&gt; your problem.<BR>&gt; If I enter "bequ" and press tab I get the modified environment (i.e.<BR>&gt; with "test" in the middle). If I write "\begin{equa" and press tab I<BR>&gt; s!
 till get the old one. The problem is that there are several different<BR>&gt; shortcuts to get the equation environment. Just search for "equation" in<BR>&gt; tw-latex.txt. You'll find (amongst others) a line starting with<BR>&gt; "{equation}" which is the one that gets used in your case.<BR>&gt; <BR>&gt; &gt; I am really really sorry to hear that the bullets do not work well<BR>&gt; &gt; under windows. I like it very much:(<BR>&gt; <BR>&gt; I imagine this is because Ctrl-Tab is used by the operating system (to<BR>&gt; tab through sub-windows). But I'd need further investigations to confirm<BR>&gt; this.<BR>&gt; <BR>&gt; Regards<BR>&gt; Stefan<BR><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>