emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] resize table in latex


From: Loris Bennett
Subject: Re: [O] resize table in latex
Date: Mon, 01 Jun 2015 13:21:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Zhihao Ding <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]