I try to use excel2latex for converting excel tables into LaTeX. Here is the simple code I am using:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{booktabs}
\begin{document}
\begin{table}[htbp]
\centering
\caption{Add caption}
\begin{tabular}{rrrr}
\toprule
1 & 4 & 6 & 8 \\
\midrule
-53 & 9 & 10 & 10 \\
\bottomrule
\end{tabular}%
\label{tab:addlabel}%
\end{table}%
\end{document}
basically, when I copy the LaTeX code from excel2latex add-in and paste it in my LaTeX code, I get tons of errors
but if I remove the last two lines and type it manually, it work.
^^@represents ASCII "NUL" (byte 0); from the form of the error lines it seems that line 29 contains a row of NULs. – egreg Oct 30 '12 at 13:15