KOMA-Script Report: page numbers not displaying

Dr Eberhard Lisse nospam at lisse.NA
Thu Oct 7 23:49:43 UTC 2021


Rich,

I think, if you use one of these you must make appropriate definitions
for the headers/footers lest nothing is being the default.

However, when using Koma Script I set

	Document -> Settings... -> Page Layout -> Page Style: Default

and in the preamble I put something something like

	\usepackage[automark]{scrlayer-scrpage}
	\usepackage{lastpage}

	\clearscrheadfoot
	\lofoot{Title of the Book}
	\rofoot{Page \thepage\ of \pageref{LastPage}}
	\pagestyle{scrheadings}
	\renewcommand*{\chapterpagestyle}{scrheadings}

You then want to download and peruse

	http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf

because scrlayer-scrpage offers much finer control over headers and
footers and I have forgotten what automark does :-)-O

greetings, el

On 2021-10-08 00:04 , Rich Shepard wrote:
> I must have broken something and haven't identified what broke.
> 
> In Settings -> Page layout I've changed the page style from 'default' to
> 'header' and 'fancy' and none has the pages numbered when I compile the
> document using pdflatex.
> 
> My web search finds help on removing page numbers and the wiki page on page
> numbering, but I've not seen why they're not appearing in this document.
> 
> A clue stick is needed.
> 
> TIA,
> 
> Rich



More information about the lyx-users mailing list