Answers for "how to add page numbers in overleaf"

1

add page number in overleaf

documentclass{article}

usepackage{lastpage}

usepackage{fancyhdr}

fancyfoot[C]{Page thepage of pageref{LastPage}}

% Uncomment to remove the header rule
% renewcommand{headrulewidth}{0pt} 

pagestyle{fancy}

begin{document}

some dummy text

end{document}
Posted by: Guest on October-19-2020

Code answers related to "how to add page numbers in overleaf"

Browse Popular Code Answers by Language