Created
March 17, 2015 01:46
-
-
Save jxnl/1ff329e3f99e6e7db232 to your computer and use it in GitHub Desktop.
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
| \usepackage{listings} | |
| \usepackage[numbered,framed]{matlab-prettifier} | |
| \usepackage{color} | |
| \usepackage{geometry} | |
| \geometry{verbose,tmargin=1.0in,bmargin=1.0in,lmargin=0.5in,rmargin=0.5in} | |
| \definecolor{dkgreen}{rgb}{0,0.6,0} | |
| \definecolor{gray}{rgb}{0.5,0.5,0.5} | |
| \definecolor{mauve}{rgb}{0.58,0,0.82} | |
| \lstset{frame=tb, | |
| language=MATLAB, | |
| columns=flexible, | |
| basicstyle={\small\ttfamily}, | |
| numbers = none, | |
| numberstyle=\tiny\color{gray}, | |
| keywordstyle=\color{blue}, | |
| commentstyle=\color{dkgreen}, | |
| stringstyle=\color{mauve}, | |
| breaklines=true, | |
| breakatwhitespace=true | |
| tabsize=2 | |
| } | |
| \lstset{language=Matlab} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment