I use the following command (taken on internet) to crop a .pdf image:

\includegraphics[trim={0.0cm 4.0cm 0.0cm 4.0cm},clip, scale=0.8,page=1,angle=90]{aircraft_attitude/Q3_project_scheme.pdf}

I cannot understand the difference between them. Can you explain the difference?

1 Answer 1


The trim keyword affects the 'apparent size' of the image but does not in itself make any material invisible: anything outside of the trimmed border is simply overprinted with the surrounds. The clip keyword means that anything outside the apparent size should be hidden by the viewer: it's still possible to 'see' this content in the underlying PDF.

  • I always wondered if clipped material was still present in the underlying document. Is that also true of \clipbox of the trimclip package? Commented Jun 3, 2021 at 9:36
  • 1
    @StevenB.Segletes Yes, as the way this works is to include all of the content then use a clipping operation around it. You can't know in advance if some element crosses the boundary, e.g. a line that might get cut off.
    – Joseph Wright
    Commented Jun 3, 2021 at 10:00
  • I see your point, for non-pixelated content. Commented Jun 3, 2021 at 11:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .