I want to create a fancy header/footer rule in Exam document class. I have tried what is at https://tex.stackexchange.com/questions/89569/custom-header-footer-rules-fancyhdr and Custom header/footer rules (fancyhdr?) but they seem not to work in Exam document class. Any help please
[Tex/LaTex] Double line for header/footer rules
examfancyhdrheader-footerrules
Best Answer
exam.cls
uses its own mechanism for headers/footers. To modify the default rules in headers, you can patch\@fullhead
(for the first page) and\run@fullhead
(for other pages) to use whatever you choose, instead of the default\hrule
. A little example using a double rule:In the case of footers, one has to patch
\@fullfoot
and\run@fullfoot
and invoke\runningfootrule
,\firstpagefootrule
.