* '|' in a table
@ 2007-04-11 18:10 Leo
2007-04-11 18:24 ` William Henney
0 siblings, 1 reply; 6+ messages in thread
From: Leo @ 2007-04-11 18:10 UTC (permalink / raw)
To: emacs-orgmode
Hello, list,
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?
Thanks,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: '|' in a table
2007-04-11 18:10 '|' in a table Leo
@ 2007-04-11 18:24 ` William Henney
2007-04-11 18:36 ` Leo
2007-04-19 13:53 ` Christoph Bauer
0 siblings, 2 replies; 6+ messages in thread
From: William Henney @ 2007-04-11 18:24 UTC (permalink / raw)
To: Leo; +Cc: emacs-orgmode
Hi Leo
On 4/11/07, Leo <sdl.web@gmail.com> wrote:
> 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
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: '|' in a table
2007-04-11 18:24 ` William Henney
@ 2007-04-11 18:36 ` Leo
2007-04-19 13:53 ` Christoph Bauer
1 sibling, 0 replies; 6+ messages in thread
From: Leo @ 2007-04-11 18:36 UTC (permalink / raw)
To: William Henney; +Cc: emacs-orgmode
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)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: '|' in a table
2007-04-11 18:24 ` William Henney
2007-04-11 18:36 ` Leo
@ 2007-04-19 13:53 ` Christoph Bauer
2007-04-19 20:35 ` Carsten Dominik
1 sibling, 1 reply; 6+ messages in thread
From: Christoph Bauer @ 2007-04-19 13:53 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I have the same problem, but with HTML export. My
best idea for a|b so far is:
a \brvbar b
With html \vert isn't translated :-(
My version of org-mode is 4.67c.
Thanks for any help,
Christoph Bauer
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: '|' in a table
2007-04-19 13:53 ` Christoph Bauer
@ 2007-04-19 20:35 ` Carsten Dominik
2007-04-20 7:03 ` Christoph Bauer
0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2007-04-19 20:35 UTC (permalink / raw)
To: Christoph Bauer; +Cc: emacs-orgmode
\vert will work in version 4.72, will be translated to |
- Carsten
On Apr 19, 2007, at 15:53, Christoph Bauer wrote:
> Hi,
>
> I have the same problem, but with HTML export. My
> best idea for a|b so far is:
>
> a \brvbar b
>
> With html \vert isn't translated :-(
>
> My version of org-mode is 4.67c.
>
> Thanks for any help,
> Christoph Bauer
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Re: '|' in a table
2007-04-19 20:35 ` Carsten Dominik
@ 2007-04-20 7:03 ` Christoph Bauer
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Bauer @ 2007-04-20 7:03 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
Carsten Dominik <dominik@science.uva.nl> writes:
> \vert will work in version 4.72, will be translated to |
Great! Thank you,
Christoph
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-04-20 7:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11 18:10 '|' in a table Leo
2007-04-11 18:24 ` William Henney
2007-04-11 18:36 ` Leo
2007-04-19 13:53 ` Christoph Bauer
2007-04-19 20:35 ` Carsten Dominik
2007-04-20 7:03 ` Christoph Bauer
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).