From: tsd@tsdye.com (Thomas S. Dye)
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tables with line wrapping?
Date: Sat, 22 Feb 2014 11:01:45 -1000 [thread overview]
Message-ID: <m28ut2g8ue.fsf@tsdye.com> (raw)
In-Reply-To: <1393097433.29605.86550453.4700A733@webmail.messagingengine.com> (Peter Davis's message of "Sat, 22 Feb 2014 14:30:33 -0500")
Aloha Peter,
Peter Davis <pfd@pfdstudio.com> writes:
> I'm using org-mode to prepare a document that will ultimately be
> exported to PDF. Unfortunately, I need to include a table whose contents
> will wrap as needed. The options I can see are:
>
> 1) Do everything I can in org-mode, then export and edit the
> intermediate .tex file, or
>
> 2) Create the table with some other tool, and include it as an image
> into the org document
>
> Am I missing anything? Are there other (better?) ways? As I expect to be
> revising both the table and the rest of the document for a while, the
> uni-directional workflow in #1 above would be difficult.
You can set the :align attribute. Something like this will wrap the
second column in the pdf file:
#+ATTR_LATEX :align lp{6cm}
| col | wrapcol |
You might also want to look at the LaTeX tabularx environment if you
want the table to be a particular width.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
next prev parent reply other threads:[~2014-02-22 21:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-22 19:30 Tables with line wrapping? Peter Davis
2014-02-22 21:01 ` Thomas S. Dye [this message]
2014-02-23 4:04 ` Peter Davis
2014-02-22 21:05 ` Richard Lawrence
2014-02-23 4:08 ` Peter Davis
2014-03-09 1:08 ` Marcin Borkowski
2014-03-09 3:02 ` Peter Davis
2014-02-23 5:00 ` Jambunathan K
2014-02-23 12:39 ` Peter Davis
2014-03-01 8:09 ` Bastien
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=m28ut2g8ue.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=pfd@pfdstudio.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).