Tagged Questions
4
votes
2answers
54 views
How to use Nameref with Algorithm2e
As the title suggests, I'm trying to reference to an algorithm created by algorithm2e package. Here is a MWE:
\documentclass[12pt,a4paper]{report}
\usepackage[linesnumbered]{algorithm2e}
...
8
votes
3answers
140 views
algorithm2e + cleveref: problem with wrong reference to line numbers
For some reason I do not understand, cleverefproduces wrong references to line numbers of listings produces with the algorithm2e package. I hope that I did not miss a simple solution ...
My example ...
8
votes
2answers
168 views
algorithm2e noend option produces wrong label
I have a problem with the algorithm2e package. I want to reference the end of a block, e.g., a for-loop, in my text. Therefore, I place a label behind the closing bracket of the for statement. When I ...
3
votes
2answers
90 views
Referencing a line starting with a keyword in algorithm2e
I want to describe parts of an algorithm, by linking to specific lines. I found that the package algorithm2e is great for typesetting algorithms, and it seems it is also able to handle labels.
...
2
votes
1answer
84 views
How to put a reference into nlset command of algorithm2e package
I would like to provide an alternative version of only some part of already existing algorithm, using the algorithm2e package. My source looks like:
\begin{algorithm}[t]
\dots \;
...
2
votes
1answer
436 views
cleveref, hyperref and algorithm2e package produce wrong hyperlink (though correct page reference)
I'm using the packages as stated above in their latest version (also oberdiek-package is up-to-date).
The following code produces the wrong pdf-link to a float environment (refers to the same page as ...
5
votes
1answer
763 views
cleveref and algorithm2e
I'm currently working on a document where I was using algorithm+algorithmic along with cleveref. With this everything worked perfectly.
Now I had to replace algorithm+algorithmic with algorithm2e. ...