Skip to content
Snippets Groups Projects
Commit 8a3b7344 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

listings

parent 5ea164bd
No related branches found
No related tags found
No related merge requests found
......@@ -264,6 +264,44 @@ footskip=85bp,
\renewcommand*\marginfont{\normalfont\normalsize\itshape\color{red}}
\RequirePackage[final]{listings}
\RequirePackage{lstautogobble}
\newcommand*\ptb@lstfont{\small\ttfamily}
\lstset{
,language={}
,basicstyle=\ptb@lstfont
,numbers=none
,backgroundcolor={}
,tabsize=2
,basicstyle=\ptb@lstfont
%,identifierstyle=\bfseries\ptb@lstfont
,keywordstyle=\bfseries\ptb@lstfont
,stringstyle=\ptb@lstfont
,commentstyle=\itshape\ptb@lstfont
,basewidth=0.55em
,keepspaces
,numbers=none
,frame=single
,framesep=\fboxsep
,aboveskip=\medskipamount
,belowskip=1pt plus .5pt minus .5pt %
,xleftmargin=\fboxsep
,xrightmargin=\fboxsep
,columns=fullflexible
%,extendedchars=true
,showspaces=false
,showstringspaces=false
,breaklines=true
,breakindent=0.5em
,breakautoindent=true
,breakatwhitespace=false % ???
,captionpos=t
,postbreak=\mbox{$\hookrightarrow$}
,autogobble=true
}
\emergencystretch=3em %
\raggedbottom
......
......@@ -77,7 +77,7 @@
\repeat
\endgroup
\put(\PTB@leftmargin,-0.158\PTB@scale@base){%
\begin{hyphenrules}{nohyphenation}
\begin{hyphenrules}{nohyphenation}%
\PTB@tempa% Title
\end{hyphenrules}
}%
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment