listing package with multicol

2011-08-17 Thread Kulkarni Shantanu
Hi,
I have to split a program code (done using listing package)in 2 columns. The 
ways I have in mind are,
- make minipage 50% of width
- make a table with 2 colums
- use multicol package

Which of these is preferred? Or any other way that is recommended?

Thanks in advance.

Regards,
Shantanu
-- 



Re: listing package with multicol

2011-08-17 Thread Paul Rubin
Kulkarni Shantanu ml at lists.shantanukulkarni.org writes:

 
 Hi,
 I have to split a program code (done using listing package)in 2 columns.
 The ways I have in mind are,
 - make minipage 50% of width
 - make a table with 2 colums
 - use multicol package
 
 Which of these is preferred? Or any other way that is recommended?
 

It might depend on why you have to split the code. If it's just to reduce the
height of the listing, I'd probably use the multicol package with the multicols
option in the listing.

Paul



listing package with multicol

2011-08-17 Thread Kulkarni Shantanu
Hi,
I have to split a program code (done using listing package)in 2 columns. The 
ways I have in mind are,
- make minipage 50% of width
- make a table with 2 colums
- use multicol package

Which of these is preferred? Or any other way that is recommended?

Thanks in advance.

Regards,
Shantanu
-- 



Re: listing package with multicol

2011-08-17 Thread Paul Rubin
Kulkarni Shantanu ml at lists.shantanukulkarni.org writes:

 
 Hi,
 I have to split a program code (done using listing package)in 2 columns.
 The ways I have in mind are,
 - make minipage 50% of width
 - make a table with 2 colums
 - use multicol package
 
 Which of these is preferred? Or any other way that is recommended?
 

It might depend on why you have to split the code. If it's just to reduce the
height of the listing, I'd probably use the multicol package with the multicols
option in the listing.

Paul



listing package with multicol

2011-08-17 Thread Kulkarni Shantanu
Hi,
I have to split a program code (done using listing package)in 2 columns. The 
ways I have in mind are,
- make minipage 50% of width
- make a table with 2 colums
- use multicol package

Which of these is preferred? Or any other way that is recommended?

Thanks in advance.

Regards,
Shantanu
-- 



Re: listing package with multicol

2011-08-17 Thread Paul Rubin
Kulkarni Shantanu  lists.shantanukulkarni.org> writes:

> 
> Hi,
> I have to split a program code (done using listing package)in 2 columns.
> The ways I have in mind are,
> - make minipage 50% of width
> - make a table with 2 colums
> - use multicol package
> 
> Which of these is preferred? Or any other way that is recommended?
> 

It might depend on why you have to split the code. If it's just to reduce the
height of the listing, I'd probably use the multicol package with the multicols
option in the listing.

Paul