Graphics, Figures & Tables ⇒ Tables Over Multiple Pages: Strange Error Seen
Tables Over Multiple Pages: Strange Error Seen
I have a document I would like to include the table in. When input the table, it inputs as much of the table as it can onto the current page and then stops. Any text after the document is not complied into the PDF.
The whole thing works fine if it is a small table.
what i would like to do is insert my whole table into the document.
I have been reading up on longtable, but to no avail.
A second question is: My table has headers. Is there a clever way to be able to see the headers on the subsequent pages?
Please find attached my MWE.
many thanks for your kind help.
- Attachments
-
- mwe.rar
- (91.71 KiB) Downloaded 229 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Tables Over Multiple Pages: Strange Error Seen
- The first words (wwwwww ...) are too long.
- You must put simple tex code into files which are used via \input, meaning only sth. similar to
and not sth. similar to
Code: Select all
Text.\\ NExt line. $\sin$.
Meaning: Get rid of the preamble in the file data.tex.Code: Select all
\usepackage[english]{babel} \begin{document} Text. \end{document}
- Since you already use TXC, you should also use its "Project" feature. That makes working with .tex-documents really comfortable.
- For creating a table with the same header over more than one page, you'll find, IIRC, all the necessary commands in section 3 of the longtable manual.
- Maybe read up on creating "nice" tables?
=> http://www.google.com/search?&q=latex+t ... te:tug.org
Re: Tables Over Multiple Pages: Strange Error Seen
Im afraid that im not too clear on parts of it. Could you elaborate:
1. the "wwwwwwww" stuff in the MWE was just there to replicate text. In my version it is actual words. This doesnt effect the table compiling.
2. you say only simple text can be input. This is not correct, as a smaller version of the table will input fine with all the same headers etc.
3. Sorry but what is TXC and what is its project feature? How would I use it?
4. I have looked at the longtable PDF with a view to multi-page headers but to no avail.
thanks
Tables Over Multiple Pages: Strange Error Seen
http://tinyurl.com/3vz7we9Sorry but what is TXC and what is its project feature? How would I use it?
=>
http://www.texniccenter.org/about/screenshots
If you want to create a project in TXC with this navigator view, click on "Project" and then "Create ... [etc.]". Yep, that simple. =)
See the files and .I have looked at the longtable PDF with a view to multi-page headers but to no avail.
Re: Tables Over Multiple Pages: Strange Error Seen
I was confused when you said "Since you already use TXC". I did know TXC was for the TeXnic IDE, however I used WinEdt and have never used TeXnic. I assumed it was some WinEdt Add-on.
I got your example to compile. Thank you very much for your effort and kind work! Much appreciated.
I am still less clear on why GNUMERIC tables will not insert over multiple pages (but will happily over one page). It maybe the case of me not understanding something and making a mistake, or it maybe a bug with some package interactions etc.
For now the solution I will use is to generate from excel to GNUMERIC tex and then manually remove all the GNUMERIC headings that they place in.
thank you!
Re: Tables Over Multiple Pages: Strange Error Seen
Well, about inputting a whole document, it's simply too much work regarding the whole process. It's much simpler the way I did it, isn't it?

About GNUMERIC tables, I simply ignored that issue because I've never heard of that before. But after googling it and reading up on it in 2 minutes, I strongly suggest using OpenOffice's Calc and then add-on called "Calc2LaTeX". This add-on generates a much better latex-code, especially because the cells of one row are in fact in one line.
Best regards,
Montag
Re: Tables Over Multiple Pages: Strange Error Seen
yes your methodology worked well. I will use this in future.
I did have a fair look about before choosing GNUMERIC. I seem to remember Calc2LaTeX does not work anymore/ there are serious issues with it now, and hence I opted for GNUMERIC.
regards and thank you