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 trying to create a table which spans both columns of a two column document based on the IEEEtrans document class. However I am receiving the following error which I cannot explain:

! Extra }, or forgotten \endgroup.
\@endfloatbox ...pagefalse \outer@nobreak \egroup 
                                                  \color@endbox 
l.719 \end{table*}

Here is the table:

\begin{table*}
    \centering
      \caption{Penalty functions used in Optimisation}
        \begin{tabular*}{0.75\textwidth}{c c c c c}
            \toprule
            Aspect  & Notation & Limit & Penalty Function & Comments \\
            \midrule
            RMS Current Density & 6~Amm\textsuperscript{-2} & $L_{\text{JRMS}}$ & $S_C$ & \\
            Peak Current Density & 10~Amm\textsuperscript{-2} & $L_{\text{JMAX}}$ & $S_C$ & \\
            \bottomrule
        \end{tabular*}
        \label{tab:penfcns}
\end{table*}

The document builds with no errors if I comment out the table. line 719 is the line containing the:

\end{table*}

EDIT - MINIMAL EXAMPLE

\documentclass[journal]{IEEEtran}

\usepackage[tight,footnotesize]{subfigure}

\usepackage{fixltx2e}

\begin{document}


\begin{table*}[t]
    \centering
      \caption{Penalty functions used in Optimisation}
        \begin{tabular*}{0.75\textwidth}{c c c c c}
            Aspect  & Notation & Limit & Penalty Function & Comments \\
            RMS Current Density & 6~Amm\textsuperscript{-2} &  & $S_C$ & \\
            Peak Current Density & 10~Amm\textsuperscript{-2} &  & $S_C$ & \\
        \end{tabular*}
        \label{tab:penfcns}
\end{table*}



\end{document}

The combination of subfigure and fixltx2E seems to be the problem. I probably should be using subfig anyway.

share|improve this question
2  
You should provide a minimal working example (MWE), since this code doesn't give errors when inserted in a sample document. –  egreg Jul 13 '11 at 12:46
    
I have found that the error disappears if I comment out the fixLaTeX2E package which I was using. Not sure yet though if this will cause me other problems. –  crobar Jul 13 '11 at 14:33
    
I don't get errors even loading fixltx2e; a MWE is needed. –  egreg Jul 13 '11 at 14:43
1  
It seems that the subfigure package and fixltx2E don't like each other. The solution is to use subfig I think. –  crobar Jul 13 '11 at 15:00
1  
Yes, subfigure is obsolete. –  egreg Jul 13 '11 at 15:01

1 Answer 1

up vote 4 down vote accepted

use package subfig instead of the outdated subfigure. The documentation is available with running texdoc subfig.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.