Hello forum, I think I found kind of a solution to the issue. Instead of having program listing inside floating algorithm , I am having just the program listing and now the code snippets are split automatically.
But I am encountering another issue. How do I enter some kind of caption to the program listing I have just added, so that it gets listed into the list of algorithms at the beginning of the report. A better suggestion is expected than the one described. Thanks On Sun, Dec 20, 2015 at 4:36 PM, Sajjad <dosto.wa...@gmail.com> wrote: > Hello forum, > > I am trying to insert float algorithm into the report I am writing. I did > the following: > > 1. Insert->Float->Algorithm > 2. Inside Algorithm I inserted program listing > 3. Wrote down the procedure. > > When I generate the pdf , the algorithm is over-lapping the page number . > Is it possible to break the algorithm automatically once it cannot be fit > into one page and continue to the next page ? The issue can be seen in the > following link : > > > http://i.imgur.com/P02CjO8.png > > As you can see page number 47 in the middle of the algorithm. > > > Any idea to get rid of this issue ? > > > Thanks >