I am using fancyhdr to specify the header and footer of my document. Everything works fine until I try placing a wrapfigure environment on the page as below:
\begin{wrapfigure}{r}{0.3\textwidth}
\begin{tocbox}\tableofcontents\end{tocbox}
\end{wrapfigure}
Then, the page numbering goes to the default style with the arabic numbering at the bottom center of the page. If I remove the wrapfigure chunk, my custom header/footer shows up again...
Is there there a way to get the header/footer working while using wrapfigure?
tocbox" environment comes from or how it's defined. I shouldn't have to guess; please post everything needed to replicate the issue. – frabjous Apr 18 '22 at 20:47fancyhdrandtocloft. This solution did the trick! – xlalalandx Apr 18 '22 at 21:38