emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table with LaTeX math expressions as default
@ 2014-01-08 13:45 o.castillo.felisola
  2014-01-20 16:57 ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: o.castillo.felisola @ 2014-01-08 13:45 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]

Hi  there!

I'm using org-mode to generate a table which has columns with mathematical
expressions in certain columns.

   #+caption: Berger's list of Holonomy groups
   #+name: tab:holonomy

|---+---------------+-----------------------------+-----------------------|
   |   | Metric        | Holonomy                    |
Dimension             |

|---+---------------+-----------------------------+-----------------------|
   | / | <>            | <>                          |
<>                    |
   | # | Kaehler       | \( U(\tfrac{n}{2}) \)       | \(n\in 2\mathbb{N}
\) |
   | # | Calabi-Yau    | \( SU(\tfrac{n}{2}) \)      | \(n\in 2\mathbb{N}
\) |
   | # | Hyper-Kaehler | \( Sp(\tfrac{n}{4}) \)      | \(n\in 4\mathbb{N}
\) |
   | # | Quaternionic  | \( Sp(\tfrac{n}{4})Sp(1) \) | \(n\in 4\mathbb{N}
\) |
   | # | Exceptional   | \( G_2 \)                   |
7                     |
   | # |               | \( Spin(7) \)               |
8                     |

|---+---------------+-----------------------------+-----------------------|

Unfortunately, these math expressions should be typeset between \( and \).

*QUESTION*

Is there a way to say that a column contains (by default) mathematical
expressions?

In LaTeX the answer would be:
- Use the package =array=
- In the format of the array column include >{$} c <{$}, to indicate these
is a math expression

Thank you.

-- 
_____________________________________
Oscar Castillo-Felisola.
Grupo de Fisica Teorica.
UTFSM -- CCTVal.
Av. Espana, 1680, Valparaiso-Chile.
______________________________________

[-- Attachment #2: Type: text/html, Size: 2069 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Table with LaTeX math expressions as default
  2014-01-08 13:45 Table with LaTeX math expressions as default o.castillo.felisola
@ 2014-01-20 16:57 ` Eric S Fraga
  2014-01-21 12:07   ` o.castillo.felisola
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2014-01-20 16:57 UTC (permalink / raw)
  To: o.castillo.felisola@gmail.com; +Cc: emacs-orgmode

"o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com> writes:

> Hi  there!
>
> I'm using org-mode to generate a table which has columns with mathematical
> expressions in certain columns.

[...]

> Is there a way to say that a column contains (by default) mathematical
> expressions?
>
> In LaTeX the answer would be:
> - Use the package =array=
> - In the format of the array column include >{$} c <{$}, to indicate these
> is a math expression
>
> Thank you.

Nobody has answered yet so let me do so.  Basically, no, this is not
possible.  Org will let you define the column specifications the way you
want them but you would still have to escape the actual mathematical
expressions in the table to avoid org's exporter from escaping the
backslashes, e.g. using export snippets or macros.  The result would be
more effort than what you already have, in my opinion.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Table with LaTeX math expressions as default
  2014-01-20 16:57 ` Eric S Fraga
@ 2014-01-21 12:07   ` o.castillo.felisola
  0 siblings, 0 replies; 3+ messages in thread
From: o.castillo.felisola @ 2014-01-21 12:07 UTC (permalink / raw)
  To: emacs-orgmode, o.castillo.felisola@gmail.com

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

Thank you!
On Jan 21, 2014 5:32 AM, "Eric S Fraga" <e.fraga@ucl.ac.uk> wrote:

> "o.castillo.felisola@gmail.com" <o.castillo.felisola@gmail.com> writes:
>
> > Hi  there!
> >
> > I'm using org-mode to generate a table which has columns with
> mathematical
> > expressions in certain columns.
>
> [...]
>
> > Is there a way to say that a column contains (by default) mathematical
> > expressions?
> >
> > In LaTeX the answer would be:
> > - Use the package =array=
> > - In the format of the array column include >{$} c <{$}, to indicate
> these
> > is a math expression
> >
> > Thank you.
>
> Nobody has answered yet so let me do so.  Basically, no, this is not
> possible.  Org will let you define the column specifications the way you
> want them but you would still have to escape the actual mathematical
> expressions in the table to avoid org's exporter from escaping the
> backslashes, e.g. using export snippets or macros.  The result would be
> more effort than what you already have, in my opinion.
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.4-322-gece429
>
>

[-- Attachment #2: Type: text/html, Size: 1587 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-21 12:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-08 13:45 Table with LaTeX math expressions as default o.castillo.felisola
2014-01-20 16:57 ` Eric S Fraga
2014-01-21 12:07   ` o.castillo.felisola

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).