From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Using sideways table with :placement in Org 8.0? Date: Sun, 9 Mar 2014 23:46:04 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMs6J-0001gd-Uz for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMs6I-0000PF-S1 for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:46:07 -0400 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:57311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMs6I-0000Oo-Mz for emacs-orgmode@gnu.org; Mon, 10 Mar 2014 00:46:06 -0400 Received: by mail-ob0-f181.google.com with SMTP id wp4so6266855obc.26 for ; Sun, 09 Mar 2014 21:46:04 -0700 (PDT) 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 I was just playing around with the new syntax for accessing sidewaystable in Org 8.0, but it doesn't seem to be working. The manual /seems/ pretty straightforward: - http://orgmode.org/manual/LaTeX-specific-attributes.html ":placement Float environment for the table. Possible values are sidewaystable, multicolumn, t and nil. When unspecified, a table with a caption will have atable environment. Moreover, :placement attribute can specify the positioning of the float. " Here's a test document: * Heading #+attr_latex: :placement sidewaystable | *alpha* | *beta* | *gamma* | *delta* | |---------+--------+---------+---------| | 100 | 200 | 300 | 400 | | 200 | 100 | 17.321 | 133.3 | | 400 | 50 | 4.162 | 44.4 | | 800 | 25 | 2.040 | 14.8 | Minimal config loaded with `emacs -Q`: (add-to-list 'load-path "~/.elisp/org.git/lisp/") (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp/") (require 'ox-latex) The resultant table is not inside of \begin/end{sidewaystable}: \begin{center} \begin{tabular}{rrrr} \textbf{alpha} & \textbf{beta} & \textbf{gamma} & \textbf{delta}\\ \hline 100 & 200 & 300 & 400\\ 200 & 100 & 17.321 & 133.3\\ 400 & 50 & 4.162 & 44.4\\ 800 & 25 & 2.040 & 14.8\\ \end{tabular} \end{center} The heading contains \usepackage{rotating}, but it's not calling for sidewaystable anyway, so that shouldn't matter. Thanks for any suggestions. John