Skip to main content
Became Hot Network Question
edited title to clarify posting's objective
Source Link
Mico
  • 545.4k
  • 57
  • 739
  • 1.3k

Table split into two columns on pageparts but not vertically aligned

I have a long but narrow table that I would like to fit onto one page by splitting it into two tablesparts side-by-side but still under the same table objecttable environment. I have somewhat achieved this using tabularx buttwo tabularx environments. However, as the two parts of the tables aretable have different lengths, they are slightly vertically offset on the page.   

Screenshot of side-by-side tables not vertically aligned

Table split into two columns on page but not vertically aligned

I have a long but narrow table that I would like to fit onto one page by splitting it into two tables side-by-side but still under the same table object. I have somewhat achieved this using tabularx but as the two parts of the tables are different lengths they are slightly vertically offset on the page.  Screenshot of side-by-side tables not vertically aligned

Table split into two parts but not vertically aligned

I have a long but narrow table that I would like to fit onto one page by splitting it into two parts side-by-side but still under the same table environment. I have somewhat achieved this using two tabularx environments. However, as the two parts of the table have different lengths, they are slightly vertically offset on the page. 

Screenshot of side-by-side tables not vertically aligned

Source Link

Table split into two columns on page but not vertically aligned

I have a long but narrow table that I would like to fit onto one page by splitting it into two tables side-by-side but still under the same table object. I have somewhat achieved this using tabularx but as the two parts of the tables are different lengths they are slightly vertically offset on the page. Screenshot of side-by-side tables not vertically aligned

Does anyone know how to get these tables vertically aligned with each other? I am quite new to using LaTeX but I've not been able to figure this out with my googling. This is the code I am using:

\begin{table}[t]
%\centering
\caption[List of compounds in mixed stock solution.]{List of compounds in mixed stock solution. iso = isoprene, mt = monoterpene, omt = oxygenated monoterpene, sqt = sesquiterpene, osqt = oxygenated sesquiterpene, dt = diterpene, tt = triterpene.}
\small
\begin{tabularx}{0.5\textwidth}{
        L
        R
        R}          
    \hline
    Compound & Type & Formula \\
    \hline\hline
    Isoprene & iso & C$_{5}$H$_{8}$ \\
    \hline
    $\upalpha$-Pinene & mt & C$_{10}$H$_{16}$ \\
    \hline
    Camphene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    Sabinene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    $\upbeta$-Pinene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    $\upbeta$-Myrcene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    $\upalpha$-Phellandrene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    3-Carene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    $\upalpha$-Terpinene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    \textit{m}-Cymene & mt & C$_{10}$H$_{14}$ \\
    \hline
    \textit{p}-Cymene & mt & C$_{10}$H$_{14}$ \\
    \hline
    Ocimene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    Eucalyptol & omt & C$_{10}$H$_{18}$O \\
    \hline
    \textit{D}-Limonene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    \textit{o}-Cymene & mt & C$_{10}$H$_{14}$ \\
    \hline
    $\upgamma$-Terpinene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    Sabinene Hydrate & omt & C$_{10}$H$_{18}$O \\
    \hline
    Terpinolene & mt &  C$_{10}$H$_{16}$ \\
    \hline
    Linalool & omt & C$_{10}$H$_{18}$O \\
    \hline
    Fenchol & omt & C$_{10}$H$_{18}$O \\
    \hline
    Isopulegol & omt & C$_{10}$H$_{18}$O \\
    \hline
\end{tabularx}
\begin{tabularx}{0.5\textwidth} {
        L
        R
        R}          
    \hline
    Compound & Type & Formula \\
    \hline\hline
    Isoborneol & omt & C$_{10}$H$_{18}$O \\
    \hline
    (-)-Borneol & omt & C$_{10}$H$_{18}$O \\
    \hline
    (+)-Borneol & omt & C$_{10}$H$_{18}$O \\
    \hline
    Menthol & omt & C$_{10}$H$_{20}$O \\
    \hline
    Terpinen-4-ol & omt & C$_{10}$H$_{18}$O \\
    \hline
    $\upalpha$-Terpineol & omt & C$_{10}$H$_{18}$O \\
    \hline
    Citronellol & omt & C$_{10}$H$_{20}$O \\
    \hline
    Carvacrol & omt & C$_{10}$H$_{14}$O \\
    \hline
    Geraniol & omt & C$_{10}$H$_{18}$O \\
    \hline
    Thymol & omt & C$_{10}$H$_{14}$O \\
    \hline
    (-)-$\upalpha$-Cedrene & sqt & C$_{15}$H$_{24}$ \\
    \hline
    Caryophyllene & sqt & C$_{15}$H$_{24}$ \\
    \hline
    trans-$\upbeta$-Farnesene & sqt & C$_{15}$H$_{24}$ \\
    \hline
    Humulene & sqt & C$_{15}$H$_{24}$ \\
    \hline
    Valencene & sqt & C$_{15}$H$_{24}$ \\
    \hline
    Nerolidol & osqt & C$_{15}$H$_{26}$O \\
    \hline
    Guaiol & osqt & C$_{15}$H$_{26}$O \\
    \hline
    Cedrol & osqt & C$_{15}$H$_{26}$O \\
    \hline
    (-)-$\upalpha$-Bisabolol & osqt & C$_{15}$H$_{26}$O \\
    \hline
    Farnesol & osqt & C$_{15}$H$_{26}$O \\
    \hline
    Phytane & dt & C$_{20}$H$_{42}$ \\
    \hline
    Squalene & tt & C$_{30}$H$_{50}$  \\
    \hline
\end{tabularx}
\end{table}