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

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

Re: help with calc (TeX-language-mode)


From: Jay Belanger
Subject: Re: help with calc (TeX-language-mode)
Date: Mon, 14 Feb 2005 23:53:53 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> 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;

You want the # to match more than one item.  If you want it to work
with different sized matrices, try

"\\aidmatrix{" { { # }*, }*; ) := #1

Jay

reply via email to

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