TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I have this report and i can be as long as 40 pages. My current setting is cutting it on one page only.

I am very new to latex and i am just copy pasting from internet. If you guys can fix that.

This is the working copy of that


\subsection{Current Students}
  \caption{Current Objects }
    Proponent                     &Statutory Process        &Student Name                 &Student Region          &Subjects\\
    Nevertheless, the natural ... &EP Act Environmental ... &With this clarification, ... &[uNorthwest Transition] &
        \# &Subject Type      \\
        1 &Research           \\\hline
        2 &Restoration        \\\hline
        3 &Research           \\\hline
        4 &Land aquisition    \\\hline
        5 &Onground management\\\hline
    Of course, the ...            &EP Act Clearing ...      &Of course, the ...           &[uGibson Desert]        &
        \# &Subject Type      \\
        1 &Education          \\\hline
        2 &Land aquisition    \\\hline
        3 &Subject funds      \\\hline
        4 &Other              \\\hline
        5 &Restoration        \\\hline
        6 &Recovery plans     \\\hline
        7 &Subject funds      \\\hline
share|improve this question

marked as duplicate by Xavier, Werner, Stefan Kottwitz May 9 '13 at 6:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Welcome to TeX.SX! A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). – Xavier May 9 '13 at 2:50
Also, for the future, please add a minimal working example (MWE) that starts with \documentclass{...}, ends with \end{document} and is verified to compile / produce the error you need help with. It will be much easier for us to reproduce your situation and find out what the issue is :) – Xavier May 9 '13 at 2:52
@Xavier I have MWE in the link provided above – user17 May 9 '13 at 3:15
The "M" of MWE stands for "minimal"... – Xavier May 9 '13 at 3:45
@Xavier , i have made that minimal – user17 May 9 '13 at 4:16
up vote 3 down vote accepted

To use longtable, add this to your preamble


and then replace every \begin{tabular} by \begin{longtable} and \end{tabular} by \end{longtable}.

You also need to get rid of any surrounding table environment, and push an eventual caption inside the longtable.

share|improve this answer
Can you please make chnage here because i am not getting it to work writelatex.com/174546bmvnqt – user17 May 9 '13 at 3:16
thanks buddy , that worked. One last thing if you can help me. How can i add the timeand date on the top righthand side corner in small font on first page. Like generated on bla bla – user17 May 9 '13 at 4:57
@user17 Just do a search for fancyhdr on this site :) – Xavier May 9 '13 at 4:58

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