Tagged Questions
0
votes
1answer
106 views
Bug? Colored frame in mcode package
While using mcode.sty, I recognized that at linebreaks with long comments parts of the surrounding frame got colored green or were even left white at using mathematical formulas, e.g. in the following ...
6
votes
2answers
198 views
change code font using mcode package
I'm using mcode package to insert into my document matlab code. I would change the default font. what command I should use to get this font?
2
votes
0answers
40 views
Aligning comments that break in several lines? [duplicate]
Possible Duplicate:
How to align comments with lstlistings?
I want to include Matlab code with long comments. The next MWE shows that it is achieved by using the listings package. However I ...
11
votes
1answer
4k views
Using listing for displaying Matlab code
I'm trying to display matlab code in a LaTeX document and the comments are typeset with an ugly space between letters:
\documentclass{article}
\usepackage{listings}
\lstset{language=Matlab}
...