# Inserted pdf pages are not centered

I use \usepackage{pdfpages} and the code \includepdf[pages=-]{File name} to insert three pdf files, each of them have three pages, in my main file. But the pages of first two of them do not centered and at the end of each page, the name of each pdf file is inserted. What should I do?

• Can you show us a screenshot of the result you get and a short compiling tex code showing us how you build the resulting pdf? – Kurt Dec 26 '18 at 19:57
• Sounds like one problem and a potential twoside issue. The problem is that the filename shouldn't print unless the command is not properly defined. In this: \documentclass{article} \usepackage{pdfpages} \begin{document}\includepdf[pages=-]{filename}\end{document} (where filename.pdf is 3 pages) you should not have the filename displayed in the document. Second - the problem with centering could be due to either the included .pdf having odd-even page margins or the .tex document having odd-even margins. You need to provide more info for us to help further. – whatisit Dec 27 '18 at 17:34