Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am having issues inputting a table generated by excel2latex into my primary document.

I have called up packages bookends. And here is the code copied directly from excel2latex (in excel 2010 on a PC):

\begin{table}[htbp]  
  \centering  
  \caption{Add caption}  
    \begin{tabular}{rrrr}  
    \toprule  
    Group & Mean1 & Mean2 & Difference \\  
    \midrule  
    Men   & 2.6   & 3.6   & 1.0 \\  
    Women & 6.7   & 8.9   & 2.2 \\  
    \bottomrule  
    \end{tabular}%  
  \label{tab:junk}%  
\end{table}%  

With this code consistently I get the following 3 errors:

Too many }'s \end{table}  
\begin{document} ended by \end{table}. \end{table}  
Extra \endgroup \end{table}  

However, I can't seem to find any of these errors in the actual code.
I can't seem to get past these errors when the code is directly in the document or when input from a different file (as in \input{table_junk}).
Does anyone have any suggestions?

share|improve this question

closed as unclear what you're asking by Joseph Wright Aug 8 '13 at 7:51

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Correction, I'm using the package booktabs. –  marr Feb 19 '13 at 21:01
    
You can edit your question to add that –  leo Feb 19 '13 at 22:07
    
My suggestion would be to narrow down the problem via a minimal working example (MWE). –  Werner Feb 20 '13 at 1:56
    
Without a full MWE we can't really help here. –  Joseph Wright Aug 8 '13 at 7:51

Browse other questions tagged or ask your own question.