Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ASSEMBLY

include code in latex

usepackage{listings}
usepackage{color}

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=Java,
  aboveskip=3mm,
  belowskip=3mm,
  showstringspaces=false,
  columns=flexible,
  basicstyle={small	tfamily},
  numbers=none,
  numberstyle=	inycolor{gray},
  keywordstyle=color{blue},
  commentstyle=color{dkgreen},
  stringstyle=color{mauve},
  breaklines=true,
  breakatwhitespace=true,
  tabsize=3
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #include #code #latex
ADD COMMENT
Topic
Name
7+6 =