From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Problem with threeparttable and sidewaystable, or: change request for (org-latex-tables-centered) behaviour Date: Sat, 06 Feb 2016 23:38:31 +0100 Message-ID: <87wpqhxy54.fsf@gmx.us> References: <56B4F11E.9030600@gmail.com> <87twllqxyf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSBVL-0007vi-5i for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 17:39:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSBVH-0001mN-41 for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 17:38:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:52037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSBVG-0001mJ-Ti for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 17:38:55 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSBV9-0001KW-3G for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 23:38:47 +0100 Received: from tsn109-201-154-209.dyn.nltelcom.net ([109.201.154.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 23:38:47 +0100 Received: from rasmus by tsn109-201-154-209.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 23:38:47 +0100 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: emacs-orgmode@gnu.org Hi, Aaron Ecay writes: >> 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? I'd not like that. As I recall vertical spacing is often off when you do this. threeparttable seems ill-suited for Org IMO. The syntax is just too specialized. E.g. tablenotes block also does not support itemize so you have to insert @@latex:\item @@. Perhaps one of the alternative packages mentioned here¹ could be used. bidiftnxtra² might also be interesting (I haven’t tested). From the manual: In standard LaTeX you can not use footnotes inside \chapter, \part, \section, \subsection, \subsection and any other section-like commands, \caption and tabular environment. bidi package provides bidiftnxtra package that solves the issue of footnote in standard LaTeX. Rasmus Footnotes: ¹ http://tex.stackexchange.com/questions/1583/footnotes-in-tables ² http://ftp.snt.utwente.nl/pub/software/tex/macros/xetex/latex/bidi/bidi.pdf -- Warning: Everything saved will be lost