How can I refer to 'coupled' tables (say different tables but referenced as table 5a and table 5b). If I \label them and use \ref, they would be referenced in the document as table 5 and table 6.

  • 6
    Have a look at the package subcaption or subfig – Marco Daniel Jun 9 '12 at 16:57

Here's a complete example using the packages subcaption and cleveref (the latter for automatic formatting of cross-references).






(Tabular material)
\subcaption{A subtable}\label{tab:foox}


(Tabular material)
\subcaption{A subtable}\label{tab:fooy}
\caption{A table}\label{tab:foo}

See \cref{tab:foo} and especially \cref{tab:foox,tab:fooy}.


enter image description here

  • My requirement is a bit different though, rather than side-by-side, is it possible to get the tables one after the other? Then naming them 1(a) and 1(b) both different captions. They show related data but there is a difference in the method, which explains my need. – Abhimanyu Arora Jun 10 '12 at 15:36
  • @AbhimanyuArora I updated my answer. – lockstep Jun 10 '12 at 17:06

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.