Search found 2 matches

by mbranko
Sun Jun 26, 2011 10:18 pm
Forum: General
Topic: minted | How to create a new Environment
Replies: 2
Views: 2841

Re: minted | How to create a new Environment

Thanks!

But I'm trying to change parameters for minted's listing environment, not the minted environment (as described in Section 6).
by mbranko
Sun Jun 26, 2011 4:23 pm
Forum: General
Topic: minted | How to create a new Environment
Replies: 2
Views: 2841

minted | How to create a new Environment

Hi,

In a document I write there are lots of Java and XML listings displayed using minted package. Here is an example:
\begin{listing}[htb]
\setlength\partopsep{-\topsep}
\addtolength\partopsep{-\parskip}
\begin{minted}{java}
public class X {
public static void main(String[] args} {
}
}
\end ...