I am using lyx 2.2.3 win7 64, miktex 2.9 and am trying to include multiple pdfs using \includepdf with pdfpages package. Some of my pdf documents already have page numbers in the footer and the page number inserted by


in my preamble, makes the page numbers overlap the text in the footer. Is there some way I could have the pagenumbers in very bottom of left corner of the page. I tried using


and it makes the included pdfs ugly although now the page number do not overlap.

  • Use fancyhdr.
    – JPi
    Aug 6 '17 at 0:58



I was getting two page numbers with the above code in the footer: center and on the right. I then changed in Lyx page margins: top and bottom to 2cm and headsep and footsep to 1cm; and put the following explicitly in preamble and now the numbers print fine with no pagenumber in center of the footer.

\usepackage{fancyhdr} \usepackage{pdfpages} \pagestyle{fancy} \lhead{} \chead{} \cfoot{} \lfoot{} \rfoot{Bates number\thepage} \fancyfootoffset[R]{1cm} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.