From: John Hendy <jw.hendy@gmail.com>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to have a sideways longtable?
Date: Fri, 20 Jan 2017 16:29:54 -0600 [thread overview]
Message-ID: <CA+M2ft_hxAdOKhCBUfs8kQQvx1bvSjrVhUjQnJauVgwXxx=n0Q@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1701201644070.30201@shell.miskatonic.org>
On Fri, Jan 20, 2017 at 3:56 PM, William Denton <wtd@pobox.com> wrote:
> I have a long and wide table of text I'd like to have sideways (landscape
> orientation) and stretch over multiple pages. I can do either one but not
> both together.
>
> Here's a gist with a long, wide table:
>
> https://gist.github.com/wdenton/f11acf2e5257b29789f806b854d0709e
>
> If you take that and export it to LaTeX it will be long (on two pages) but
> not sideways, with some columns are cut off on the right---the float is
> being ignored, it seems.
>
> Using the float on its own does work, and this appears in the output:
>
> \begin{sidewaystable}[htbp]
>
> But when the longtable is there, it's just this without any sidewaystable:
>
> \begin{longtable}{rrllllll}
>
> Is this a bug? I assumed they'd work together out of the box, but maybe I
> need to do something special.
I'm not sure what version of org I was using at the time (2014), but
knew I'd done this. This might not be exactly what you wanted, but I
just used landscape instead of sideways table and know it worked:
#+LATEX_HEADER: \usepackage{lscape}
#+latex: \begin{landscape}
#+latex: \tiny
#+attr_latex: :align llll|llllll|lllllll|lll :env longtable
| table | goes | here |
#+latex: \end{landscape}
Like I said, that was old, so some of the syntax would be different
(like #+begin_export latex / #+end_export) but it's what I had on hand
to send quick!
John
>
> Bill
> --
> William Denton :: Toronto, Canada :: https://www.miskatonic.org/
> Caveat lector.
>
next prev parent reply other threads:[~2017-01-20 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-20 21:56 How to have a sideways longtable? William Denton
2017-01-20 22:29 ` John Hendy [this message]
2017-01-26 15:10 ` William Denton
[not found] ` <720c4751267e48448e769a970d7f28d3@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-20 22:34 ` Eric S Fraga
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+M2ft_hxAdOKhCBUfs8kQQvx1bvSjrVhUjQnJauVgwXxx=n0Q@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=wtd@pobox.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).