Zhihao Ding <zhihao.d...@imm.ox.ac.uk> writes:

> Hi there, 
>
> I am trying to find a way to automatically resize tables
> in the latex output.
>
> When doing slides in beamer, I use this to resize tables 
> to fit in a frame
>
>      #+LaTeX: \scriptsize{\resizebox{\textwidth}{!}{
>       | . | . |
>      #+LaTeX: }}
>
> While when writing reports, I use the following instead 
> as I need to cross reference it by the name
>
>      #+CAPTION: table caption
>      #+NAME: table:label
>       | . | . |
>
> then I loose the resize facility.  How could I combine 
> the two? I tried to fiddle with 
> #+ATTR_LATEX but didn’t mange to make it work. 
>
> Thanks very much!
>
> Zhihao

I'm not sure whether it is related, but I have had problems with using a
colon in names of objects.  Using, say, 'table;label' instead of
'table:label' might help.

Cheers,

Loris

-- 
This signature is currently under construction.


Reply via email to