You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In iitthesis.cls, I would like to have the following:
\AtEndEnvironment{figure}{\gdef\iitthesis@havefigures{}}
\AtEndDocument{
\ifdefined\iitthesis@havefigures
\label{iitthesis:had-figures}
\fi
% etc. etc.
}
... but this doesn't work for some reason. Instead, what I actually do is:
\newcommand{\makebackmatter}{%
% This _should_ be done AtEndDocument, but that fails for some reason
\ifdefined\iitthesis@havefigures
\label{iitthesis:had-figures}
\fi
% etc. etc.
Why does the former way of doing it not work?
The text was updated successfully, but these errors were encountered:
In
iitthesis.cls
, I would like to have the following:... but this doesn't work for some reason. Instead, what I actually do is:
Why does the former way of doing it not work?
The text was updated successfully, but these errors were encountered: