5

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}
3
  • 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
    Commented Apr 15, 2013 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
    Commented Apr 15, 2013 at 18:48
  • sorry for the formatting ;)
    – user25210
    Commented Apr 15, 2013 at 18:50

1 Answer 1

8

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}
3
  • This seems to be the most underestimated trick regarding tabulars.
    – Keks Dose
    Commented Apr 15, 2013 at 19:51
  • Herbert you are right! never thought on that easy way! TNX A LOT!
    – user25210
    Commented Apr 15, 2013 at 19:54
  • this is very useful. Commented Jun 10, 2014 at 11:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .