<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 23, 2009, at 7:51 PM, HELL BOY wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">Hello All!<br><br>I am using algorithm 2e package, to write a algorithm, its working fine! but after one page its not getting continue over the next page, what should i do so that instead of getting below bottom margin of paper, it goes on next page.<br><br>Below is some what, i am doing, after a For loop i want to go on next page. How to continue this box to next page<br><br>Thanks<br><br>Pink<br>\usepackage{algorithm2e}<br><br>\restylealgo{boxed}\linesnumbered<br><br>\begin{algorithm}[H]<br>\caption{Example}<br>\SetLine<br>\KwData{XYZ}<br><br>\KwResult{Fourier spectra ]}<br>\emph{ABC} \\<br>\emph{def} \\<br>\emph{ikj} \\<br>\SetLine<br>\For{i=1 \emph{\KwTo} length(t)}{ <br>a(i)=round(map(i)/dx)-q/2+1\;<br>x=a(i)+q-1\;<br>grid(subscript) =
grid(subscript)+A(i)*truncatedgauss(:,i)\;<br>}<br>\end{algorithm}<br></td></tr></tbody></table></blockquote></div><br><div>I've never used algorithm2e, but I would suggest that you include at least a minimum example of your latex file.</div><div>Something along the lines of:</div><div><br></div><div>\documentclass{minimal}</div><div>\usepackage{algorithm2e}</div><div><br></div><div>\begin{document}</div><div>\ldots your algorithms go here \ldots</div><div>\end{document}</div><div><br></div><div>That being said, I can't get the example I just gave to typeset properly.</div><div>I get an error that there are too many }'s at line 616 of algorithm2e.sty, the source of which I have no inclination to investigate.</div><div><br></div><div><br></div></body></html>