emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Org+table.el = mutli line cells?
Date: Tue, 6 Jul 2010 10:41:40 +0200	[thread overview]
Message-ID: <E62D1203-C9A2-46D6-8AFF-BE873F611AD5@gmail.com> (raw)
In-Reply-To: <AANLkTilHBl64MA3bCwuOr6d7-JfvbLawLFwWiCTfqDXr@mail.gmail.com>


On Jul 2, 2010, at 4:54 PM, John Hendy wrote:

> - Thanks for the table link, though I only see how to change frames  
> and borders on the provided link. Do I just need to pass some html/ 
> css option through #+ATTR_HTML?
>
> - Also... stupid me. I meant to specify that I'm looking to do this  
> in LaTeX, not necessarily html, though I'm glad to have knowledge of  
> both.
>
> After more reading, this seems pretty doable through the 'p{width}'  
> alignment option which seems to work through #+ATTR_LaTeX to control  
> automatic wrapping in a cell. My remaining question is whether or  
> not it's possible to enable tabular* instead of the default  
> environment as then I could limit both columns and determine table  
> widths. I don't know that tabular seems to have this option?

After git pull, you can do

(setq org-export-latex-tabular-environment "tabular*")

HTH

- Carsten

>
>
> Thanks,
> John
>
> On Thu, Jul 1, 2010 at 11:37 PM, Carsten Dominik <carsten.dominik@gmail.com 
> > wrote:
>
> On Jul 1, 2010, at 10:14 PM, John Hendy wrote:
>
> Hi,
>
>
> I export to variable page widths and would like to be able to  
> specify a limit on my tables which seem to always run on as long as  
> they need to without regard for any margins or borders. I found a  
> post here where a user asked the question I was looking for: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22353.html
>
> So... table.el (as I have since found during fiddling) does create  
> multi-line cells, which is awesome.
>
> I can't find any documentation for it, though?? I am just looking  
> for [hopefully] basic/easy things like:
>
> - bold a cell (*word* doesn't seem to work in table.el tables)
> - limit the overall width of the table
>
> Formatting inside table.el cells does not work because this is a  
> completely
> different export mechanism.
>
> To fix the width of a table (normal Org-mode table), see
>
> http://orgmode.org/manual/Tables-in-HTML-export.html#Tables-in-HTML-export
>
> - Carsten
>
>

- Carsten

  reply	other threads:[~2010-07-06  8:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01 20:14 Org+table.el = mutli line cells? John Hendy
2010-07-02  4:37 ` Carsten Dominik
2010-07-02 14:54   ` John Hendy
2010-07-06  8:41     ` Carsten Dominik [this message]
2010-07-06 14:08       ` John Hendy

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=E62D1203-C9A2-46D6-8AFF-BE873F611AD5@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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).