Created
March 24, 2019 07:40
-
-
Save moewew/3133afd014037a87099be17b0be98928 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass{article} | |
| \usepackage{scrlayer-scrpage} | |
| \BeforeClosingMainAux{% | |
| \addtocounter{page}{-1}% | |
| \label{LastPage}} | |
| \AtBeginDocument{\begingroup} | |
| \AtEndDocument{\endgroup} | |
| \usepackage{blindtext} | |
| \begin{document} | |
| \pageref{LastPage} | |
| \blindtext | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment