Graphics, Figures & Tables ⇒ Algorithm2e my algorithm is too big
-
marcoesteves
- Posts: 18
- Joined: Tue Jun 09, 2009 3:33 pm
Algorithm2e my algorithm is too big
I've got a problem.
I'm using algorithm2e package, and my algorithm has more than one page.
Package help says "one algorithm can't be cut".
How can I manage this?
I've got 3 cycles, so I can't cut algorithm (manually) in two.
THanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Algorithm2e my algorithm is too big
if it only exceeds the page by few lines, you could try changing to a smaller font and/or enlarging the page with
Code: Select all
\enlargethispage{3\baselineskip}If the algorithm spans almost two pages, and you don't want to (or cannot) split it manually, I would suggest you to use the listings package instead.