Code: Select all
% Single Space Figures, Tables, and Footnotes
% Redefine the macro used for floats (including figures and tables) so
% that single spacing is used. (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@
% leave captions indented, I hope
\hsize\columnwidth
\@parboxrestore
}
The error at the point at which the first figure in the document is inserted. Can someone help me to fix the issue with this?Paragraph ended before \@xfloat was complete
Thank you.