all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Michael Giepen <giepen.m@googlemail.com>, emacs-orgmode@gnu.org
Subject: Re: Problem with threeparttable and sidewaystable, or: change request for (org-latex-tables-centered) behaviour
Date: Sat, 06 Feb 2016 22:24:24 +0000	[thread overview]
Message-ID: <87twllqxyf.fsf@gmail.com> (raw)
In-Reply-To: <56B4F11E.9030600@gmail.com>

Hi Michael,

2016ko otsailak 5an, Michael Giepen-ek idatzi zuen:

[...]


> If the \centering would also be used for threeparttable or any 
> environment, there would be no conflict at all (I think).  I do not 
> really understand why why the center environment is used in the first 
> place: it apparently causes conflicts with several environments, but in 
> effect seems to be no different from the center environment.  

[ I assume you meant “no different from \centering” ]

This is because in your example the table is exported as non-floating.
\centering only works as intended inside a Latex group, which
non-floating tables are not (necessarily) contained in.

Perhaps we should use “{\centering” and “}” to center non-floating
tables – I’m not enough of a latex guru to know the pros and cons.  Do
you have a reference that documents how the environment version causes
problems, or are you speaking from experience?

[...]


> and adding
> 
> #+ATTR_LATEX: :center

I think this should work, except that it needs to be written:

#+ATTR_LATEX: :center t

-- 
Aaron Ecay

  reply	other threads:[~2016-02-06 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 18:59 Problem with threeparttable and sidewaystable, or: change request for (org-latex-tables-centered) behaviour Michael Giepen
2016-02-06 22:24 ` Aaron Ecay [this message]
2016-02-06 22:38   ` Rasmus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twllqxyf.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=giepen.m@googlemail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.