From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: sideways table Date: Sat, 08 Jul 2017 00:37:38 +0100 Message-ID: <87eftrhl8d.fsf@skimble.plus.com> References: <87k23kgo4k.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTcos-0006Or-Ly for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 19:37:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTcoo-0005yF-Ay for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 19:37:54 -0400 Received: from avasout04.plus.net ([212.159.14.19]:57539) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTcoo-0005wb-4q for emacs-orgmode@gnu.org; Fri, 07 Jul 2017 19:37:50 -0400 In-Reply-To: (John Hendy's message of "Fri, 7 Jul 2017 14:04:35 -0500") 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: John Hendy Cc: emacs-orgmode --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable John Hendy writes: > 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, Buria= ls 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 sa= ying 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 > > Thanks for this John. I've finally got it to work by using this - =2D-8<---------------cut here---------------start------------->8--- #+latex_header: \usepackage{lscape} #+latex: \begin{landscape} #+CAPTION: Table of Parochial Fees from 1 January 2017 - Funerals, Burials = and Monuments (cite:0204). #+ATTR_LATEX: :booktabs t blah #+latex: \end{landscape} =2D-8<---------------cut here---------------end--------------->8--- Not quite an org-mode success, but at least its working. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAllgG0MACgkQNoGAGQr4 g1tIwg//co604g6GIgCdiDEqOjDKU62l7/WZr0+ZFyu/E7jbqmk001tK0f7zqjzu kD2ivLMVKYqqidF+BiXd5vcbNAm0jboj20UI+YG6IAYZyGrYE7XdarRAt1Qwh653 W6EwShMdS8XpRtC+DirvnBq1uooY+fibLpBoeiC7BNni4dLqPmGMplbQZEic47js 7qQXf81tUaJKTZCm9fkGwaconz2WYujzO3LGXjbghIK7KtvvNRt7FrvVC61O0Jj5 fDz67z6y0sfJshloq/unsfgtFOyK7+UPJ1JMFjkiyVlMJFbBMjCN9luAiRrDOrPt zShB5yb76qOPF+PIjo0s4U4tEFZgLwjAzCeJxw+sSvRtKqdjF6uM2GJTf8jOAIZs V1FKxSPSvM32WRYbM9Xg/yCALLQgLsWhTs6AfPB3zzrQAPgdxyZVVTPqNQP26asE NB4/y0D7R+TqI2yPrmWBQ9F+0kAqR+7KEPllQbw4R0MZHmaGOQtrEzLXD0LP0wpI vZROFCQc9xN4kVAe/LnNIN/4VuLlhDFcr0tyj6UZDdWxOsfPXvAnHNFAKCxNecMm aIIkJssr8+mGV9YymWmjZKlf3XHJwFDFRoZvIsOsOcNkNf4hRn+aEKVhQnqd/nVY ret2WRl8DCy3XSX4tlLtb/vE01seXSGdb/bF/ZfY6qv6p+H+BHA= =jQCr -----END PGP SIGNATURE----- --=-=-=--