I had two almost identical documents that were done using the exam class. The one difference between the documents was the tikz package. The document with the tikz package had the page numbers where I wanted and the document without tikz had the page numbers higher up on the page. I like the place the tikz package put my footer. This leads me to my question, how can I get it to be that same way without having


in my preamble?

Relevant Preamble:

\usepackage{amsmath, amssymb}
  • I added \usepackage{lipsum} and \begin{document} \lipsum[1-10] \end{document} to your document and cannot reproduce your issue. Please provide a complete document that shows it. – user121799 Jun 29 '19 at 3:32
  • @marmot the issue happens when you have tikz active and when you do not have it active. When you have tikz in the preamble the pagenumber goes to the very bottom right. When you do not have tikz the pagenumber is significantly further up – Teh Rod Jun 29 '19 at 3:46
  • Well, I tried that and fail to reproduce this on my machine. I use a TeXLive 2019 distribution on a Mac. Please consider completing your document. – user121799 Jun 29 '19 at 4:03
  • The difference seems to resemble that between letterpaper and a4paper. Try to add either as optional argument to the documentclass and check if that solves your issue. – JJM Driessen Jun 29 '19 at 14:42
  • It isn't TikZ directly that does this, but the graphicx package which TikZ loads. See tex.stackexchange.com/questions/335086, which is the same problem I think. – Torbjørn T. Jul 31 '19 at 9:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.