Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % Save LaTeX kernel version of \@xfloat
- \makeatletter
- \let\my@xfloat\@xfloat
- \makeatother
- % Create a modified copy of \@xfloat using the kernel definition
- \makeatletter
- \def\@xfloat#1[#2]{
- \my@xfloat#1[#2]%
- \def\baselinestretch{1}%
- % I COMMENTED THIS PART BELOW.
- % \@normalsize \normalsize
- %}
- %\makeatother
- %
- %%%
- %%% Reset baselinestretch within footnotes and floats. Originally stolen
- %%% from Stanford thesis style.
- %%%
- %\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}
- % OLD SPACING TWEAK CONTINUES BELOW
- \ifx\undefined\selectfont
- \small\normalsize
- \else
- \@newbaseline
- \fi
- \boxmaxdepth\z@
- \hsize\columnwidth \@parboxrestore}
- \long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\footnotesize
- \interlinepenalty\interfootnotelinepenalty
- \splittopskip\footnotesep
- \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
- \hsize\columnwidth \@parboxrestore
- \edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}\@makefntext
- {\rule{\z@}{\footnotesep}\ignorespaces
- #1\strut}}}
Advertisement
Add Comment
Please, Sign In to add comment