emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Space around tables in LaTeX export?
Date: Fri, 14 Feb 2014 11:23:04 -0600	[thread overview]
Message-ID: <CA+M2ft_YiCejHnyrqRA5g9kgv6Cn4-VR4-MVZDa-W_CU_oDyJw@mail.gmail.com> (raw)
In-Reply-To: <20140214170857.GC15776@pdavismbp15.iscinternal.com>

[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]

On Fri, Feb 14, 2014 at 11:08 AM, Peter Davis <pfd@pfdstudio.com> wrote:
> I'm trying to export a document to PDF via LaTeX, but my tables appear with no preceding or trailing whitespace, even if I put several blank lines before and after. For example:
>
> ---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---
> blah blah blahbeddy-blah and still more blah
>
>
> |------------+------+--------|
> |            | Some | Stuff  |
> |------------+------+--------|
> | First row  | yes  | n/a    |
> | 2nd row    | no   | maybe  |
> |------------+------+--------|
>
>
> blah blah blahbeddy-blah and still more blah
> ---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---cut---
>
> In the resulting PDF, there's no space between the table and the surrounding text.

How much are you looking for? I just exported (emacs -Q with minimal
config, see attached) and get one blank line before and after. Is this
what you get, or are you stating that you get literally *no*
whitespace? If you just want more, then Charles' suggestion is the
easiest way to go, and what I use. You can reduce the verbosity
slightly with:

#+begin_src org

blah blah blah...

#+latex: \vspace{1cm}

| table |

#+latex: \vspace{1cm}

blah blah blah...


Best regards,
John

>
> I couldn't find anything here [[http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-13]] on how to fix this.
>
> Thanks!
>
> -pd
>
>
> --
> ----
> Peter Davis
> The Tech Curmudgeon
> www.techcurmudgeon.com
>

[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 59664 bytes --]

      parent reply	other threads:[~2014-02-14 17:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 17:08 Space around tables in LaTeX export? Peter Davis
2014-02-14 17:18 ` Charles Millar
2014-02-14 17:23   ` Peter Davis
2014-02-14 17:27     ` Rasmus
2014-02-14 18:16       ` Peter Davis
2014-02-14 17:27     ` Charles Millar
2014-02-14 17:23 ` John Hendy [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=CA+M2ft_YiCejHnyrqRA5g9kgv6Cn4-VR4-MVZDa-W_CU_oDyJw@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.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).