Back to the long algorithm: but being a float it cannot have a pagebreak Listings as an alternative? a listing can be a float, too but again: being a float it cannot have a pagebreak it is broken, if too long, same as a too long algorithm Wolfgang