I am trying to put an algorithm and a tikz' drawing side-by-side inside a figure environment. I am aware of this question but I would like to have a single caption for them. For instance, in the text, Figure 1a would refer to the algorithm while Figure 1b would refer to the tikz' drawing.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
|
I recommend the using of the
|
|||
|
|
Just don't enclose
|
|||
|
|


subcaption. – Marco Daniel Jan 6 '12 at 16:13\minipage...\begin{algorithm}...\begin{algorithmic}<algorithm here>...\end..\end..\end, nested\minipage...\begin{algorithmic}<algorithm here>...\end..\endand just\begin{algorithmic}<algorithm here>...\enddirectly inside the\subfloat(obviously with the correct syntax) but none of them worked out. – freitass Jan 6 '12 at 16:16