what?
I would like to "store" the definition of the environment figure into \something so that the following logics will work:
% the following line is what I am looking for
store(figure, \something)
% and then I want to achieve what follows
\renewenvironment{figure}{}{}
{}
\doalotofstuff
\renewenvironment{figure}
{get_the_initial_definition_from(\something)}
{get_the_final_definition_from(\something)}
% now I can again use \begin{figure}...\end{figure} with its usual definition
Is it possible and easily achievable?
but why?!
I want to disable the environment figure in some parts on my document and be able to get again theenvironment figure after. This question is related to this post (the solution does not work if the environment figure is active).
tex... so, in a way, this is the only approach I can imagine! – Colas Mar 20 '14 at 18:34commentpackage does not increment the values of the counters. Your approach is interesting. My problem is quite complicated actually. The length of the pages ofpart(i)depends on the length of the last page ofpart(i-1), where the length of the last page is what you can imagine... – Colas Mar 20 '14 at 18:46