<table cellspacing="0" cellpadding="0" border="0" ><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><br><br></td></tr></table><br>



      <!--10--><hr size=1></hr> Add whatever you love to the Yahoo! India homepage. <a href="http://in.rd.yahoo.com/tagline_metro_3/*http://in.yahoo.com/trynew" target="_blank">Try now!</a>