all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: sideways table
Date: Fri, 7 Jul 2017 14:04:35 -0500	[thread overview]
Message-ID: <CA+M2ft-w4MDaRDv6YRhzJyXocE4_Zxsp-iwk6pAQPZ+=GD3oiQ@mail.gmail.com> (raw)
In-Reply-To: <87k23kgo4k.fsf@skimble.plus.com>

On Fri, Jul 7, 2017 at 12:20 PM, Sharon Kimble
<boudiccas@skimble.plus.com> 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 <return>  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

  reply	other threads:[~2017-07-07 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07 17:20 sideways table Sharon Kimble
2017-07-07 19:04 ` John Hendy [this message]
2017-07-07 23:37   ` Sharon Kimble
     [not found] <mailman.77.1499529617.15722.emacs-orgmode@gnu.org>
2017-07-08 21:17 ` edgar

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='CA+M2ft-w4MDaRDv6YRhzJyXocE4_Zxsp-iwk6pAQPZ+=GD3oiQ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=boudiccas@skimble.plus.com \
    --cc=emacs-orgmode@gnu.org \
    /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.