From: Nick Dokos <nicholas.dokos@hp.com>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: nicholas.dokos@hp.com, org-mode <emacs-orgmode@gnu.org>
Subject: Re: Long table, landscape or sideways, LaTeX PDF
Date: Tue, 14 Jun 2011 23:45:56 -0400 [thread overview]
Message-ID: <6336.1308109556@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "Alan E. Davis" <lngndvs@gmail.com> of "Wed, 15 Jun 2011 12:50:40 +1000." <BANLkTimbQyAP_f=-Ji_5XtPSLU7YoScVhg@mail.gmail.com>
Alan E. Davis <lngndvs@gmail.com> wrote:
> I have to apologize first, as I had this working at home, to some extent.
> Not well. I have to submit a printout of grades, today, if possible, and
> I've been struggling with it. Can't find the cookbook formula! (I would
> like to use the \footnotesize feature also). So far I've had to go through
> each table, deleting long words, and deleting some fields. WOuld rather
> have some way to do it as is.
>
> How to do this? The table should break over two pages. It would seem to me
> that some combination of sidewaystable and longtable might do it.
>
> Thanks in advance. And sorry for the bandwidth.
>
Something like this perhaps:
--8<---------------cut here---------------start------------->8---
#+LaTeX_HEADER: \usepackage{pdflscape}
#+TITLE:
#+AUTHOR:
#+OPTIONS: author:nil date:nil toc:nil
#+LATEX: \begin{landscape}
#+ATTR_LaTeX: longtable
#+CAPTION: Grades
| Name | h1 | h2 | h3 | h4 | h5 | h6 | h7 | h8 | h8 | h9 | h10 | h11 | h12 | q1 | q2 | q3 | q4 | midterm | final | avg | grade | |
|-----------+----+----+----+----+----+----+----+----+----+----+-----+-----+-----+----+----+----+----+---------+-------+-----+-------+----|
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| ... | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. | .. |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
| Doe, John | 8 | 6 | 7 | 9 | 5 | 8 | 9 | 10 | 2 | 8 | 8 | 8 | 8 | 23 | 24 | 25 | 23 | 85 | 91 | | | |
#+LATEX: \end{landscape}
--8<---------------cut here---------------end--------------->8---
Nick
next prev parent reply other threads:[~2011-06-15 3:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 2:50 Long table, landscape or sideways, LaTeX PDF Alan E. Davis
2011-06-15 3:45 ` Nick Dokos [this message]
2011-06-15 4:20 ` suvayu ali
2011-06-15 5:00 ` Nick Dokos
2011-06-15 5:17 ` Nick Dokos
2011-06-15 5:24 ` Suvayu Ali
2011-06-15 5:49 ` Nick Dokos
2011-06-15 6:07 ` suvayu ali
2011-06-15 6:31 ` Nick Dokos
[not found] ` <BANLkTimmUA6UtZ0tfu-US1bRqV-MiPCvBw@mail.gmail.com>
2011-06-15 6:02 ` Alan E. Davis
2011-06-15 6:11 ` Alan E. Davis
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=6336.1308109556@alphaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=lngndvs@gmail.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 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.