Thank you Dave, breaklines=true has done the trick!

I've just uploaded an updated version including the fix for the last
two chapters.

http://groups.google.com/group/sqlalchemy/web/sqlalchemy_0_3_6.pdf

On 17 Apr., 14:36, Novin <[EMAIL PROTECTED]> wrote:
> I've used listings and I believe the code can be wrapped by setting
> the breaklines property in the lstset command - see below:
>
> %---------------------------------------------------------------
> \lstset{                                        % setting the listing
> properties
>     basicstyle=\small\ttfamily,                 % small, typewriter
> type format
>     keywordstyle=\bfseries\color{MidnightBlue}, % blue keywords
>     commentstyle=\color{ForestGreen},           % green comments
>     stringstyle=\color{BrickRed},               % red strings
>     fontadjust=true,                            % fontadjust
>     breaklines=true,                            % wrap long lines
>     showstringspaces=false}                     % no special string
> spaces
> %---------------------------------------------------------------
>
> HTH,
> Dave


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to