pimp listings. arrow at line breaks
authorTobias Pape <tobias@netshed.de>
Fri, 27 Dec 2013 21:09:53 +0000 (22:09 +0100)
committerTobias Pape <tobias@netshed.de>
Sat, 28 Dec 2013 00:27:01 +0000 (01:27 +0100)
src/common/style.tex

index fb3b1d9..351746b 100644 (file)
 
 % Listings
 \lstset{
+%  literate={###CIPHERSTRINGB###}{{\CIPHERSTRINGB}}254,
   basicstyle=\ttfamily,
   keywordstyle=\color{OliveGreen},
   commentstyle=\color{gray},
   backgroundcolor=\color{lightlightgray},
+  upquote=true,
   tabsize=2,
   captionpos=b,
   breaklines=true,
   breakatwhitespace=false,
+  inputencoding=utf8,
+  prebreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},
   morekeywords={__global__, __device__},% 
+  escapechar=\`,
 }