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" <aarone...@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


Reply via email to