emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] TABLES: aesthetics on columns


From: Daniel Martins
Subject: [O] TABLES: aesthetics on columns
Date: Wed, 23 Nov 2011 09:13:18 -0200

I have two questions on (possibly) improving aesthetics on columns
when editing org tables.

Following the thread on table editing, I have a minor issue with
editing org-mode for Latex generation (which I do most of the time!).
I have a table with several columns which are e.g. integer numbers and
the headings are single variables such as
a,b,c, M,k etc
it is OK but I want to include sometimes Greek terms and subscripts such as
\lambda or
$\delta_\kappa$
and the columns are not so nice to see and edit due to the different spacings


In Latex I could use \def

\def\ll{$\lambda$}
\def\dk{$\delta_\kappa$}


and the use \ll and \dk on the headings is quite nice (despite the
generally horrendous aspect of Latex tables when compared with the
clean, neat, simple and effective counterpart in org-mode).

So I have the first question:

1) Can I do the same in org-mode i.e. a previous (and possibly local)
definition or long variable befopre putting them in a table?


The other (maybe superfluous) question is

2) Can I locally define a table as completely in math mode?

So I could type e.g.


A)
|---+---+---+---|
|   | M | l | k |
|---+---+---+---|
| M | - |   |   |
| l |   | - |   |
| k |   |   | - |
|---+---+---+---|

Instead of

B)
|-----+-----+-----+-----|
|     | $M$ | $l$ | $k$ |
|-----+-----+-----+-----|
| $M$ | -   |     |     |
| $l$ |     | -   |     |
| $k$ |     |     | -   |
|-----+-----+-----+-----|

and when I export a table like A) to Latex I have the aspect of B) instead?


Daniel

2011/11/22 Michael Brand <address@hidden>
>
> Hi Daniel
>
> On Tue, Nov 22, 2011 at 15:26, Daniel Martins <address@hidden> wrote:
> > Thank you very much!!!
> > Just one point
> > In my case at least M-<down> does not insert a new line!
>                      ^^^^^^^^^
>
> Yes, my fault. Corrigendum:
>
> 1) M-S-<down> to add the new row
> 2) mark the region from "t" down to any char from the field below
> 3) M-Ret
>
> Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]