help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with calc (TeX-language-mode)


From: Adam Duck
Subject: help with calc (TeX-language-mode)
Date: Tue, 15 Feb 2005 02:38:52 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50

Hi all,

I don't know where to ask, so I start here.

In TeX I deffed an '\aidmatrix' which is essentially like '\matrix'
but sets '\left(' and '\right)' around it.  Anyways, to use it, I
inserted the following code into `TeX-Mode Syntax Table':

"\\aidmatrix{" # ")" := #1

But this doesn't work; it tells me:

"Expected a number" and my cursor stops after "\a".  So, what now?  If
I mark only the # - i.e. "\aidmatrix{ | 0.1 & 0.2 | }" between the two
bars - everything works as expected.

bye, Adam.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]