[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: |
Nick Dokos |
Subject: |
Re: [O] Passing font size to exported LaTeX table |
Date: |
Tue, 24 May 2011 17:19:09 -0400 |
[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:
--8<---------------cut here---------------start------------->8---
\makeatletter
\def address@hidden {%
address@hidden
\scriptsize
address@hidden
}
\makeatother
--8<---------------cut here---------------end--------------->8---
scripttab.org:
--8<---------------cut here---------------start------------->8---
#+LaTeX_HEADER: \usepackage{scripttab}
* foo
What's this?
#+tblname: foo
#+CAPTION: foo
| table | here |
|-------+------|
| table | here |
What's this?
--8<---------------cut here---------------end--------------->8---
I think this works OK.
Nick
- [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 <=
- Re: [O] Passing font size to exported LaTeX table, Thomas S. Dye, 2011/05/25
- 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