emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* resize table in latex
@ 2015-06-01 10:51 Zhihao Ding
  2015-06-01 11:21 ` Loris Bennett
  2015-06-01 16:35 ` Suvayu Ali
  0 siblings, 2 replies; 6+ messages in thread
From: Zhihao Ding @ 2015-06-01 10:51 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-02  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-01 10:51 resize table in latex Zhihao Ding
2015-06-01 11:21 ` Loris Bennett
2015-06-01 16:35 ` Suvayu Ali
2015-06-02  8:43   ` Zhihao Ding
2015-06-02  9:06     ` Suvayu Ali
2015-06-02  9:59       ` Zhihao Ding

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).