Answers for "how to put page number on latex"

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

Browse Popular Code Answers by Language