I'm using using
algorithm2e package with the following settings:
But for some subset of algorithms in the same document, I want to use this setting:
Is there a way to override the default setting just for a subset?
I found a similar question:
algorithm2e with 'ruled' but with caption underneath?
newenvironment is used to override the default setting of an option. But I want to override the option itself.
I wish there was a way to load a package several times with different options for each instance.