emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Johnny <yggdrasil@gmx.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wrapping of e-mail address in table when exporting to pdf through latex
Date: Thu, 26 Jan 2012 08:50:15 +0000	[thread overview]
Message-ID: <87zkdargoo.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87obttneo3.fsf@gmx.co.uk> (Johnny's message of "Tue, 24 Jan 2012 18:22:52 +0000")

Johnny <yggdrasil@gmx.co.uk> 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)

  reply	other threads:[~2012-01-26  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-24 18:22 Johnny
2012-01-26  8:50 ` Eric S Fraga [this message]
2012-01-26 12:02   ` Tim Burt
2012-02-12 11:34     ` Johnny

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=87zkdargoo.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=yggdrasil@gmx.co.uk \
    --subject='Re: Wrapping of e-mail address in table when exporting to pdf through latex' \
    /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

Code repositories for project(s) associated with this 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).