From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Giuseppe Lipari <giulipari@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Possible bug in export of table in latex
Date: Tue, 6 Jan 2015 18:15:36 +0000 [thread overview]
Message-ID: <87tx03epx3.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CABHo5SDcOBLOqj52at1H3ZmmA1N7J5f-veGtzpXNbPFpRMcA-w@mail.gmail.com> (Giuseppe Lipari's message of "Tue, 6 Jan 2015 14:03:24 +0100")
On Tuesday, 6 Jan 2015 at 14:03, Giuseppe Lipari wrote:
> Dear all,
>
> happy new year to everybody!
>
> I think I might have discovered a bug.
> I am preparing some slides using org-beamer mode. Here is the snippet of a
> table I have in my file:
>
>
> #+ATTR_LATEX: :float t :width 4cm
> | /Single node app/ | /Distributed app/ |
> |-------------------+-----------------------------|
> | Operating System | Distributed OS |
> | Network | Network programming libs |
> | Progr. language | Distributed Progr. language |
> |-------------------+-----------------------------|
>
> If I understand well from the documentation, the "width" option should set
> the width of the table. However, the exporter produces the following latex
> snippet:
I can confirm this (with a version of org a few days old).
One solution, in the meantime, would be to put the table within a
column and use the column width option to limit the width of the table,
removing the :width option for the table. This works although it is not
possible to specific the width of a column directly, only as a function
of \columnwidth [1] so you'll have to play around with the factor to
figure out what width to specify.
HTH.
Footnotes:
[1] as an aside, it seems strange to me to define column widths as a
factor of \columnwidth instead of \textwidth or similar... seems rather
self-referential?
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-686-g9528be.dirty
next prev parent reply other threads:[~2015-01-06 18:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-06 13:03 Possible bug in export of table in latex Giuseppe Lipari
2015-01-06 18:15 ` Eric S Fraga [this message]
2015-01-06 22:32 ` Nicolas Goaziou
2015-01-08 8:40 ` Giuseppe Lipari
2015-01-08 16:47 ` Nicolas Goaziou
2015-01-08 16:57 ` Andreas Leha
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=87tx03epx3.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=giulipari@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).