From: Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
To: mailing-list-org-mode <emacs-orgmode-mXXj517/zsQ@public.gmane.org>
Subject: Re: LaTeX export of tables
Date: Mon, 19 Oct 2009 13:58:07 +0200 [thread overview]
Message-ID: <87my3n4muo.fsf@missioncriticalit.com> (raw)
In-Reply-To: <873a5nr379.fsf-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> (Francesco Pizzolante's message of "Tue, 13 Oct 2009 12:35:54 +0200")
Hi,
Can I give this thread a bump?
Francesco Pizzolante wrote:
> Hi,
>
> When exporting tables to LaTeX, I think it would be good to have the following
> options to be able to define:
>
> - the table environment to be used: now we have the option to have tabular
> and longtable, but I could also use array, tabular*, tabularx, tabulary,
> etc.
>
> The general rule is:
>
> \begin{TABLEENV}{WIDTH}[VPOS]{COLS}
> ROWS
> \end{TABLEENV}
>
> TABLEENV can be any of tabular, array, tabular*, tabularx, etc., depending
> on the type of table I want.
>
> Some types of table need a WIDTH to be specified; in this case, I would
> add a WIDTH option. An extra vertical position VPOS option can also be
> added to some types of table.
>
> The COLS parameter already receives the value from the "align" org
> attribute.
>
> The following options
>
> #+ATTR_LATEX: tabularx width=\textwidth align=lX vpos=tb
>
> would generate the following LaTeX code:
>
> \begin{tabularx}{\textwidth}[tb]{lX}
> ROWS
> \end{tabularx}
>
>
> - the rule to be used as hline (similar option as in
> #+ORGTBL: :hline="\\midrule"):
>
> #+ATTR_LATEX: hline=midrule or #+ATTR_LATEX: hline="\\midrule"
>
>
> - define the top and bottom rules:
>
> #+ATTR_LATEX: toprule="\\toprule" bottomrule="\\bottomrule"
>
>
> Does it make sense? Would it be possible to have these new options in a future
> orgmode release?
I really am eager to use orgmode in order to generate all my LaTeX documents.
But, as of now, the LaTeX export of tables offers only limited flexibility.
My proposal is simply to add a few org attributes (type of the table, toprule,
bottomrule, hline, vpos) in order to get an improved flexibility when
generating LaTeX tables.
Can someone take care of my request?
Thanks a lot,
Francesco
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-10-19 11:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 10:35 LaTeX export of tables Francesco Pizzolante
[not found] ` <873a5nr379.fsf-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
2009-10-19 11:58 ` Francesco Pizzolante [this message]
2009-10-19 18:05 ` Darlan Cavalcante Moreira
2009-10-20 8:17 ` Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2013-04-12 8:06 Latex " Vikas Rawal
2013-04-14 23:29 ` Suvayu Ali
2013-04-16 11:56 ` Vikas Rawal
2013-04-16 13:13 ` Thomas Alexander Gerds
2013-04-16 17:39 ` Suvayu Ali
2013-04-16 20:07 ` Thomas S. Dye
2013-04-16 21:39 ` Suvayu Ali
2013-04-16 23:45 ` Thomas S. Dye
2013-04-17 10:21 ` Myles English
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=87my3n4muo.fsf@missioncriticalit.com \
--to=fpz-djc/ipccudyqhejpep6iedvlejwurmry@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).