[Tex/LaTex] Align the top of two tables horizontally (side-by-side with minipage)

gb4elinguisticsminipagetablesvertical alignment

I'm using \minipage to put two tables side by side. But when the two tables are not of equal length, the shorter of the two is vertically centered with respect to the other. I would like both tables to be aligned horizontally at the top (i.e. so that I could draw an imaginary straight flat line from (1) through (2)).

\documentclass{article}
\usepackage{gb4e}
\begin{document}
    \begin{table}[h]
        \begin{minipage}{0.5\linewidth}
            \begin{exe}
                \ex
                    \begin{tabular}[t]{l l}
                        ich & `I'\\
                        du & `you'\\
                        er & `he'\\
                    \end{tabular}
            \end{exe}
        \end{minipage}
        \begin{minipage}{0.5\linewidth}
            \begin{exe}
                \ex
                    \begin{tabular}[t]{l l}
                        Schiff & `ship'\\
                        Haus & `house'\\
                        Mund & `mouth'\\
                        Auto & `car'\\
                        Buch & `book'\\
                        Stuhl & `chair'\\
                    \end{tabular}
            \end{exe}
        \end{minipage}
    \end{table}
\end{document}

enter image description here

Best Answer

As Marc van Dongen says in a comment, add [t] as an option to both minipage environments:

\documentclass{article}
\usepackage{gb4e}
\begin{document}
    \begin{table}[h]
        \begin{minipage}[t]{0.5\linewidth}
            \begin{exe}
                \ex
                    \begin{tabular}[t]{l l}
                        ich & `I'\\
                        du & `you'\\
                        er & `he'\\
                    \end{tabular}
            \end{exe}
        \end{minipage}
        \begin{minipage}[t]{0.5\linewidth}
            \begin{exe}
                \ex
                    \begin{tabular}[t]{l l}
                        Schiff & `ship'\\
                        Haus & `house'\\
                        Mund & `mouth'\\
                        Auto & `car'\\
                        Buch & `book'\\
                        Stuhl & `chair'\\
                    \end{tabular}
            \end{exe}
        \end{minipage}
    \end{table}
\end{document}

enter image description here