# aligning bottom of two tables

I need to align the bottom of these two tables, and I need to add a brace to each side of the second table.. how can I do that?

\begin{figure}[]
\centering
\subfloat[]{
\begin{tabular}{cc}
\hline
0 & 1\\
\hline
2 & 1\\
3 & 1\\
4 & 2\\
5 & 3\\
4 & 8\\
\hline
\end{tabular}
}
\subfloat[]{
\begin{tabular}{cc}
\hline
1 & 2\\
\hline
3 & 7\\
4 & 5\\
\hline
\end{tabular}
}
\end{figure}

Any help appreciated,

Ted.

-

I don't know, what kind of braces do you mean. Here is an example with round braces, can also be changed to something else.

\documentclass{scrartcl}
\usepackage{subfig}
\begin{document}

\begin{figure}
\centering
\subfloat[]{%
\begin{tabular}[b]{cc}
\hline
0 & 1\\
\hline
2 & 1\\
3 & 1\\
4 & 2\\
5 & 3\\
4 & 8\\
\hline
\end{tabular}%
\raisebox{1.2\normalbaselineskip}{$\left\{\rule{0pt}{2.1\normalbaselineskip}\right.$}
\subfloat[]{%
\begin{tabular}[b]{cc} \hline
1 & 2\\ \hline
3 & 7\\
4 & 5\\\hline
\end{tabular}%
}~
\raisebox{1.2\normalbaselineskip}{$\left\}\rule{0pt}{2.1\normalbaselineskip}\right.$}
\end{figure}

\end{document}
-
I mean the regular braces ... this ones { { { –  Flethuseo Jan 31 '11 at 20:40
@Flethuseo: no problem, replace the \left( with \left\{ and the \left) with \left\}. I did it also in my answer –  Herbert Jan 31 '11 at 21:07
It is somewhat difficult to use. I added an alternative solution using delarray. –  Leo Liu Feb 1 '11 at 8:08

For aliging, use

\begin{tabular}[b]{cc}
...

\begin{tabular}{cc}

For braces, use delarray package.

Complete code:

\documentclass{article}
\usepackage{subfig}
\usepackage{delarray}

\begin{document}

\begin{figure}
\centering
\subfloat[]{%
\begin{tabular}[b]{cc}
\hline
0 & 1\\
\hline
2 & 1\\
3 & 1\\
4 & 2\\
5 & 3\\
4 & 8\\
\hline