From: Richard Stanton <stanton@haas.berkeley.edu>
To: Aaron Ecay <aaronecay@gmail.com>
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 21:44:00 +0000 [thread overview]
Message-ID: <CD679247.13D4B%stanton@haas.berkeley.edu> (raw)
In-Reply-To: <87zjy5al6m.fsf@gmail.com>
Thanks, Aaron. I ended up adding the line
#+LaTeX_HEADER: \addtolength\partopsep{-0.9cm}
to my org file. Not too complicated...
There's still one more (even more) minor problem, which is that minted
always indents the text immediately after a listing, but this I can
probably live with.
On 3/14/13 11:30 AM, "Aaron Ecay" <aaronecay@gmail.com> wrote:
>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-fr
>om-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
next prev parent reply other threads:[~2013-03-14 21:44 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
2013-03-14 21:44 ` Richard Stanton [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CD679247.13D4B%stanton@haas.berkeley.edu \
--to=stanton@haas.berkeley.edu \
--cc=aaronecay@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.