Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to use make a longtable span across a two-column document?

I'm working on a twocolumn class, and I'd like to make the longtable be centralized in the page, as well as to make the orphan items, i.e. last items that shows up in a separate (last, usually) page to follow the same pattern as the initial pages.

I've thought about a similar way as the use of \begin{table*}, but I couldn't figure out how to do that for longtable.

I'd really appreciate to hear some experience on that.

share|improve this question

migrated from stackoverflow.com Apr 17 '12 at 23:34

This question came from our site for professional and enthusiast programmers.

    
I think the only way to do this will be with alternating multicolumn and longtable. Could you give some example code which could be used as a basis for a solution? It doesn't have to work, just to show what you are getting at. –  Stephan Lehmke Apr 18 '12 at 5:55
add comment

1 Answer 1

If you don't mind the table starting a new page then you can do

  \onecolumn
  \begin{longtable}....
  .....
  \end{longtable}
  \twocolumn

If that doesn't do what you need then probably you need to edit your question to add a complete but small example and say more exactly what you want it to produce.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.