[-- Attachment #1: Type: text/plain, Size: 611 bytes --] 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. Alan Davis [-- Attachment #2: Type: text/html, Size: 653 bytes --]
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
Hi Alan, On Tue, Jun 14, 2011 at 7:50 PM, 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. > As Nick suggests, an #+ATTR_LaTeX: line with longtable and wrapping your table in \usepackage{lscape} #+LATEX: \begin{landscape} ... #+LATEX: \end{landscape} should do the trick. For the use of \footnotesize, you can look at the following Worg page: <http://orgmode.org/worg/org-hacks.html#sec-1_6_1> > > Alan Davis > Hope this helps. -- Suvayu Open source is the future. It sets us free.
suvayu ali <fatkasuvayu+linux@gmail.com> wrote: > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis <lngndvs@gmail.com> wrote: > > (I would > > like to use the \footnotesize feature also). > ... > > For the use of \footnotesize, you can look at the following Worg page: > <http://orgmode.org/worg/org-hacks.html#sec-1_6_1> Actually, I don't think the trick works with longtable - at least, I can't see any difference (checking the tex file shows no evidence of the attributes.) And fwiw, the other trick of resetting the size (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785) doesn't seem to work either - the commands are probably very different. In fact, trying to place a \footnotesize or \scriptsize into the tex file was a bust - I tried a few places and either got errors or no changes in size. So I don't know how to change the size in LaTeX, let alone in org. Nick
Nick Dokos <nicholas.dokos@hp.com> wrote:
> suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
>
> > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis <lngndvs@gmail.com> wrote:
> > > (I would
> > > like to use the \footnotesize feature also).
> > ...
> >
> > For the use of \footnotesize, you can look at the following Worg page:
> > <http://orgmode.org/worg/org-hacks.html#sec-1_6_1>
>
> Actually, I don't think the trick works with longtable - at least, I
> can't see any difference (checking the tex file shows no evidence of
> the attributes.) And fwiw, the other trick of resetting the size
> (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785) doesn't
> seem to work either - the commands are probably very different.
> In fact, trying to place a \footnotesize or \scriptsize into the tex
> file was a bust - I tried a few places and either got errors or no changes
> in size. So I don't know how to change the size in LaTeX, let
> alone in org.
>
Well, it's actually quite simple:
#+LATEX: \scriptsize
before the table does it.
Nick
[-- Attachment #1: Type: text/plain, Size: 1198 bytes --] Hi Nick and Alan, On Wed, 15 Jun 2011 01:00:11 -0400 Nick Dokos <nicholas.dokos@hp.com> wrote: > suvayu ali <fatkasuvayu+linux@gmail.com> wrote: > > > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis <lngndvs@gmail.com> > > wrote: > > > (I would > > > like to use the \footnotesize feature also). > > ... > > > > For the use of \footnotesize, you can look at the following Worg > > page: <http://orgmode.org/worg/org-hacks.html#sec-1_6_1> > > Actually, I don't think the trick works with longtable - at least, I > can't see any difference (checking the tex file shows no evidence of > the attributes.) And fwiw, the other trick of resetting the size > (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785) > doesn't seem to work either - the commands are probably very > different. In fact, trying to place a \footnotesize or \scriptsize > into the tex file was a bust - I tried a few places and either got > errors or no changes in size. So I don't know how to change the size > in LaTeX, let alone in org. > It works for me very smoothly. I have attached an example org file and the exported tex and pdf files. > Nick > -- Suvayu Open source is the future. It sets us free. [-- Attachment #2: test.tex --] [-- Type: text/plain, Size: 8849 bytes --] % Created 2011-06-14 Tue 22:21 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{textcomp} \usepackage{marvosym} \usepackage[nointegrals]{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \usepackage{lscape} \providecommand{\alert}[1]{\textbf{#1}} \title{} \author{} \date{\today} \begin{document} \begin{landscape} \begin{longtable}{llll} \caption{A really long table} \\ \hline (106044) & (106022) & (106047) & (105610) \\ \hline \endhead \hline\multicolumn{4}{r}{Continued on next page}\ \endfoot \endlastfoot \hline 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ 0.93974 \textpm{} 0.00015 & 0.93930 \textpm{} 0.00012 & 0.91035 \textpm{} 0.00026 & 0.9328 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99994 \textpm{} 0.00012 & 1.00000 \textpm{} 0.00026 & 1.0000 \textpm{} 0.0016 \\ 0.99921 \textpm{} 0.00015 & 0.99929 \textpm{} 0.00012 & 0.92709 \textpm{} 0.00027 & 0.9985 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99987 \textpm{} 0.00012 & 0.79940 \textpm{} 0.00072 & 1.0000 \textpm{} 0.0016 \\ 0.96902 \textpm{} 0.00015 & 0.96423 \textpm{} 0.00012 & 0.97043 \textpm{} 0.00022 & 0.9891 \textpm{} 0.0016 \\ 0.85416 \textpm{} 0.00014 & 0.62354 \textpm{} 0.00010 & 0.78418 \textpm{} 0.00019 & 0.9995 \textpm{} 0.0016 \\ 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ 0.93974 \textpm{} 0.00015 & 0.93930 \textpm{} 0.00012 & 0.91035 \textpm{} 0.00026 & 0.9328 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99994 \textpm{} 0.00012 & 1.00000 \textpm{} 0.00026 & 1.0000 \textpm{} 0.0016 \\ 0.99921 \textpm{} 0.00015 & 0.99929 \textpm{} 0.00012 & 0.92709 \textpm{} 0.00027 & 0.9985 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99987 \textpm{} 0.00012 & 0.79940 \textpm{} 0.00072 & 1.0000 \textpm{} 0.0016 \\ 0.96902 \textpm{} 0.00015 & 0.96423 \textpm{} 0.00012 & 0.97043 \textpm{} 0.00022 & 0.9891 \textpm{} 0.0016 \\ 0.85416 \textpm{} 0.00014 & 0.62354 \textpm{} 0.00010 & 0.78418 \textpm{} 0.00019 & 0.9995 \textpm{} 0.0016 \\ 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ 0.93974 \textpm{} 0.00015 & 0.93930 \textpm{} 0.00012 & 0.91035 \textpm{} 0.00026 & 0.9328 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99994 \textpm{} 0.00012 & 1.00000 \textpm{} 0.00026 & 1.0000 \textpm{} 0.0016 \\ 0.99921 \textpm{} 0.00015 & 0.99929 \textpm{} 0.00012 & 0.92709 \textpm{} 0.00027 & 0.9985 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99987 \textpm{} 0.00012 & 0.79940 \textpm{} 0.00072 & 1.0000 \textpm{} 0.0016 \\ 0.96902 \textpm{} 0.00015 & 0.96423 \textpm{} 0.00012 & 0.97043 \textpm{} 0.00022 & 0.9891 \textpm{} 0.0016 \\ 0.85416 \textpm{} 0.00014 & 0.62354 \textpm{} 0.00010 & 0.78418 \textpm{} 0.00019 & 0.9995 \textpm{} 0.0016 \\ 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ 0.93974 \textpm{} 0.00015 & 0.93930 \textpm{} 0.00012 & 0.91035 \textpm{} 0.00026 & 0.9328 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99994 \textpm{} 0.00012 & 1.00000 \textpm{} 0.00026 & 1.0000 \textpm{} 0.0016 \\ 0.99921 \textpm{} 0.00015 & 0.99929 \textpm{} 0.00012 & 0.92709 \textpm{} 0.00027 & 0.9985 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99987 \textpm{} 0.00012 & 0.79940 \textpm{} 0.00072 & 1.0000 \textpm{} 0.0016 \\ 0.96902 \textpm{} 0.00015 & 0.96423 \textpm{} 0.00012 & 0.97043 \textpm{} 0.00022 & 0.9891 \textpm{} 0.0016 \\ 0.85416 \textpm{} 0.00014 & 0.62354 \textpm{} 0.00010 & 0.78418 \textpm{} 0.00019 & 0.9995 \textpm{} 0.0016 \\ 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ 0.93974 \textpm{} 0.00015 & 0.93930 \textpm{} 0.00012 & 0.91035 \textpm{} 0.00026 & 0.9328 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99994 \textpm{} 0.00012 & 1.00000 \textpm{} 0.00026 & 1.0000 \textpm{} 0.0016 \\ 0.99921 \textpm{} 0.00015 & 0.99929 \textpm{} 0.00012 & 0.92709 \textpm{} 0.00027 & 0.9985 \textpm{} 0.0016 \\ 1.00000 \textpm{} 0.00015 & 0.99987 \textpm{} 0.00012 & 0.79940 \textpm{} 0.00072 & 1.0000 \textpm{} 0.0016 \\ 0.96902 \textpm{} 0.00015 & 0.96423 \textpm{} 0.00012 & 0.97043 \textpm{} 0.00022 & 0.9891 \textpm{} 0.0016 \\ 0.85416 \textpm{} 0.00014 & 0.62354 \textpm{} 0.00010 & 0.78418 \textpm{} 0.00019 & 0.9995 \textpm{} 0.0016 \\ 0.62160 \textpm{} 0.00030 & 0.23810 \textpm{} 0.00049 & 0.84998 \textpm{} 0.00041 & 0.7815 \textpm{} 0.0021 \\ 0.98562 \textpm{} 0.00030 & 0.98547 \textpm{} 0.00048 & 0.98660 \textpm{} 0.00041 & 0.9875 \textpm{} 0.0021 \\ 0.99687 \textpm{} 0.00030 & 0.99878 \textpm{} 0.00048 & 0.99297 \textpm{} 0.00041 & 0.9742 \textpm{} 0.0020 \\ 0.39309 \textpm{} 0.00019 & 0.41822 \textpm{} 0.00031 & 0.56961 \textpm{} 0.00031 & 0.6595 \textpm{} 0.0017 \\ 0.69422 \textpm{} 0.00016 & 0.16786 \textpm{} 0.00012 & 0.76112 \textpm{} 0.00027 & 0.9911 \textpm{} 0.0017 \\ 0.99986 \textpm{} 0.00015 & 0.99982 \textpm{} 0.00012 & 0.99999 \textpm{} 0.00027 & 0.9999 \textpm{} 0.0017 \\ \hline 0.12952 \textpm{} 0.00014 & 0.00928 \textpm{} 0.00010 & 0.18535 \textpm{} 0.00019 & 0.4524 \textpm{} 0.0016 \\ \hline \end{longtable} \end{landscape} \end{document} [-- Attachment #3: test.pdf --] [-- Type: application/pdf, Size: 24310 bytes --] [-- Attachment #4: test.org --] [-- Type: text/plain, Size: 6909 bytes --] #+TITLE: #+AUTHOR: #+OPTIONS: toc:nil tags:nil #+LaTex_HEADER: \usepackage{lscape} #+LATEX: \begin{landscape} #+CAPTION: A really long table #+ATTR_LaTeX: longtable placement=[p]\footnotesize |---------------------+---------------------+---------------------+-------------------| | (106044) | (106022) | (106047) | (105610) | |---------------------+---------------------+---------------------+-------------------| | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | | 0.93974 \pm 0.00015 | 0.93930 \pm 0.00012 | 0.91035 \pm 0.00026 | 0.9328 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99994 \pm 0.00012 | 1.00000 \pm 0.00026 | 1.0000 \pm 0.0016 | | 0.99921 \pm 0.00015 | 0.99929 \pm 0.00012 | 0.92709 \pm 0.00027 | 0.9985 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99987 \pm 0.00012 | 0.79940 \pm 0.00072 | 1.0000 \pm 0.0016 | | 0.96902 \pm 0.00015 | 0.96423 \pm 0.00012 | 0.97043 \pm 0.00022 | 0.9891 \pm 0.0016 | | 0.85416 \pm 0.00014 | 0.62354 \pm 0.00010 | 0.78418 \pm 0.00019 | 0.9995 \pm 0.0016 | | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | | 0.93974 \pm 0.00015 | 0.93930 \pm 0.00012 | 0.91035 \pm 0.00026 | 0.9328 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99994 \pm 0.00012 | 1.00000 \pm 0.00026 | 1.0000 \pm 0.0016 | | 0.99921 \pm 0.00015 | 0.99929 \pm 0.00012 | 0.92709 \pm 0.00027 | 0.9985 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99987 \pm 0.00012 | 0.79940 \pm 0.00072 | 1.0000 \pm 0.0016 | | 0.96902 \pm 0.00015 | 0.96423 \pm 0.00012 | 0.97043 \pm 0.00022 | 0.9891 \pm 0.0016 | | 0.85416 \pm 0.00014 | 0.62354 \pm 0.00010 | 0.78418 \pm 0.00019 | 0.9995 \pm 0.0016 | | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | | 0.93974 \pm 0.00015 | 0.93930 \pm 0.00012 | 0.91035 \pm 0.00026 | 0.9328 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99994 \pm 0.00012 | 1.00000 \pm 0.00026 | 1.0000 \pm 0.0016 | | 0.99921 \pm 0.00015 | 0.99929 \pm 0.00012 | 0.92709 \pm 0.00027 | 0.9985 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99987 \pm 0.00012 | 0.79940 \pm 0.00072 | 1.0000 \pm 0.0016 | | 0.96902 \pm 0.00015 | 0.96423 \pm 0.00012 | 0.97043 \pm 0.00022 | 0.9891 \pm 0.0016 | | 0.85416 \pm 0.00014 | 0.62354 \pm 0.00010 | 0.78418 \pm 0.00019 | 0.9995 \pm 0.0016 | | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | | 0.93974 \pm 0.00015 | 0.93930 \pm 0.00012 | 0.91035 \pm 0.00026 | 0.9328 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99994 \pm 0.00012 | 1.00000 \pm 0.00026 | 1.0000 \pm 0.0016 | | 0.99921 \pm 0.00015 | 0.99929 \pm 0.00012 | 0.92709 \pm 0.00027 | 0.9985 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99987 \pm 0.00012 | 0.79940 \pm 0.00072 | 1.0000 \pm 0.0016 | | 0.96902 \pm 0.00015 | 0.96423 \pm 0.00012 | 0.97043 \pm 0.00022 | 0.9891 \pm 0.0016 | | 0.85416 \pm 0.00014 | 0.62354 \pm 0.00010 | 0.78418 \pm 0.00019 | 0.9995 \pm 0.0016 | | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | | 0.93974 \pm 0.00015 | 0.93930 \pm 0.00012 | 0.91035 \pm 0.00026 | 0.9328 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99994 \pm 0.00012 | 1.00000 \pm 0.00026 | 1.0000 \pm 0.0016 | | 0.99921 \pm 0.00015 | 0.99929 \pm 0.00012 | 0.92709 \pm 0.00027 | 0.9985 \pm 0.0016 | | 1.00000 \pm 0.00015 | 0.99987 \pm 0.00012 | 0.79940 \pm 0.00072 | 1.0000 \pm 0.0016 | | 0.96902 \pm 0.00015 | 0.96423 \pm 0.00012 | 0.97043 \pm 0.00022 | 0.9891 \pm 0.0016 | | 0.85416 \pm 0.00014 | 0.62354 \pm 0.00010 | 0.78418 \pm 0.00019 | 0.9995 \pm 0.0016 | | 0.62160 \pm 0.00030 | 0.23810 \pm 0.00049 | 0.84998 \pm 0.00041 | 0.7815 \pm 0.0021 | | 0.98562 \pm 0.00030 | 0.98547 \pm 0.00048 | 0.98660 \pm 0.00041 | 0.9875 \pm 0.0021 | | 0.99687 \pm 0.00030 | 0.99878 \pm 0.00048 | 0.99297 \pm 0.00041 | 0.9742 \pm 0.0020 | | 0.39309 \pm 0.00019 | 0.41822 \pm 0.00031 | 0.56961 \pm 0.00031 | 0.6595 \pm 0.0017 | | 0.69422 \pm 0.00016 | 0.16786 \pm 0.00012 | 0.76112 \pm 0.00027 | 0.9911 \pm 0.0017 | | 0.99986 \pm 0.00015 | 0.99982 \pm 0.00012 | 0.99999 \pm 0.00027 | 0.9999 \pm 0.0017 | |---------------------+---------------------+---------------------+-------------------| | 0.12952 \pm 0.00014 | 0.00928 \pm 0.00010 | 0.18535 \pm 0.00019 | 0.4524 \pm 0.0016 | |---------------------+---------------------+---------------------+-------------------| # #+TBLFM: @>$>=vprod(@II..@III);%.4f #+LATEX: \end{landscape}
Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Nick and Alan,
>
> On Wed, 15 Jun 2011 01:00:11 -0400
> Nick Dokos <nicholas.dokos@hp.com> wrote:
>
> > suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> >
> > > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis <lngndvs@gmail.com>
> > > wrote:
> > > > (I would
> > > > like to use the \footnotesize feature also).
> > > ...
> > >
> > > For the use of \footnotesize, you can look at the following Worg
> > > page: <http://orgmode.org/worg/org-hacks.html#sec-1_6_1>
> >
> > Actually, I don't think the trick works with longtable - at least, I
> > can't see any difference (checking the tex file shows no evidence of
> > the attributes.) And fwiw, the other trick of resetting the size
> > (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785)
> > doesn't seem to work either - the commands are probably very
> > different. In fact, trying to place a \footnotesize or \scriptsize
> > into the tex file was a bust - I tried a few places and either got
> > errors or no changes in size. So I don't know how to change the size
> > in LaTeX, let alone in org.
> >
>
> It works for me very smoothly. I have attached an example org file and
> the exported tex and pdf files.
>
Try with and without the \footnotesize: do you see any difference? I don't
think there is one - for confirmation, look at the tex file: both the
placement stuff and the \footnotesize have disappeared, so how could
they make any difference?
Nick
[-- Attachment #1: Type: text/plain, Size: 484 bytes --] This is what worked TO AN EXTENT (no page breaks in table): ---------------- (At top of org file:) #+ATTR_LaTeX: longtable align=l|lp{3cm}r|l #+LATEX_HEADER: \usepackage{pdflscape} #+LaTeX: \begin{center} \begin{landscape} #+LaTeX: {}\begin{sidewaystable}\footnotesize [ORG TABLE HERE] #+LaTeX:\end{landscape} \end{center} #+LaTeX: \end{sidewaystable} ----------------- No such thing as breaking across the page happened. Neither was I able to use longtable to do so. Alan [-- Attachment #2: Type: text/html, Size: 560 bytes --]
On Tue, Jun 14, 2011 at 10:49 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
>> It works for me very smoothly. I have attached an example org file and
>> the exported tex and pdf files.
>>
>
> Try with and without the \footnotesize: do you see any difference? I don't
> think there is one - for confirmation, look at the tex file: both the
> placement stuff and the \footnotesize have disappeared, so how could
> they make any difference?
>
Yes you are correct. There was no adjoining text so I didn't notice
the regular size fonts. I think the placement option is getting
completely ignored when longtable is present.
That being said, if I put the \footnotesize after the #+LATEX
\begin{landscape} line, it does get exported and the table has smaller
fonts. The #+LATEX: \end{landscape} also successfully limits its scope
to just the table.
--
Suvayu
Open source is the future. It sets us free.
[-- Attachment #1: Type: text/plain, Size: 1578 bytes --] This works. My table was quite wide: about two landscape sheets wide, so I was looking for a solution for width. Technically, I guess it's only a long table, if it's printed sideways? Don't know if that makes sense. Thank you for this. Good example. Alan 2011/6/15 Suvayu Ali <fatkasuvayu+linux@gmail.com> > Hi Nick and Alan, > > On Wed, 15 Jun 2011 01:00:11 -0400 > Nick Dokos <nicholas.dokos@hp.com> wrote: > > > suvayu ali <fatkasuvayu+linux@gmail.com> wrote: > > > > > On Tue, Jun 14, 2011 at 7:50 PM, Alan E. Davis <lngndvs@gmail.com> > > > wrote: > > > > (I would > > > > like to use the \footnotesize feature also). > > > ... > > > > > > For the use of \footnotesize, you can look at the following Worg > > > page: <http://orgmode.org/worg/org-hacks.html#sec-1_6_1> > > > > Actually, I don't think the trick works with longtable - at least, I > > can't see any difference (checking the tex file shows no evidence of > > the attributes.) And fwiw, the other trick of resetting the size > > (http://thread.gmane.org/gmane.emacs.orgmode/42196/focus=42785) > > doesn't seem to work either - the commands are probably very > > different. In fact, trying to place a \footnotesize or \scriptsize > > into the tex file was a bust - I tried a few places and either got > > errors or no changes in size. So I don't know how to change the size > > in LaTeX, let alone in org. > > > > It works for me very smoothly. I have attached an example org file and > the exported tex and pdf files. > > > Nick > > > > > > -- > Suvayu > > Open source is the future. It sets us free. > [-- Attachment #2: Type: text/html, Size: 2527 bytes --]
suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> Yes you are correct. There was no adjoining text so I didn't notice
> the regular size fonts. I think the placement option is getting
> completely ignored when longtable is present.
>
> That being said, if I put the \footnotesize after the #+LATEX
> \begin{landscape} line, it does get exported and the table has smaller
> fonts. The #+LATEX: \end{landscape} also successfully limits its scope
> to just the table.
>
... or before - the longtable environment does not reset the size to
\normalsize (as the table environment does - that's what caused all the
problems in the first place), so you can change the font size as you
would normally.
Nick