Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \usepackage{listings}
- %-------------------------------------------------------------------------% Kildekodevisning
- \lstset{
- language=bash,
- keywordstyle=\bfseries\ttfamily\color[rgb]{0,0,1},
- identifierstyle=\ttfamily,
- commentstyle=\color[rgb]{0.133,0.545,0.133},
- stringstyle=\ttfamily\color[rgb]{0.627,0.126,0.941},
- showstringspaces=false,
- basicstyle=\small,
- numberstyle=\footnotesize,
- numbers=left,
- stepnumber=1,
- numbersep=10pt,
- tabsize=2,
- breaklines=true,
- prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
- breakatwhitespace=false,
- aboveskip={1.5\baselineskip},
- columns=fixed,
- upquote=true,
- extendedchars=true,
- % frame=single,
- % backgroundcolor=\color{lbcolor},
- }
- % For å bruke denne må du bruke lstlisting:
- % \begin{lstlisting}
- % // kode her
- % \end{lstlisting}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement