From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Tables with line wrapping? Date: Sat, 22 Feb 2014 11:01:45 -1000 Message-ID: References: <1393097433.29605.86550453.4700A733@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJis-0007Tz-MG for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 16:03:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHJim-00023L-El for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 16:02:58 -0500 Received: from alt-proxy58.mail.unifiedlayer.com ([173.254.1.16]:35593) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1WHJim-00023G-5i for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 16:02:52 -0500 In-Reply-To: <1393097433.29605.86550453.4700A733@webmail.messagingengine.com> (Peter Davis's message of "Sat, 22 Feb 2014 14:30:33 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Davis Cc: emacs-orgmode@gnu.org Aloha Peter, Peter Davis 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