TeX - LaTeX Asked on January 14, 2021
How can i change only the page number font color in the following latex code
documentclass{scrartcl}
usepackage{pdfpages}
usepackage{geometry}
usepackage[automark,headsepline,footsepline]{scrlayer-scrpage}
begin{document}
CHECK PAGENUMBER FONT
end{document}
You can use addtokomafont{pagenumber}{...}
to your advantage. Assuming you want a red page number, you can use it as shown in the following example:
documentclass{scrartcl}
usepackage{pdfpages}
usepackage{geometry}
usepackage[automark,headsepline,footsepline]{scrlayer-scrpage}
usepackage{xcolor}
addtokomafont{pagenumber}{color{red}}
begin{document}
CHECK PAGENUMBER FONT
end{document}
Correct answer by leandriis on January 14, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP