I have almost 100 tabular environments in my latex document and I've decided that they would be better placed in my appendix. What is the easiest way to move them all and provide a reference to them? I really don't want to have to copy and paste them all and then add references.

  • Welcome to TeX.SX! It is easier to help you if you add a minimal working example that takes the form \documentclass{...}\usepackage{....}\begin{document}...\end{document}. If possible, it should compile and have the minimum amount of code needed to illustrate your problem. This makes it much easier for people to troubleshoot your problem - and much more likely that they will! – user30471 Jan 6 '16 at 13:24
  • It would be good to see what you mean by "provide a reference" to them -- and also what your tables looks like. – user30471 Jan 6 '16 at 13:24
  • probably the endfloat package – David Carlisle Jan 6 '16 at 16:32

Not knowing the document class or much of anything else, this could be anything from a starting point to a complete solution:

\renewcommand{\efloatseparator}{\mbox{}} % allows tables to share a page

\chapter{A chapter}

As shown in Tables~\ref{tab:one} and \ref{tab:another}, we have two variables.
A & B \\
1 & 2 \\
3 & 4
\caption{\label{tab:one} A Table}

C & D \\
5 & 6 \\
7 & 8
\caption{\label{tab:another} A Second Table}

\chapter{An appendix}



enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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