From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: '|' in a table Date: Wed, 11 Apr 2007 13:24:26 -0500 Message-ID: <41c818190704111124w4f9d4be0t304936cddbd36c14@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HbhYg-0007ze-U5 for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:28:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HbhYf-0007v8-Cv for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:28:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HbhYf-0007ui-7U for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:28:41 -0400 Received: from an-out-0708.google.com ([209.85.132.240]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HbhUa-0002JN-74 for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:24:28 -0400 Received: by an-out-0708.google.com with SMTP id b8so299205ana for ; Wed, 11 Apr 2007 11:24:27 -0700 (PDT) In-Reply-To: Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Leo Cc: emacs-orgmode@gnu.org Hi Leo On 4/11/07, Leo wrote: > I need to input a LaTeX formula in a cell of a org table. The formula > looks like this: > > $mad(x) =3D 1.4826\cdot median(|x_i-median(x)|)$ > > However org will think '|' as delimiter of the table. Any solutions? > $mad(x) =3D 1.4826\cdot median(\vert x_i-median(x)\vert)$ Or, better still \newcommand{\median}{\mathop{\mathrm{median}}} \newcommand{\mad}{\mathop{\mathrm{mad}}} $\mad(x) =3D 1.4826\cdot \median(\vert x_i-\median(x) \vert)$ Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia