\usepackage{listings,jvlisting}
\usepackage{xcolor}
\usepackage{amsmath,amssymb}

\lstset{
  basicstyle={\ttfamily},
  identifierstyle={\small},
  keywordstyle={\small\bfseries},
  ndkeywordstyle={\small},
  stringstyle={\small\ttfamily},
  frame={tb},
  columns=[l]{fullflexible},
  breaklines=true,
  basicstyle=\ttfamily,
  numbers=left,
  numbersep=10pt,
  tabsize=2,
  extendedchars=true,
  xleftmargin=17pt,
  framexleftmargin=17pt,
  linewidth=\textwidth,
}
\renewcommand{\lstlistingname}{コード}
\newcommand{\passthrough}[1]{#1}
