Why do we have to follow the trim option with clip in \includegraphics? Is there a situation were trim is used without clip or vice-versa?


The original idea was that trim was just a way of adjusting the bounding box by specifying offsets from the edges rather than a new bounding box with bb, so like the bb key it adjusts the size latex leaves but if the image is really bigger than that it would over/under print the surroundings. clip clips. It's a long time ago and i can't remember all the discussions but probably the fact that clipping isn't the default is related to the fact that not all the important dvi drivers at the time could clip at all.

|improve this answer|||||

I use quite often trim without clip to move graphics a bit around or change the spacing before and after a graphic or get a graphic in the background:

\includegraphics[trim=5cm 4.5cm 0cm 0cm,width=3cm]{example-image}\lipsum*[1]

enter image description here

|improve this answer|||||
  • Interesting! (Roughly) similar to Editing wrapping points in Word. – jak123 Jan 28 '16 at 9:08

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.