Search found 2 matches

by bernard_kusel
Fri Jun 03, 2011 9:00 pm
Forum: Text Formatting
Topic: MATLAB code using verbatim
Replies: 3
Views: 4417

Re: MATLAB code using verbatim

Thanks for the tips. The minted package didn't work here. I read the package source code pdf and tried to install the additional software required, Pygments. Yet, I couldn't make it work in Windows... It seemed pretty easy for the Unix platform though...

The listings package worked well!

Thanks ...
by bernard_kusel
Wed Jun 01, 2011 2:22 am
Forum: Text Formatting
Topic: MATLAB code using verbatim
Replies: 3
Views: 4417

MATLAB code using verbatim

Hi, I would like to include a section of a MATLAB code in my .tex file. I thought on using the verbatim environment, yet I realized it would be quite hard to include the colors for the reserved words.

Is there an easy way to do this, so that the MATLAB code appears just like it does on the MATLAB ...