I need to use a specific package in two different ways, once with an option and another time without that option. More specifically, I want to use algpseudocode
package once with [noend]
option and once without it for two algorithms in a document. As far as I read on the web, calling a package twice with different options is not possible. I could not find a clear answer to this problem. Any suggestions would be greatly appreciated.
I found a similar question: algorithm2e – override defaults but it uses algorithm2e
package while I am using algorithm
.
Edit: The package I need to use with and without [noend]
option is algpseudocode
not algorithm
.
Best Answer
You're probably referring to
algpseudocode
oralgorithmic
, rather thanalgorithm
.Package
algpseudocode
Package
algorithmic