[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Passing font size to exported LaTeX table
From: |
Thomas S. Dye |
Subject: |
Re: [O] Passing font size to exported LaTeX table |
Date: |
Tue, 24 May 2011 21:22:19 -1000 |
Nick Dokos <address@hidden> writes:
> [Fat-fingered it and sent it prematurely - sorry about that]
>
> Nick Dokos <address@hidden> wrote:
>
>> Nick Dokos <address@hidden> wrote:
>>
>> > Thomas S. Dye <address@hidden> 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 address@hidden {%
>> address@hidden
>> \scriptsize
>> address@hidden
>> }
>> \makeatother
>>
>> scripttab.org:
>>
>
> scripttab.sty:
> \makeatletter
> \def address@hidden {%
> address@hidden
> \scriptsize
> address@hidden
> }
> \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
- [O] Passing font size to exported LaTeX table, John Hendy, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Sebastien Vauban, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, John Hendy, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, John Hendy, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table, Nick Dokos, 2011/05/24
- Re: [O] Passing font size to exported LaTeX table,
Thomas S. Dye <=
- Re: [O] Passing font size to exported LaTeX table, suvayu ali, 2011/05/26
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, suvayu ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/27
- Re: [O] Passing font size to exported LaTeX table, Sebastien Vauban, 2011/05/28
- Re: [O] Passing font size to exported LaTeX table, Suvayu Ali, 2011/05/28