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

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

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

Post by kammi »

Dear friends,

I'm using "\includegraphics[trim =..." to cut out parts of another pdf.

Code: Select all

\begin{table}[!ht]
	\centering
		\includegraphics[trim = 6mm 60mm 306mm 18mm, clip, width=1.0\textwidth]{tables/MT_vs_Pusher_datamatrix.pdf} %links, unten, rechts, oben
	\caption[Datenanalyse ModulTherm]{Datenanalyse ModulTherm, eigene Darstellung}
	\label{tab.MT_vs_Pusher_datamatrix1}
\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...

Cheers!
Sascha

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

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

Post by Johannes_B »

Welcome,

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: 10290
Joined: Mon Mar 10, 2008 9:44 pm

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

Post by Stefan Kottwitz »

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 TeXwelt.de 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.

Stefan
LaTeX.org admin
Post Reply