Answers for "how to add command line in latex"

7

latex new line

newline
Posted by: Guest on December-24-2020
0

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={smallttfamily},
  numbers=none,
  numberstyle=tinycolor{gray},
  keywordstyle=color{blue},
  commentstyle=color{dkgreen},
  stringstyle=color{mauve},
  breaklines=true,
  breakatwhitespace=true,
  tabsize=3
}
Posted by: Guest on October-18-2020

Code answers related to "how to add command line in latex"

Browse Popular Code Answers by Language