Graphics, Figures & Tablessubfigure | Trim Figures

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

subfigure | Trim Figures

Post by 21did21 »

Hello world,

i want to trim a figure with subfigure but i don't understand how i can make this...

bellow, i have a code which works nice to insert subfigure but i don't understand where i have to put something to trim my white margins.

Can you help me please ?

thanks :D

Code: Select all

\begin{figure*}
\centering
\subfigure[First]
{
\includegraphics[width=0.45\linewidth]{blabla1.pdf}
\label{blabla:subfig1}
}\qquad\qquad
\subfigure[Second]
{
\includegraphics[width=0.45\linewidth]{blabla2.pdf}
\label{blabla:subfig2}
}
\label{blabla}
\caption[blabla abcabcabc]{\subref{blabla:subfig1}:
aaabbbccc
\subref{blabla:subfig2} aaabbbccc}
\end{figure*}
Last edited by 21did21 on Thu Mar 01, 2012 3:15 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

subfigure | Trim Figures

Post by localghost »

Regardless of the fact that the subfigure package is obsolete and therefore should not be used any more, I don't see where this package should serve for trimming graphics. As far as I know trimming is done by the graphicx package. If you want to cut the white margins from PDF files, take a look at the Perl script pdfcrop.


Thorsten
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: subfigure | Trim Figures

Post by 21did21 »

thanks for your help.

i have tried to modif my original figure to trim directly at the source and it works :)
Post Reply