[texhax] captions and floats

Tom Sgouros tomfool at as220.org
Tue Jun 6 17:00:14 CEST 2006


Hello all:

In hunting through the memoir class, learning about captions, I found
this code:

\let\@memoldcaption\caption
\def\caption{\donemaincaptiontrue\@memoldcaption}

\let\@memold at caption\@caption
\long\def\@caption#1[#2]#3{%
  \M at gettitle{#2}\@memold at caption{#1}[#2]{#3}}


Can someone explain to me what kind of trickery is going on here?  These
both look circular to me.

Thanks,

 -tom


-- 
 ------------------------
 tomfool at as220 dot org
 http://sgouros.com  
 http://whatcheer.net


More information about the texhax mailing list