4

There are two tables, where the second one is the legend of the first one. How can I combine these easily without destroying the first or second table's layout?

\begin{table}[htbp]
  \begin{tabular}{|lccccc|}
    \small{333333333333333333} & E1111MP & EMP       & EMP  & adddW        & SOW          \\ 
    \small{4444444444444444}   & CsssON  & 222d2EMP  & D    & HAAAddddddW  & Erad23P      \\ 
    \small{555555}             & EEEP    & BRxxxxxRR & TTMP & TTxxxxxxxxMP & EMXxx xxxxXP \\ 
  \end{tabular}
\end{table}
\begin{table}[htbp]
  \begin{tabular}{|lcc|} 
    \small{444444 4444444444} & Csddddddddss ddd dddddddd & dasadafasdfa               \\ 
    \small{555555}            & EEEP                      & BRxxxxxxxxxxxxxxxxxxxxxxRR \\ 
  \end{tabular}
\end{table}
  • Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. – jub0bs Apr 15 '13 at 18:31
  • maybe this one is easier to understand: \begin{table}[htbp] \begin{tabular}{|lccccc|} \small{333333333333333333} & E1111MP & EMP & EMP & adddW & SOW \\small{4444444444444444} & CsssON & 222d2EMP & D & HAAAddddddW & Erad23P \\small{555555} & EEEP & BRxxxxxRR & TTMP & TTxxxxxxxxMP & EMXxx xxxxXP \\end{tabular} \end{table} \begin{table}[htbp] \begin{tabular}{|lcc|} \small{444444 4444444444} & Csddddddddss ddd dddddddd & dasadafasdfa \\small{555555} & EEEP & BRxxxxxxxxxxxxxxxxxxxxxxRR \\end{tabular} \end{table} – user25210 Apr 15 '13 at 18:48
  • sorry for the formatting ;) – user25210 Apr 15 '13 at 18:50
5

Put both in one table environment.

\begin{table}[htbp]
  \begin{tabular}{|lccccc|}
    \small{333333333333333333} & E1111MP & EMP       & EMP  & adddW        & SOW          \\ 
    \small{4444444444444444}   & CsssON  & 222d2EMP  & D    & HAAAddddddW  & Erad23P      \\ 
    \small{555555}             & EEEP    & BRxxxxxRR & TTMP & TTxxxxxxxxMP & EMXxx xxxxXP \\ 
  \end{tabular}

  \begin{tabular}{|lcc|} 
    \small{444444 4444444444} & Csddddddddss ddd dddddddd & dasadafasdfa               \\ 
    \small{555555}            & EEEP                      & BRxxxxxxxxxxxxxxxxxxxxxxRR \\ 
  \end{tabular}
\end{table}
  • This seems to be the most underestimated trick regarding tabulars. – Keks Dose Apr 15 '13 at 19:51
  • Herbert you are right! never thought on that easy way! TNX A LOT! – user25210 Apr 15 '13 at 19:54
  • this is very useful. – Atilla Ozgur Jun 10 '14 at 11:56

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.