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.
[Tex/LaTex] How to put an algorithm and a tikz drawing (objects of different type) side-by-side in the same float environment
algorithmscaptionsfloatssubfloats
Best Answer
I recommend the using of the
subcaption
package. It works well withcaption
(same author, thanks Axel).