<div dir="ltr"><div><div><div><div>I use the Reference Manual classes<br></div>refart and refman <br>for writing papers for<br></div>{SAS} software user groups.<br><br></div>This example shows how to <br>center the page number for the footer<br></div><div>and move the left header to the left margin.<br><br><span style="font-family:monospace,monospace"><br>\documentclass[onside]{refart}<br>\title{Reference Manual class, refart\\<br>demo of centered pagination}<br>\author{R.J. Fehd}<br>\newcommand\HeaderL{header left}%<br>\newcommand\HeaderR{header right}%<br>\newcommand\sometext{\par This is text in a paragraph.<br>This is text in a paragraph.<br>This is text in a paragraph.<br>This is text in a paragraph.\par}<br>\usepackage{fancyhdr}\pagestyle{fancy}<br>\lhead{\HeaderL}<br>\rhead{\HeaderR}<br>\chead{\thepage}<br>\cfoot{\thepage}<br>\begin{document}<br>%\maketitle<br>%\newpage<br>\section{default}<br>\sometext<br>\begin{maxipage}<br>\HeaderL\hfill\thepage\hfill\HeaderR<br>\sometext<br>\end{maxipage}<br>\vfill<br>\begin{maxipage}<br>\sometext<br>\HeaderL\hfill\thepage\hfill\HeaderR<br>\end{maxipage}<br>\newpage<br>\lhead{\hspace{-\leftmarginwidth}\HeaderL}<br>\cfoot{\hspace{-\leftmarginwidth}\thepage}<br>\begin{maxipage}<br>\HeaderL\hfill\thepage\hfill\HeaderR<br>\sometext<br>\end{maxipage}<br>\section{centered on page}<br>\sometext<br>\vfill<br>\begin{maxipage}<br>\HeaderL\hfill\thepage\hfill\HeaderR<br>\end{maxipage}<br>\end{document}<br></span><br></div><div>Ron Fehd  Atlanta GA<br></div><br></div>