Created
November 4, 2014 09:51
-
-
Save munthe/8418da9a338a14d1ab22 to your computer and use it in GitHub Desktop.
Matlab style for listing in latex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Include matlab code and style it | |
\usepackage{listings} | |
\lstset{extendedchars=true, | |
basicstyle=\ttfamily, | |
keywordstyle=\normalfont\bfseries, columns=flexible, | |
numbers=left, | |
breaklines=true, | |
numberstyle=\tiny, | |
breakatwhitespace=true, | |
language=Matlab} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment