emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Extra space after listings in LaTeX export with minted


From: Richard Stanton
Subject: Re: [O] Extra space after listings in LaTeX export with minted
Date: Thu, 14 Mar 2013 21:44:00 +0000
User-agent: Microsoft-MacOutlook/14.3.1.130117

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" <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]