[OS X TeX] Algorithm 2e package

HELL BOY pinkfloydindia at yahoo.com
Tue Sep 22 21:07:29 EDT 2009


Hello All!

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.

Below is some what, i am doing, after a For loop i want to go on next page.

Thanks

Pink
\usepackage{algorithm2e}

\restylealgo{boxed}\linesnumbered

\begin{algorithm}[H]
\caption{Example}
\SetLine
\KwData{XYZ}

\KwResult{Fourier spectra ]}
\emph{ABC}  \\
\emph{def}  \\
\emph{ikj}  \\
\SetLine
\For{i=1 \emph{\KwTo} length(t)}{  
a(i)=round(map(i)/dx)-q/2+1\;
x=a(i)+q-1\;
grid(subscript) = grid(subscript)+A(i)*truncatedgauss(:,i)\;
}
\end{algorithm}






      Keep up with people you care about with Yahoo! India Mail. Learn how. http://in.overview.mail.yahoo.com/connectmore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20090923/8a4d6af1/attachment.html>


More information about the MacOSX-TeX mailing list