emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zhihao Ding <zhihao.ding@imm.ox.ac.uk>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: shrink latex table to fit beamer slide
Date: Fri, 5 Dec 2014 11:18:45 +0000	[thread overview]
Message-ID: <ba7c6d3f-751b-4825-8263-119f5d2b1992@HUB05.ad.oak.ox.ac.uk> (raw)

Dear Org experts, 

I am trying to fit a slightly wide latex table into a beamer 
slide in org. Below is my current solution and I was wondering 
if anyone can offer some advice on improving it. 

     #+begin_scriptsize
     #+ATTR_LATEX: :align p{1cm} p{0.5cm} p{1cm}
     |           |     |     <7> |
     |      Site | Ind | -log10.pval |
     | 123279713 |   1 | 6.006102 |
     | 123279713 |   2 | 6.274326 |
     | 123279713 |   4 | 6.210920 |
     | 123279710 |   4 | 97.163695 |
     | 123279710 |   5 | 208.841892 |
     #+end_scriptsize

In this solution, the issues are: (1) <N> for column width 
doesn’t seem to round text for latex output, and (2) I need
to define column width in addition to <N>. 
I’d like to seek a solution that just shrinks the table to fit 
the text width without this fiddling. 

Many thanks, 
Zhihao
 

             reply	other threads:[~2014-12-05 11:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 11:18 Zhihao Ding [this message]
2014-12-05 13:12 ` shrink latex table to fit beamer slide Andreas Leha
2014-12-05 14:39   ` Zhihao Ding
2014-12-05 14:55     ` Andreas Leha
2014-12-06 11:04     ` Eric S Fraga
2014-12-06 14:19       ` Zhihao Ding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ba7c6d3f-751b-4825-8263-119f5d2b1992@HUB05.ad.oak.ox.ac.uk \
    --to=zhihao.ding@imm.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).