I'm trying to display matlab code in a LaTeX document and the comments are typeset with an ugly space between letters:



function gramschmidt(A) %The columns of A are the initial basis to the subspace

results in alt text

Is there a way to improve the kerning (or whatever its called) of the text in the comments?


1 Answer 1


It looks better with


alt text


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .