From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Stanton Subject: Re: Extra space after listings in LaTeX export with minted Date: Thu, 14 Mar 2013 21:44:00 +0000 Message-ID: References: <87zjy5al6m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGFwR-0003WO-Sc for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 17:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGFwQ-0004fo-IH for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 17:44:03 -0400 Received: from gateway-a.haas.berkeley.edu ([128.32.222.29]:11730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGFwQ-0004fY-CX for emacs-orgmode@gnu.org; Thu, 14 Mar 2013 17:44:02 -0400 In-Reply-To: <87zjy5al6m.fsf@gmail.com> Content-Language: en-US Content-ID: <4C113EEBF429D14099EB398A467445D8@campus.berkeley.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Aaron Ecay Cc: "emacs-orgmode@gnu.org" 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" wrote: >Hi Richard, > >2013ko martxoak 14an, Richard Stanton-ek idatzi zuen: >>=20 >> 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 =B3sort of=B2: 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. > >--=20 >Aaron Ecay