Skip to content

Instantly share code, notes, and snippets.

@abcang
Created November 17, 2014 06:03
Show Gist options
  • Save abcang/f503172c80315b332382 to your computer and use it in GitHub Desktop.
Save abcang/f503172c80315b332382 to your computer and use it in GitHub Desktop.
listingsの設定
% Listingsの設定
\usepackage{ascmac,here,txfonts,txfonts}
\usepackage{listings,jlisting}
\usepackage{color}
\usepackage{mips}
\lstset{%
language={[mips]Assembler},
basicstyle={\small\ttfamily},%
identifierstyle={\small},%
commentstyle={\small\ttfamily \color[rgb]{0,0.5,0}},%
keywordstyle={\small\bfseries \color[rgb]{0,0,0.5}},%
ndkeywordstyle={\small},%
stringstyle={\small\ttfamily\color[rgb]{1,0.5,0}},
showstringspaces=false,
frame=shadowbox,
breaklines=true,
%columns=[l]{fullflexible},%
columns=fixed,
numbers=left,%
xrightmargin=0zw,%
xleftmargin=3zw,%
numberstyle={\scriptsize},%
stepnumber=1,
numbersep=1zw,%
tabsize=4,
showtabs=false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment