Feed on
Posts
Comments

you might want to use monospaced strings in latex to reproduce things like filenames. (where monospace refers to fonts like courier, where every character takes up the same amount of line space.)

here’s an example of how to do it:

The matrix $C_{i,j}$ is calculated in the uploaded file
\texttt{loadComplex.m}.


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “write in a monospace font (i.e. courier) in latex”

  1. on 10 Jun 2010 at 3:52 pm Amit

    great!! thanks !

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.