emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: William Henney <whenney@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: '|' in a table
Date: Wed, 11 Apr 2007 19:36:14 +0100	[thread overview]
Message-ID: <m2veg2vjvl.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: <41c818190704111124w4f9d4be0t304936cddbd36c14@mail.gmail.com> (William Henney's message of "Wed\, 11 Apr 2007 13\:24\:26 -0500")

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 <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

  reply	other threads:[~2007-04-11 18:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-11 18:10 '|' in a table Leo
2007-04-11 18:24 ` William Henney
2007-04-11 18:36   ` Leo [this message]
2007-04-19 13:53   ` Christoph Bauer
2007-04-19 20:35     ` Carsten Dominik
2007-04-20  7:03       ` Christoph Bauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2veg2vjvl.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=whenney@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).