Graphics, Figures & TablesProblem with PDF figures in LaTeX=>PDF build

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
fenghedo
Posts: 19
Joined: Sat Oct 04, 2008 3:01 pm

Problem with PDF figures in LaTeX=>PDF build

Post by fenghedo »

Hi Everyone,

I am using LaTeX=>PDF to build my pdf. I have included a pdf figure using the following code:

Code: Select all

\begin{figure}[htb]
	\centering
		\includegraphics[width = 0.95\textwidth]{somefigure.pdf}
		\caption{Some figure}
		\label{fig:some}
\end{figure}
The pdf figure is very wide and short. But it shows up in my final PDF file pushed to the right with half of the figure missing.

I tried to use LaTeX=>PS=>PDF, the figures were placed correctly. But I really would like to use LaTeX=>PDF, any ideas about how to solve this problem?

Thanks.

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

Problem with PDF figures in LaTeX=>PDF build

Post by localghost »

fenghedo wrote:[...] I tried to use LaTeX=>PS=>PDF, the figures were placed correctly. [...]
This is very astonishing. The latex compiler engine doesn't accept files in PDF format, only as EPS. Attach the concerned file to your next post.


Best regards
Thorsten
Post Reply