From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: sideways table Date: Fri, 7 Jul 2017 14:04:35 -0500 Message-ID: References: <87k23kgo4k.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTYYR-0005mx-Sz for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 15:04:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTYYQ-0005sM-LS for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 15:04:39 -0400 Received: from mail-it0-x229.google.com ([2607:f8b0:4001:c0b::229]:37308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTYYQ-0005r9-HT for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 15:04:38 -0400 Received: by mail-it0-x229.google.com with SMTP id m84so1936300ita.0 for ; Fri, 07 Jul 2017 12:04:36 -0700 (PDT) In-Reply-To: <87k23kgo4k.fsf@skimble.plus.com> 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" To: Sharon Kimble Cc: emacs-orgmode On Fri, Jul 7, 2017 at 12:20 PM, Sharon Kimble wrote: > > I'm trying to use 'sideways' with an org-mode table being exported to > latex. But its not working. This is my table header - > > --8<---------------cut here---------------start------------->8--- > #+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials and Monuments (cite:0204). > #+ATTR_LATEX: :booktabs t :environment longtable :float sideways > --8<---------------cut here---------------end--------------->8--- > > If I don't have ':environment longtable' then the pdf compiling fails saying that - > > --8<---------------cut here---------------start------------->8--- > ! LaTeX Error: Environment sidewaystable undefined. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.12122 \begin{sidewaystable} > [htbp] > > --8<---------------cut here---------------end--------------->8--- > > So how can I use 'sideways' with a table please? Its not clear exactly > what to do from the org-mode manual, and google doesn't provide any > solutions either. > I've run into this question before, but am not sure this is the same thread I resolved it: - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00373.html Namely: #+attr_latex: :float sidewaystable Another option I use regularly: - https://www.mail-archive.com/emacs-orgmode@gnu.org/msg110703.html Namely: lscape pacakge longtable Hope that helps! John > Thanks > Sharon. > -- > A taste of linux = http://www.sharons.org.uk > TGmeds = http://www.tgmeds.org.uk > DrugFacts = https://www.drugfacts.org.uk > Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7