TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This problem is related to my previous problem about pdf trimming.

Here is the minimal code:

            \includepdf[pages=\i,trim=\mylength 4.325in 0.3in 0.9in,clip]{MVC}%
            \includepdf[pages=\i,trim=0.7in 0.4in  0.3in 4.825in,clip]{MVC}%
            \includepdf[pages=\i,trim=0.3in 4.325in 0.7in 0.9in,clip]{MVC}%
            \includepdf[pages=\i,trim=0.3in 0.4in  0.7in 4.825in,clip]{MVC}%

The pdf file to be trimmed is available here. I rename the pdf as MVC.pdf and save it in the same directory in which the tex input file above is saved.

I compiled and got blank pages.

share|improve this question
up vote 6 down vote accepted

You can use

\includepdf[pages=\i,trim=\mylength{} 4.325in 0.3in 0.9in,clip]{MVC}%


\includepdf[pages=\i,trim={\mylength} 4.325in 0.3in 0.9in,clip]{MVC}%

What is important is that the space after \mylength is not eaten by TeX.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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