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
As pointed out on TeX.SE, \RequirePackage{tocloft} currently doesn't work before \documentclass and that's too bad : it would be helpful for classes which load packages that need tocloft to be loaded before them, such as etoc.
Hence, would it be possible to make \RequirePackage{tocloft} work before \documentclass, e.g. by postponing the \@ifundefined{chapter} and \@ifundefined{section} checks \AtBeginDocument?