emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zhihao Ding <zhihao.ding@imm.ox.ac.uk>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: resize table in latex
Date: Tue, 2 Jun 2015 09:59:28 +0000	[thread overview]
Message-ID: <f4405ab6-c071-4b69-833f-c31d1698db23@HUB02.ad.oak.ox.ac.uk> (raw)
In-Reply-To: <20150602090619.GA2027@chitra.no-ip.org>

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 10:06, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
> 
> 
> 
> On Tue, Jun 02, 2015 at 08:43:07AM +0000, 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 immediately before 
>> “\begin{tabular}{rr}”. 
> 
> Why is that?  Is it because table is a float?
> 
> You could try repurposing the :caption attribute.  See: 
> 
>  (info "(org) LaTeX specific attributes")
> 
> Hope this helps,
> 
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.


      reply	other threads:[~2015-06-02  9:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=f4405ab6-c071-4b69-833f-c31d1698db23@HUB02.ad.oak.ox.ac.uk \
    --to=zhihao.ding@imm.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).