Nick Dokos <[email protected]> wrote:
> Thomas S. Dye <[email protected]> wrote:
>
> >
> > This appears to work for tabular environments only. When I add a
> > caption the table is set normalsize and the text following it is set
> > scriptsize. Or, am I doing something wrong?
> >
>
> Oy, vey: I don't think you are doing anything wrong - I get the same
> thing.
>
> Can \scriptsize be used as a macro with argument? I don't have
> my references here. If I do it the way Seb suggested, inside an
> environment, it seems to work better, in the sense that it does not
> change the thing after the table - but the table is unaffected
> nevertheless. I guess the table environment sets a font size explicitly,
> overriding outside settings.
>
table -> float -> xfloat -> floatboxreset -> normalsize
So you can redefine floatboreset to change the size:
scripttab.sty:
--8<---------------cut here---------------start------------->8---
\makeatletter
\def \@floatboxreset {%
\reset@font
\scriptsize
\@setminipage
}
\makeatother
--8<---------------cut here---------------end--------------->8---
scripttab.org: