Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

want algorithm2e algorithm to be listed under List of Figures

156 views
Skip to first unread message

Fawzi Sdudah

unread,
Aug 2, 2007, 11:50:18 AM8/2/07
to
Hi All,

It was working fine with List of Algorithms, but I want to change it
to be listed under List of Figures. Is the problem with minipage
environment, or what? I am using my University Latex template (in the
past I had to add List of Algorithms myself and was fine).

If you need more info I can provide more.

== Latex Code ==.
.
.
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
.
.
.
\begin{center}
\begin{minipage}{.68\linewidth}
\begin{algorithm}[H]
.
.
.
\caption{This is my Algorithm} %
\label{fig:algorithm1} %
\end{algorithm}
\end{minipage}
\end{center}
.
.
.

Fawzi Sdudah

unread,
Aug 2, 2007, 11:59:38 AM8/2/07
to

It maybe worthy of mentioning that the Latex template I am using, uses
the <<<tocloft>>> package. I am reading its doc right now

Thanks

Fawzi Sdudah

Ulrich M. Schwarz

unread,
Aug 2, 2007, 12:31:01 PM8/2/07
to
On Thu, 02 Aug 2007 15:50:18 +0000, Fawzi Sdudah wrote:

> Hi All,
>
> It was working fine with List of Algorithms, but I want to change it to
> be listed under List of Figures. Is the problem with minipage
> environment, or what? I am using my University Latex template (in the
> past I had to add List of Algorithms myself and was fine).

> \usepackage[linesnumbered,ruled,vlined
,figure
> ]{algorithm2e} .

(See the algorithm2e manual for details.)

HTH
Ulrich

Fawzi Sdudah

unread,
Aug 2, 2007, 1:26:45 PM8/2/07
to
I was about to say NO because I went quickly over the pkg doc, but
when I read from the beginning I realized you can add the option
<<figure>> to algorithm2e package to get it work.

> Ulrich

A pointer to the solution is a solution

Thanks,

Fawzi Sdudah

0 new messages