<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Nov 6, 2005, at 5:23 PM, Brad Miller wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Georgia" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Georgia; "><SPAN class="Apple-style-span" style="font-family: Georgia; font-size: 16px; ">or (the following does not seem to be well documented, but appears to work)</SPAN></SPAN></FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT class="Apple-style-span" face="Bitstream Vera Sans Mono"><SPAN class="Apple-style-span" style="font-family: Bitstream Vera Sans Mono; "> </SPAN></FONT><FONT class="Apple-style-span" face="Bitstream Vera Sans Mono"><SPAN class="Apple-style-span" style="font-family: Bitstream Vera Sans Mono; ">$$ dispalyed math equation $$</SPAN></FONT></DIV><P style="margin: 0.0px 0.0px 8.0px 0.0px; font: 16.0px Georgia; min-height: 19.0px; font-family: Georgia; font-size: 16px; "><BR style="font-family: Georgia; font-size: 16px; "></P></SPAN></BLOCKQUOTE>Hm, I have to admit I find this statement very surprising. It is extremely well documented in the TeXbook: </DIV><DIV><A href="http://www.ctan.org/tex-archive/systems/knuth/tex/texbook.tex">http://www.ctan.org/tex-archive/systems/knuth/tex/texbook.tex</A></DIV><DIV>I guess this might be the difference: That this is the way to do it in TeX, but not in LaTeX. Anyway...<BR><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>I don't think there is any difference between equation* and displaymath but I could be wrong...</DIV><DIV><FONT class="Apple-style-span" face="Georgia" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Georgia; "><BR class="khtml-block-placeholder"></SPAN></FONT></DIV></SPAN></BLOCKQUOTE>Well, I guess the question here would be, if you redefine one of the two, does that redefine the other as well? I dunno, I'm afraid I don't have a very deep knowledge of LaTeX either.</DIV><DIV><BR><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><FONT class="Apple-style-span" face="Georgia" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;; font-family: Georgia; "></SPAN></FONT></DIV><DIV>I think for purposes of scoping in TextMate we ought to treat them all the same.</DIV><DIV><BR class="khtml-block-placeholder"></DIV></SPAN></BLOCKQUOTE>I agree.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Upon further investigation of my file, the problem seems to be that all this falls also under the scope of meta.function.with-arg.tex, since it happens within the scope of a \comment{ command. If I close this command before the displaymath part, then it works fine. So this is not a problem simply to do with the math scopes.</DIV><DIV><BR><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV></DIV><DIV>Brad</DIV></SPAN></BLOCKQUOTE></DIV><BR></BODY></HTML>