Skip to content

Instantly share code, notes, and snippets.

View LuluBeatson's full-sized avatar

Lulu LuluBeatson

  • Cambridge, UK
  • 22:25 (UTC -12:00)
View GitHub Profile
@eyliu
eyliu / matlab.tex
Created May 31, 2009 00:34
LaTeX settings for MATLAB code listings
% LaTeX settings for MATLAB code listings
% based on Ted Pavlic's settings in http://links.tedpavlic.com/ascii/homework_new_tex.ascii
\usepackage{listings}
\usepackage[usenames,dvipsnames]{color}
% This is the color used for MATLAB comments below
\definecolor{MyDarkGreen}{rgb}{0.0,0.4,0.0}
% For faster processing, load Matlab syntax for listings
\lstloadlanguages{Matlab}%