LaTeX forum ⇒ MiKTeX and proTeXthow does "\includegraphics[trim..." work?

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Posts: 1
Joined: Wed Jan 20, 2016 10:44 pm

how does "\includegraphics[trim..." work?

Postby kammi » Wed Jan 20, 2016 10:56 pm

Dear friends,

I'm using "\includegraphics[trim =..." to cut out parts of another pdf.
  1. \begin{table}[!ht]
  2. \centering
  3. \includegraphics[trim = 6mm 60mm 306mm 18mm, clip, width=1.0\textwidth]{tables/MT_vs_Pusher_datamatrix.pdf} %links, unten, rechts, oben
  4. \caption[Datenanalyse ModulTherm]{Datenanalyse ModulTherm, eigene Darstellung}
  5. \label{tab.MT_vs_Pusher_datamatrix1}
  6. \end{table}

Looks beautiful and works (nearly) well.
BUT: I still have access to the data from the invisible area, means in my final dpf, i can copy/past the invisible content of the pdf from which I included and trimmed the graphic.
Can u understand or should I make picture?

Any suggestions how to avoid? Sorry for my poor english...


User avatar
Site Moderator
Posts: 3602
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Jan 21, 2016 9:31 am


the pdf is trimmed, i.e. the parts you don't want are hidden, but still in the pdf.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8598
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Thu Jan 21, 2016 4:09 pm

Hi Sascha,

welcome to the forum!

Just a comment, as I see you are writing in German: you are also welcome to join us at our German partner site if you like. No problem to post in English here and in German there even for the same topic, just links should be added in case of cross-posts.

Site admin

Return to “MiKTeX and proTeXt”

Who is online

Users browsing this forum: No registered users and 2 guests