Nick Dokos <nicholas.do...@hp.com> writes:

> [Fat-fingered it and sent it prematurely - sorry about that]
>
> Nick Dokos <nicholas.do...@hp.com> wrote:
>
>> Nick Dokos <nicholas.do...@hp.com> wrote:
>> 
>> > Thomas S. Dye <t...@tsdye.com> 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
>> 
>
> This was supposed to say that yes, indeed, the table environment sets
> \normalsize explicitly, through this sequence of macro calls.
>
>> So you can redefine floatboreset to change the size:
>                       floatboxreset
>> 
>> scripttab.sty:
>> \makeatletter
>> \def \@floatboxreset {%
>>         \reset@font
>>         \scriptsize
>>         \@setminipage
>> }
>> \makeatother
>> 
>> scripttab.org:
>> 
>
> scripttab.sty:
> \makeatletter
> \def \@floatboxreset {%
>         \reset@font
>         \scriptsize
>         \@setminipage
> }
> \makeatother
>
> scripttab.org:
> #+LaTeX_HEADER: \usepackage{scripttab}
>
> * foo
>
> What's this?
>
>
> #+tblname: foo
> #+CAPTION: foo
> | table | here |
> |-------+------|
> | table | here |
>
> What's this?
>
>
> I think this works OK.
>
> Nick
>
Aloha Nick,

This works like a charm.  Thanks!

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

Reply via email to