From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Wrapping of e-mail address in table when exporting to pdf through latex Date: Thu, 26 Jan 2012 08:50:15 +0000 Message-ID: <87zkdargoo.fsf@ucl.ac.uk> References: <87obttneo3.fsf@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLs9-0006dF-KP for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqLs3-0001lz-6o for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:01 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:52831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLs3-0001lL-24 for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:43:55 -0500 In-Reply-To: <87obttneo3.fsf@gmx.co.uk> (Johnny's message of "Tue, 24 Jan 2012 18:22:52 +0000") 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: Johnny Cc: emacs-orgmode@gnu.org Johnny writes: > Hi, > > I have some e-mail addresses in a table that I want to export to pdf > thorugh latex. However, the e-mail addresses do not wrap nicely (not at > all) in the table, is there any way to make the latex export from org > enable wrapping? > > Example: > > #+ATTR_LaTeX: align=llp{2cm} > | ITEM | Comment | e-mail | > |-------------+----------------+------------------------------| > | Listed item | Some text here | this.email@shouldbe.wrapped | > | | | | > > Thanks! As you are alluding, this is more a latex problem than an org one. Getting an email address to wrap is difficult. The only solution I can think of is to suggest a hyphenation point in each email address you have in the table. You can suggest hyphenation points using "\-", as in: | Listed item | Some text here | this.email@\-shouldbe.wrapped | This works, but is not pretty... but I don't think you have much in the way of alternative options! HTH, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.8.03 (release_7.8.03.237.g674bb)