X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1809" "Wed" "15" "October" "1997" "15:24:08" "-0400" "bbeeton" "BNB@MATH.AMS.ORG" nil "41" "Re: Possible bug in LaTeX 2e amsmath package" "^Date:" nil nil "10" nil nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.5/8.8.5) with ESMTP id VAA09989; Wed, 15 Oct 1997 21:26:55 +0200 (MET DST) Received: from lsv1.listserv.gmd.de by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <9.342B8033@listserv.gmd.de>; Wed, 15 Oct 1997 21:24:37 +0200 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 215938 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 15 Oct 1997 21:24:15 +0200 Received: from math.ams.org (math.ams.org [130.44.210.14]) by relay.urz.uni-heidelberg.de (8.8.7/8.8.7) with SMTP id VAA16687 for ; Wed, 15 Oct 1997 21:24:09 +0200 (MET DST) Received: from axp14.ams.org by math.ams.org via smtpd (for relay.urz.uni-heidelberg.de [129.206.119.201]) with SMTP; 15 Oct 1997 19:24:09 UT Received: from AXP14.AMS.ORG by AXP14.AMS.ORG (PMDF V5.1-8 #1) id <01IOU8YBDUM8000R0O@AXP14.AMS.ORG> for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 15 Oct 1997 15:24:08 EST MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Mail-system-version: Message-ID: <876943448.58106.BNB@MATH.AMS.ORG> Reply-To: Mailing list for the LaTeX3 project In-Reply-To: Date: Wed, 15 Oct 1997 15:24:08 -0400 From: bbeeton Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Possible bug in LaTeX 2e amsmath package Status: R X-Status: X-Keywords: X-UID: 2474 nelson beebe has asked about a problem that arose when he tried this with amsmath: \newenvironment{fancyequation} {\hrule \begin{equation}} {\end{equation}\hrule} sorry, nelson -- that's a feature, not a bug. here's what it says in the file technote.tex that's distributed with the ams-latex collection. \section{Why can't I use abbreviations for the \env{equation} environment?} Many users have discovered to their dismay that when switching from ordinary \latex/ to the \pkg{amsmath} package, they are no longer able to use abbreviations such as |\beq| |\eeq| for |\begin{equation}| |\end{equation}|. This has to do with unfortunately nontrivial technical complications: the environments such as \env{align} must read their contents as a delimited macro argument because they do multipass processing of the contents using algorithms inherited from Spivak's \fn{amstex.tex}. The obvious solution---substitution of different algorithms that do box shuffling instead of token shuffling for the multipass calculations---would require rewriting these display environments from the ground up; while that is a worthy goal, it was beyond the original scope of the \amslatex/ project. Some progress has in fact been made on such a solution [time of writing: January 1995], but not yet to the point of being ready for release. Users have proposed two workarounds (September 1996): \begin{itemize} \item |\def\beq#1\eeq{\begin{equation}#1\end{equation}}| (Donald Arseneau) \item Define |\newcommand{\env}[2]{\begin{#1}#2\end{#1}}| and then use |\env{equation}{...}| (Michael Skeide) \end{itemize} -------------------- this may change in the future, but i'm not going to hold *my* breath. -- bb