[O] resize table in latex

2015-06-01 Thread Zhihao Ding
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 foll

Re: [O] resize table in latex

2015-06-01 Thread Loris Bennett
Zhihao Ding 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: }} > >

Re: [O] resize table in latex

2015-06-01 Thread Suvayu Ali
On Mon, Jun 01, 2015 at 10:51:24AM +, Zhihao Ding wrote: > 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}{!}{

Re: [O] resize table in latex

2015-06-02 Thread Zhihao Ding
Thanks very much for your reply. The proposed method in this reply won’t work. It needs to be in the following structure where this line “\scriptsize{\resizebox{\textwidth}{!}{“ is after “\begin{table}[htb]” and immediately before “\begin{tabular}{rr}”. I don’t know how to achieve that in t

Re: [O] resize table in latex

2015-06-02 Thread Suvayu Ali
On Tue, Jun 02, 2015 at 08:43:07AM +, Zhihao Ding wrote: > Thanks very much for your reply. The proposed method > in this reply won’t work. It needs to be in the following > structure where this line > > “\scriptsize{\resizebox{\textwidth}{!}{“ > > is after “\begin{table}[htb]” and immed

Re: [O] resize table in latex

2015-06-02 Thread Zhihao Ding
Thanks. This idea works, based on which I used the following in the end. #+NAME: tbl:lab #+ATTR_LATEX: :caption \caption[short]{\label{tbl:lab} long.} \scriptsize{\resizebox{\textwidth}{!} \centering It does’t look very org like but is good that it works. Thanks, Zhihao > On 2 Jun 2015, at