TransWikia.com

Header on first page with scrlayer-scrpage

TeX - LaTeX Asked on July 14, 2021

I’m trying to make a header on the first page above the title. The problem is that it does not show up on the first page but only starts on the second page. How can I fix that?

documentclass{scrartcl}
usepackage{scrlayer-scrpage}
pagestyle{scrheadings}

ihead{left}
chead{middle}
ohead{right}

title{title}
author{name}
date{today}

begin{document}
maketitle
text
end{document}

One Answer

Redefine titlepagestyle:

renewcommand{titlepagestyle}{scrheadings}

Example:

documentclass{scrartcl}
usepackage{scrlayer-scrpage}% sets page style scrheadings automatically
renewcommand{titlepagestyle}{scrheadings}

ihead{left}
chead{middle}
ohead{right}

title{title}
author{name}
begin{document}
maketitle
text
end{document}

Correct answer by esdd on July 14, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP