Edited for an MWE (that hopefully works) I'm having trouble with the coding. I have this one picture, and I edited another picture to base it off that.

picture 1

picture 2

As you could probably tell, that shaded area of is very important in my project. I am trying to get a line of text to go there. Below is my code.



\textbf{Main Title Text Over Here on top}\\
{\LARGE Smaller Text Down Here}\par 
{\Huge My Name}\par 


Now, it works nice and fine for the first picture, but for the second picture with the same code:

picture 3

picture 4

I don't quite understand.. Both pictures have the same resolution, but why does it treat the other picture differently?

  • It would help to know the document class and what package \AddToShipoutPicture comes from. For example, if using standalone one would expect the two pages to have different sizes. If you are using a KOMA class, we are talking an entirely different set of problems. – John Kormylo Jan 2 '16 at 15:54
  • Oops. My bad @JohnKormylo \documentclass[11pt,fleqn]{book} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,letterpaper]{geometry} \input{structure} Those are all in the header. (I didn't include the font packages and some other irrelevant things like that). Hopefully that clears things up. – Erfan Jan 2 '16 at 15:59
  • There are a number of questions here from people having problems with \AddTo ShipoutPicture, tex.stackexchange.com/questions/225020/… at least has a MWE. – John Kormylo Jan 2 '16 at 16:11
  • I tried adding the \usepackage{grffile} to the header, but that didn't work. I'll get right on it for the MWE, sorry about that – Erfan Jan 2 '16 at 16:16
  • Edited and added the MWE – Erfan Jan 2 '16 at 16:27

The problem here is that the image dimensions are already too large. One should look for a better scale.




One can also try with


this will scale the image such that it fit the width of paper or


this will scale the image such that it fit the height of paper or


this will scale the image such that it fit the paper.

| improve this answer | |

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.