Tagged Questions
3
votes
2answers
51 views
How to avoid printing the algorithm number in algorithm captions?
I am using the algorithm2e package to write algorithms. However, when i write three algorithms one after another, the algorithms are automatically numbered 1,2 and 3 in the caption. I am using ...
2
votes
1answer
42 views
Restyling the caption in an algorithm created with algorithm2e
In the caption of an algorithm created with algorithm2e,
\documentclass{article}
\usepackage[ruled]{algorithm2e}
\begin{document}
\begin{algorithm}[H]
\caption{Caption.}
pseudocode
...
2
votes
1answer
111 views
Changing label name for algorithm
I have this algorithm:
\begin{algorithm}
\captionsetup[algorithm]{name=MegaAlgorithm}
\DontPrintSemicolon
\KwData{$G=(X,U)$ such that $G^{tc}$ is an order.}
\KwResult{$G’=(X,V)$ with $V\subseteq U$ ...
4
votes
1answer
355 views
Create separator lines for algorithm captions in algorithm2e
How I can generate separator lines for captions as follows in algorithm2e?
Algorithm 1: Generate Separator Line
2
votes
1answer
370 views
Can't use underscore in algorithm2e caption?
I have a LaTeX document using the algorithm2e package. It used to work before I upgraded to texlive (it's the Debian version 2012.20120516-1 -- some snapshot from 2012, if I understand correctly).
...
4
votes
2answers
1k views
Setting caption/rule width in Algorithm2e algs
Many of the algorithms I have with the algorithm2e package do not extend across the page width. If I use the package's boxruled or ruled options, the result is a box or rule that extends the pagewidth ...