Advertisement
jurgemaister

Latex kildekodevisning

Jan 23rd, 2012
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \usepackage{listings}
  2. %-------------------------------------------------------------------------% Kildekodevisning
  3. \lstset{
  4.     language=bash,
  5.     keywordstyle=\bfseries\ttfamily\color[rgb]{0,0,1},
  6.     identifierstyle=\ttfamily,
  7.     commentstyle=\color[rgb]{0.133,0.545,0.133},
  8.     stringstyle=\ttfamily\color[rgb]{0.627,0.126,0.941},
  9.     showstringspaces=false,
  10.     basicstyle=\small,
  11.     numberstyle=\footnotesize,
  12.     numbers=left,
  13.     stepnumber=1,
  14.     numbersep=10pt,
  15.     tabsize=2,
  16.     breaklines=true,
  17.     prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
  18.     breakatwhitespace=false,
  19.     aboveskip={1.5\baselineskip},
  20.   columns=fixed,
  21.   upquote=true,
  22.   extendedchars=true,
  23. % frame=single,
  24. % backgroundcolor=\color{lbcolor},
  25. }
  26.  
  27. %  For Ã¥ bruke denne mÃ¥ du bruke lstlisting:
  28. %   \begin{lstlisting}
  29. %       // kode her
  30. %   \end{lstlisting}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement