TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using xcolor package to draw some colored tables. But I am having trouble with the \subsubsection command. When I block comment the colored tables and xcolor package, it works. When I do not use any subsubsection, it works. But when I use both at the same time, I get the errors below. Any one knows the solution? Thank you.

! Missing number, treated as zero.

<<to be read again>to be read again>


1.545 \subsubsection{Improved Bounds} I

n this part,

! Color stack action is missing.

<<to be read again>to be read again>


1.545 \subsubsection{Improved Bounds} I

n this part,
share|improve this question
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Caramdir Jun 30 '12 at 16:20
I would guess that you have added color commands to the section title in such a way that they also appeared in the page and corrupted the color stack. But without an example hard to guess and impossible to suggest a fix. – David Carlisle Jun 30 '12 at 16:42

The OP posted a minimal working example on LaTeX-Community.org. It turned out, that he used the fbe_tez package, which uses \underbar in its definition of the \@sectmacro.

The line I refer to is

\edef\@svsec{\underbar{\csname the#1\endcsname.\hskip 0.5em}}

As soon as the macro is patched such that it uses \underline instead, the error is gone.


\underbar is actually defined using \underline but at the base line. From latex.ltx:


The error would go away as well if \edef would be replaced by \def.

The whole thread regarding this topic: \subsubsection command and xcolor.

share|improve this answer
I have suffered from this style file in my MSc thesis too. Thanks a bunch for fixing one of many issues! – percusse Jun 30 '12 at 17:54
@percusse With regards to Numerating captions of subfigures, do you see any way to get this package updated? Do you know if somebody reported bugs so far? – Johannes_B Aug 6 '15 at 11:13

Your Answer


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.