On Tue, 25 Oct 2016, Dr Eberhard Lisse wrote:
I leave the page style in LyX to the default and then put this in the preamble.
Eberhard, Made this change.
A Minimal Working Example helps, but I wouldput something like this into the preamble: \usepackage{lastpage} \usepackage{scrpage2} \clearscrheadfoot \ohead{Page \thepage\ of \pageref{LastPage}} \pagestyle{scrheadings}
I did not have the \clearscrheadfoot command in the preamble. It's interesting that now (with a 3-page document) on pages 2 and 3 the header reads Page 2of?? and Page 3of??. No spaces surrounding 'of' and question marks rather than '3'. More research on my part is needed. Thanks very much, Rich