Advertisement
Guest User

Untitled

a guest
Jul 31st, 2014
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. documentclass[12pt]{article}
  2. usepackage{longtable}
  3. begin{document}
  4. begin{center}
  5. begin{longtable}{|c|c|c|c|}
  6. caption{A simple longtable example}\
  7. hline
  8. textbf{First entry} & textbf{Second entry} & textbf{Third entry} & textbf{Fourth entry} \
  9. hline
  10. endfirsthead
  11. multicolumn{4}{c}%
  12. {tablename thetable -- textit{Continued from previous page}} \
  13. hline
  14. textbf{First entry} & textbf{Second entry} & textbf{Third entry} & textbf{Fourth entry} \
  15. hline
  16. endhead
  17. hline multicolumn{4}{r}{textit{Continued on next page}} \
  18. endfoot
  19. hline
  20. endlastfoot
  21. 1 & 2 & 3 & 4dddddddddddd asdfdasfasdf asödflkjasdf asdfasdfasdf \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  22. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  23. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  24. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  25. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  26. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  27. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  28. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  29. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  30. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  31. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  32. 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \ 1 & 2 & 3 & 4 \
  33. end{longtable}
  34. end{center}
  35. end{document}
  36.  
  37. begin{longtable}{|c|c|c|c|}
  38.  
  39. begin{longtable}{|c|c|c|p{6cm}|}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement