emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Richard Stanton <stanton@haas.berkeley.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Extra space after listings in LaTeX export with minted
Date: Thu, 14 Mar 2013 14:30:25 -0400	[thread overview]
Message-ID: <87zjy5al6m.fsf@gmail.com> (raw)
In-Reply-To: <CD675821.13CFE%stanton@haas.berkeley.edu>

Hi Richard,

2013ko martxoak 14an, Richard Stanton-ek idatzi zuen:
> 
> Using the minted package, I get very nice colored listings in the PDF
> files generated by exporting to LaTeX, but there's always a lot of extra
> space after each listing and before any text that immediately follows.
> This seems to be an issue with the minted package itself, but I'm
> wondering if anyone has come up with a  simple work-around (short of
> inserting negative space after each listing).

It looks like the answer to your question is “sort of”: there are
workarounds, though whether they qualify as simple is largely a matter
of taste.  Check out these two StackOverflow discussions on the topic
(including solutions):

http://stackoverflow.com/questions/2318598/how-to-reduce-the-seperation-from-other-text-using-latex-minted
http://tex.stackexchange.com/questions/37117/belowskip-on-minted

In general, the TeX StackExchange site (the second link) is a marvelous
resource for LaTeX-related questions.  Many questions are already
answered there (with a usable search interface), and the community is
very friendly and helpful for new questions/users.

-- 
Aaron Ecay

  reply	other threads:[~2013-03-14 18:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 17:34 Extra space after listings in LaTeX export with minted Richard Stanton
2013-03-14 18:30 ` Aaron Ecay [this message]
2013-03-14 21:44   ` Richard Stanton
2013-03-14 23:03     ` Aaron Ecay
2013-03-15 17:45       ` Nicolas Goaziou
2013-03-15 18:12         ` Richard Stanton

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=87zjy5al6m.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=stanton@haas.berkeley.edu \
    /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).