<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.<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><br></td></tr></table><br>
      <!--5--><hr size=1></hr> Now, send attachments up to 25MB with Yahoo! India Mail. <a href="http://in.rd.yahoo.com/tagline_galaxy_2/*http://in.overview.mail.yahoo.com/photos" target="_blank">Learn how</a>.