From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.help Subject: Re: help with calc (TeX-language-mode) Date: Mon, 14 Feb 2005 23:53:53 -0600 Message-ID: <87hdkepdvy.fsf@vh213602.truman.edu> References: Reply-To: belanger@truman.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108446872 527 80.91.229.2 (15 Feb 2005 05:54:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Feb 2005 05:54:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 15 06:54:32 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0vey-000825-80 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Feb 2005 06:54:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0vue-0002Ax-Dp for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Feb 2005 01:10:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.newsfirst.net!newshub.more.net!news.more.net!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:j4467c2OI6tvlV4I58s5iylVofg= Original-Lines: 15 Original-NNTP-Posting-Host: 150.243.190.23 Original-X-Trace: news.more.net 1108446833 150.243.190.23 (Mon, 14 Feb 2005 23:53:53 CST) Original-NNTP-Posting-Date: Mon, 14 Feb 2005 23:53:53 CST Original-Xref: shelby.stanford.edu gnu.emacs.help:128563 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24095 > 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