[texhax] captions and floats

Alex Scorpan scorpan at gmail.com
Tue Jun 6 17:13:21 CEST 2006


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

The new \caption will function just like \donemaincapture\caption did  
before.
You need to store \caption somewhere if you want to just redefine it  
to always be preceded by \donemaincapture.

-- Alex


More information about the texhax mailing list