9
votes
2answers
100 views

Incorrect reference to the equation number in algorithm2e

I want equation number in an algorithm with chapter number included. Here is my code. \documentclass{book} \usepackage{amsmath,amssymb,amsthm, latexsym,float,epsfig,subfig} ...
1
vote
1answer
416 views

Remove chapter number on algorithm numbers (scrbook)

I write my bachelor thesis using a document class provided by our institute based on scrbook. I write pseudo-codes using algorithm2e which I put in the appendix since otherwise they would "interrupt" ...
5
votes
1answer
1k views

How to customize the number in the caption of an algorithm in algorithm2e

In algorithm2e, if you use the "ruled" option, the caption of algorithms are automatically numbered. E.g. if you write 2 algorithms in one document, the first one will be titled Algorithm 1 and the ...
2
votes
2answers
1k views

Changing caption numbering for algorithm in algorithm2e

I am trying to define a new environment that uses the algorithm environment from algorithm2e. I want to use a separate caption counter for this new environment. As of now, this is what I have, but I ...