From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16799 Path: main.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: align Date: Tue, 26 Oct 2004 21:47:44 -0700 Sender: ntg-context-bounces@ntg.nl Message-ID: <3.0.5.32.20041026214744.008c4ae0@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1098852795 17348 80.91.229.6 (27 Oct 2004 04:53:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Oct 2004 04:53:15 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 27 06:53:03 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMfnz-0005It-00 for ; Wed, 27 Oct 2004 06:53:03 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 027261277E; Wed, 27 Oct 2004 06:53:03 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25425-07; Wed, 27 Oct 2004 06:53:02 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B2DA1277C; Wed, 27 Oct 2004 06:51:19 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C0B31277C for ; Wed, 27 Oct 2004 06:51:18 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25407-06-2 for ; Wed, 27 Oct 2004 06:51:17 +0200 (CEST) Original-Received: from smtp.inreach.com (unknown [209.142.2.34]) by ronja.ntg.nl (Postfix) with SMTP id 5309112777 for ; Wed, 27 Oct 2004 06:51:17 +0200 (CEST) Original-Received: (qmail 3135 invoked from network); 27 Oct 2004 04:52:38 -0000 Original-Received: from unknown (HELO newmicronpc) (209.209.15.139) by smtp.inreach.com with SMTP; 27 Oct 2004 04:52:38 -0000 X-Sender: darnold@mail.northcoast.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Original-To: ntg-context@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16799 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16799 All, In ams math, the default behavior of align is to align each equation on the &. By default, each equation is numbered. Individual equations can be labeled and referenced. Try: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} F(x)&=\int_0^x f(t)\, dt\label{eq:1}\\ F'(x)&=f(x)\label{eq:2} \end{align} In equation~(\eqref{eq:1}) and equation~(\eqref{eq:2}), we see\ldots \end{document} To suppress number of equations, we use the align* environment. Try: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} F(x)&=\int_0^x f(t)\, dt\\ F'(x)&=f(x) \end{align*} \end{document} When one wants to number an aligned environment as a group, we use aligned instead of align. This requires that we be in math mode. Try: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation}\label{fundthm} \begin{aligned} F(x)&=\int_0^x f(t)\, dt\\ F'(x)&=f(x) \end{aligned} \end{equation} \end{document} I can get this with amsl, with: \usemodule[amsl] \starttext \placeformula[fundthm] \startalign F(x)&=\int_0^x f(t)\, dt\\ F'(x)&=f(x) \stopalign We see in the \in{Fundamental Theorem}[fundthm] \ldots \stoptext I'm not sure how to label and reference individual equations in the align environment, however.