Page numbering off by 1

Jerry Seibert jerry at seibercom.net
Sun Jul 25 00:13:21 CEST 2021


On Sat, 24 Jul 2021 23:30:34 +0200, Susan Dittmar stated:
>Am 24.07.21 um 23:12 schrieb Jerry Seibert:
>> I spoke too soon. The frame is shifted to the right; i.e., not
>> centered on the page.
>>  
>Are paragraphs indented in your document? If so, you might want to
>prepend \noindent to that frame.
>
>HTH,
>Susan Dittmar
>

This is the code:

\documentclass{report}%
\usepackage[letterpaper, left=0.50in, right=0.50in, top=0.50in, 
bottom=1.00in]{geometry}
\usepackage{fancyhdr,fancybox} % Custom page headers and footers%
\usepackage{lastpage}

\pagestyle{fancy} % set page style to fancy%
\fancyfoot{} % clear the footers%
\fancyhead{} % clear the headers%
\renewcommand{\headrulewidth}{0pt} % Eliminate the head rule line%
\renewcommand{\footrulewidth}{2.0pt}
\pagenumbering{arabic}%

\fancyfoot[r]{\footnotesize \textbf{Page \thepage\ 
of~\pageref*{LastPage}}}%%

\fancypage{%
        \setlength\fboxsep{8pt}%
        \setlength\fboxrule{2pt}%
        \fbox}{}
\begin{document}
     Start of document \pageref{page2} and \pageref{page3}.
     \cleardoublepage
     this is page 2. \label{page2}
     \cleardoublepage
     this is page three \label{page3}
\end{document}

Where would you suggest I add "noindent"? I tried using:
\setlength\parindent{0pt}; however, it had no effect.

-- 
Jerry


More information about the texhax mailing list.