Next time please post a full
minimal working example, your current code snippet will not compile on its own, and even contains an incomplete environment (
\end{table}
, but no
\begin{table}
).
On topic, it's the
\\
after your final
\hline
that causes latex to think there is a single cell on the last row, since there are no
&
marks the other vertical line is not extended as well.
Code: Select all
\documentclass{article}
\begin{document}
\begin{table}
\centering
\footnotesize
\caption{Sample of simulation runs and measured energy consumption.}
\begin{tabular}
{c|ccccc|c} \hline\hline
Run & & & Factors (predictors) & & & Response \\ \hline
& A & B & C & D & E & Energy (Watts)\\ \hline
1 &(0) & (0) & (0) & (0) & (0) & 120530\\
2 & (-1) & (-1) & (0) & (0) & (0) & 117570 \\
3 & (1) & (-1) & (0) & (0) & (0) & 121010 \\
\vdots & \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\
\hline
\end{tabular}
\label{tb:ex1}
\end{table}
\end{document}
Ubuntu 13.10 + Tex Live 2013 + Texmaker / Windows 7 Pro + MikTex 2.9 + TexnicCenter / Android 4.3 + TexPortal + DroidEdit