# Multiple Table Horizontal Alignment [closed]

I am trying to put up multiple tables together. (Scroll down for MWE). I can not figure out why the last table is misaligned. I tried the solution here but it did not work for me as I am not using the tabulary package.

PDF Output I am Getting:

PDF Output Desired:

MWE :

\documentclass[conference]{IEEEtran}
\usepackage[cmex10]{amsmath}
\usepackage{amssymb}
\usepackage{array}
\usepackage[caption=false,font=footnotesize]{subfig}

\usepackage{eqparbox}
\interdisplaylinepenalty=2500
\usepackage{algorithmic}

\newcolumntype{R}{>{$}r<{$}}
\newcolumntype{L}{>{$}r<{$}}
\newcolumntype{M}{R@{${}={}$}L}

\begin{document}

\begin{table}[h]
\centering
\setlength{\extrarowheight}{2pt}{
\begin{tabular}{M|c}
\multicolumn{3}{c}{}\\\hline
\multicolumn{2}{c|}{Rules (Continuous Case)}      & \multicolumn{1}{c}{$\mbox{cv}_{w}$}      \\\hline
V^{1.000}x_{2}^{-1.000} & 4.459     & 0.24                            \\
S^{1.000}x_{2}^{0.999} & 89.971      & 0.26                            \\
x_{1}^{1.000}x_{2}^{-1.000} & 0.500  & 0.54                             \\
y^{1.000} & 2.001                    & 0.85                \\ \hline
\end{tabular}\hfill
%
\begin{tabular}{M|c}
\multicolumn{3}{c}{}\\\hline
\multicolumn{2}{c|}{Rules (Continuous Case)}      & \multicolumn{1}{c}{$\mbox{cv}_{w}$}      \\\hline
V^{1.000}x_{2}^{-1.000} & 4.459     & 0.24                            \\
S^{1.000}x_{2}^{0.999} & 89.971      & 0.26                            \\
x_{1}^{1.000}x_{2}^{-1.000} & 0.500  & 0.54                             \\
y^{1.000} & 2.001                     & 0.85           \\\hline
\end{tabular}\hfill
%
\begin{tabular}{M|c}
\multicolumn{2}{c|}{Rules (Continuous Case)}      & \multicolumn{1}{c}{$\mbox{cv}_{w}$}      \\\hline
V^{1.000}x_{2}^{-1.000} & 4.459     & 0.24                            \\
S^{1.000}x_{2}^{0.999} & 89.971      & 0.26                            \\
x_{1}^{1.000}x_{2}^{-1.000} & 0.500  & 0.54                             \\
y^{1.000} & 2.001                     & 0.85           \\\hline
\end{tabular}\hfill
%
\begin{tabular}{M|c}
\multicolumn{2}{c|}{Rules (Continuous Case)}      & \multicolumn{1}{c}{$\mbox{cv}_{w}$}      \\\hline
V^{1.000}x_{2}^{-1.000} & 4.459     & 0.24                            \\
S^{1.000}x_{2}^{0.999} & 89.971      & 0.26                            \\
x_{1}^{1.000}x_{2}^{-1.000} & 0.500  & 0.54                             \\
y^{1.000} & 2.001                     & 0.85                \\\hline
\end{tabular}
}
\end{table}

\end{document}

## closed as off-topic by Torbjørn T., Moriambar, Zarko, user36296, egregJun 6 '17 at 22:58

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• You code looks right here. dropbox.com/s/nksmt2dq5yjmjcz/Sele%C3%A7%C3%A3o_027.png?dl=0 – Sigur Jan 13 '15 at 19:09
• I get the desired output when I compile your minimal example. – Werner Jan 13 '15 at 19:10
• @Werner You are right. When I tried the MWE in a online Latex editor (Sharelatex), I also got the desired output. But My editor produces the wrong output. I am using TexStudio 2.6.6 on Ubuntu 14.04_64 bit. Can that make a difference? Or the way the build commands are compiled in it, can that make the difference? – Abhinav Jan 13 '15 at 19:13
• @Sigur You are right. When I tried the MWE in a online Latex editor (Sharelatex), I also got the desired output. But My editor produces the wrong output. I am using TexStudio 2.6.6 on Ubuntu 14.04_64 bit. Can that make a difference? Or the way the build commands are compiled in it, can that make the difference? – Abhinav Jan 13 '15 at 19:14
• I'm voting to close this question because the problem appears to be caused by outdated packages. – Torbjørn T. Jun 6 '17 at 22:09