Dear LC Members,
I need a similar way to that in the attached sample pdf file for showing my matlab codes in my tex file.
Is there a spacial way to do it?
Many thanks.
bkarpuz
Text Formatting ⇒ Showing Matlab Codes in LaTeX
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Showing Matlab Codes in LaTeX
Normally the best way to include code in a LaTeX file is to use the listings package. The documentation has lots of examples.
Joseph Wright