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

listings

parent 5ea164bd
Branches
No related tags found
No related merge requests found
...@@ -264,6 +264,44 @@ footskip=85bp, ...@@ -264,6 +264,44 @@ footskip=85bp,
\renewcommand*\marginfont{\normalfont\normalsize\itshape\color{red}} \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 % \emergencystretch=3em %
\raggedbottom \raggedbottom
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
\repeat \repeat
\endgroup \endgroup
\put(\PTB@leftmargin,-0.158\PTB@scale@base){% \put(\PTB@leftmargin,-0.158\PTB@scale@base){%
\begin{hyphenrules}{nohyphenation} \begin{hyphenrules}{nohyphenation}%
\PTB@tempa% Title \PTB@tempa% Title
\end{hyphenrules} \end{hyphenrules}
}% }%
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment