On Sonntag, 12. November 2000 11:56, you wrote:
> Torsten Hahn wrote:
> > Hi,
> >
> > i use the listngs - package to typset sourcecode in my documents. the
> > Problem is, that it does not do a pagebreak in the case that the code is
> > longer than one page. I use the following (in LaTEX style):
> >
> > \lstinputlisting[language=C++,basicstyle=\fontfamily{pcr}\fontseries{m}\s
> >electfont\footnotesize,indent=15pt,breaklines,showlines,float,caption={[Ku
> >rze Beschreibung]Ein tolles Beispiel eines C++
> > Listings},frame={tb}]{main.cpp}
> >
> > What i have to do, that the code breaks automaticly of the page is over ?
>
> \usepackage[breaklines]{listings}
>
> that's all
>
> Herbert

On Sonntag, 12. November 2000 11:56, you wrote:
<snip>
>
> \usepackage[breaklines]{listings}
>
> that's all


I do this already, but this breakes only the lines which are to long to fit 
on the page (if they are longer than the page-width). I need to break at the 
bottom end of the page, not at the right.

Thanks, 
Torsten.

-- 
Torsten Hahn
Agricolastr. 14-16 / Zi. 6111A / 09599 Freiberg (Germany)
mail: [EMAIL PROTECTED]
pgp key available @ http://math-www.uni-paderborn.de/pgp/
pgp fingerprint = C981 42A2 707A 65A4 5266  BDC0 523F E4D8 8C87 4209

Reply via email to