From: coroa@online.de (Jonas Hörsch)
To: emacs-orgmode@gnu.org
Subject: Re: TABLES: aesthetics on columns
Date: Wed, 23 Nov 2011 17:25:44 +0100 [thread overview]
Message-ID: <871usyx0tz.fsf@gmail.com> (raw)
In-Reply-To: CA+oe6vpQhVyM7U5XSPiz=6Ln4Tv_FAeAE0D641Do7ByHm8S6Vg@mail.gmail.com
On Wed, Nov 23 2011, Daniel Martins wrote:
> 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?
with a header of
#+LATEX_HEADER: \newcolumntype{m}{>{$}l<{$}}
(where you define a new type of column, which always puts a $ to the
beginning and to the end of a cell)
and
#+ATTR_LATEX: align=mmmm ( <- one m for each column )
directly above your table (this sets the mandatory argument for the
tabular environment, so that the new column type is used for every
column)
should probably do it, if i understand everything correctly.
cheers,
jonas
prev parent reply other threads:[~2011-11-23 16:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-23 11:13 TABLES: aesthetics on columns Daniel Martins
2011-11-23 12:40 ` Suvayu Ali
2011-11-23 12:50 ` Daniel Martins
2011-11-23 16:25 ` Jonas Hörsch [this message]
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=871usyx0tz.fsf@gmail.com \
--to=coroa@online.de \
--cc=emacs-orgmode@gnu.org \
/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).