[pdftex] problem when using package color with floats
Bintu Vasudevan
bintu_gv at yahoo.com
Fri Apr 13 11:07:16 CEST 2007
Hi
when i redefine the macro used for floats (including figures and tables)
so that single spacing is used. My tex file compile and as work fine.
But when i want to usepackage{color} is hangs througing with message:
=============================================
! Too many }'s.
\color at endbox ->\color at endgroup \egroup
l.39 \end{figure}
?
==============================================
Here is Redefined the macro defined
-----------------------------------------------------------------------------------------------------
% (Note \def\figure{\@float{figure}set single spacing} doesn't work
% because figure has an optional argument)
\def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else
\@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner
\@parmoderr\@floatpenalty\z@
\else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname
\multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n
\@tfor \@tempa :=#2\do
{\if\@tempa h\advance\@tempcnta \@ne\fi
\if\@tempa t\advance\@tempcnta \tw@\fi
\if\@tempa b\advance\@tempcnta 4\relax\fi
\if\@tempa p\advance\@tempcnta 8\relax\fi
}\global\count\@currbox\@tempcnta}\@fltovf\fi
\global\setbox\@currbox\vbox\bgroup
\def\baselinestretch{1}\@normalsize
\boxmaxdepth\z@
\hsize\columnwidth \@parboxrestore}
-----------------------------------------------------------------------------------------------------
can some body help in this case.
Thanks in Advance
bintu
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
More information about the pdftex
mailing list