emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] shrink latex table to fit beamer slide


From: Zhihao Ding
Subject: Re: [O] shrink latex table to fit beamer slide
Date: Sat, 6 Dec 2014 14:19:38 +0000

Thanks guys, in the end using R to round numbers and latex 
resizebox to shrink table fonts as Andreas suggested works 
best for me. 

Cheers,
Zhihao


     #+name: origtable
      | 124.195548 |    310.528 |   
         | 120.848541 | 122.70234 | 
   
     #+name: formatorigtable
     #+begin_src R :var origtable=origtable :colnames yes
     origtable[,1:2] <- format(origtable[,1:2], digits=3)
     origtable
     #+end_src

     #+results: formatorigtable

     #+LaTeX: \resizebox{\textwidth}{!}{  
         | 124.195 |    310.528 |   
         | 120.848 | 122.702 | 
     #+LaTeX: }




> On 6 Dec 2014, at 11:04, Eric S Fraga <address@hidden> wrote:
> 
> On Friday,  5 Dec 2014 at 14:39, Zhihao Ding wrote:
>> Thanks a lot Andreas. Is there a way to globally 
>> shrink/resize table for latex export without having 
> 
> Beamer allows for shrinking of a whole frame to ensure it fits:
> 
> --8<---------------cut here---------------start------------->8---
> * Frame title
> :PROPERTIES:
> :BEAMER_optimisation: shrink
> :END:
> 
> | my | table  |
> | et | cetera |
> --8<---------------cut here---------------end--------------->8---
> 
> The shrink option can also specify a percentage, as in "shrink=20".
> 
> -- 
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-581-g0e52f0




reply via email to

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