emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Long table, landscape or sideways, LaTeX PDF


From: Nick Dokos
Subject: Re: [O] Long table, landscape or sideways, LaTeX PDF
Date: Tue, 14 Jun 2011 23:45:56 -0400

Alan E. Davis <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]