Quantcast
Channel: Use algorithm2e inside tcolorbox - TeX - LaTeX Stack Exchange
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Werner for Use algorithm2e inside tcolorbox

The error "Not in outer par mode" is because the algorithm environment wants to float, yet it's contained inside a non-floating tcolorbox. The only way to make algorithm2e not floats its algorithms is...

View Article



Image may be NSFW.
Clik here to view.

Answer by Jesse for Use algorithm2e inside tcolorbox

This is an alternative. The LaTeX Wikibook section on algorithms has the following statement.The algorithmicx package provides a number of popular constructs for algorithm designs. Put...

View Article

Use algorithm2e inside tcolorbox

I use the algorithm2e package to typeset algorithms. Now I would like to put a tcolorbox around an algorithm. My first approach looked like this:\begin{tcolorbox} \begin{algorithm} $a \leftarrow 1$...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images