I would like a figure (including a Tikz picture) to appear inside a theorem-like environment (the point is that I need a caption for the figure).
Even using the option [H] with the float package the figure does not behave so.
Is there an easy way of accomplishing this?
Thanks
figureis to allow latex to move it so just usingtikzpicture(or\includegraphics) directly without a figure environment is often clearer – David Carlisle Sep 21 '16 at 10:44figureto allow a caption; is it not a valid reason for using it? – suitangi Sep 21 '16 at 10:52