Cropping figures in latex

Image you have a figure, but it just needs a bit of tweaking. Fear not! the following will do all the magic for you:

\usepackage{graphicx}
...
\begin{figure}[htbp]
    \begin{center}
        \includegraphics[trim=left bottom right top, clip]{file}
    \caption{default}
    \label{default}
    \end{center}
\end{figure}

, where the default units of trim are big points (bp). For example:
trim=1200 400 1500 1500, clip]

I recommend you start small (say 100) and then go up from there, depending on the need.
Taken from here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s