You'd think so, but it actually doesn't make a difference. It's indented
even when there's no blank line in the LaTeX file. It's a minted
"feature", I think. I did email the minted author about it, so maybe one
day it'll be fixed.
On 3/15/13 10:45 AM, "Nicolas Goaziou" wrote:
>Hello,
>
>Aaron Ec
Hello,
Aaron Ecay writes:
> I am not sure there is a way to automate the \noindent: LaTeX indents
> the beginning of paragraphs, and in org there is no way to have a
> paragraph that contains a source listing. (In latex there is: don’t
> leave a blank line after the \end{minted}. But I don’t t
Hi Richard,
You should be able to get rid of that indentation by arranging for the
text after the listing end to begin with \noindent{} (in LaTeX). This
should be as simple, in org, as:
...
#+END_SRC
\noindent{}Lorem ipsum...
I am not sure there is a way to automate the \noindent: LaTeX indent
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
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 se
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