From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: '|' in a table Date: Wed, 11 Apr 2007 19:36:14 +0100 Message-ID: References: <41c818190704111124w4f9d4be0t304936cddbd36c14@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hbhk8-0006Ln-1q for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:40:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hbhk6-0006Lb-HD for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:40:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hbhk6-0006LY-Et for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:40:30 -0400 Received: from ppsw-9.csi.cam.ac.uk ([131.111.8.139]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hbhg1-0004Et-B7 for emacs-orgmode@gnu.org; Wed, 11 Apr 2007 14:36:17 -0400 In-Reply-To: <41c818190704111124w4f9d4be0t304936cddbd36c14@mail.gmail.com> (William Henney's message of "Wed\, 11 Apr 2007 13\:24\:26 -0500") 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: William Henney Cc: emacs-orgmode@gnu.org Dear William, On 2007-04-11, William Henney said: >> I need to input a LaTeX formula in a cell of a org table. The formula >> looks like this: >> >> $mad(x) = 1.4826\cdot median(|x_i-median(x)|)$ >> >> However org will think '|' as delimiter of the table. Any solutions? >> > > $mad(x) = 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) = 1.4826\cdot \median(\vert x_i-\median(x) \vert)$ > > Cheers > > Will That's wonderful answer. Thanks. regards, -- Leo (GPG Key: 9283AA3F)