This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Robert Marcano's blog
Get Firefox Use OpenOffice.org hacker emblem

LaTeX graphics file embeeding

robert | 30 June, 2006 10:51

Victor, this is the sample file you wanted:

\documentclass[10pt,letterpaper,titlepage]{article}
\setlength{\pdfpagewidth}{8.5in}
\setlength{\pdfpageheight}{11in}
\usepackage[utf8]{inputenc}
\usepackage[spanish,english]{babel}
\usepackage[pdftex]{color,graphicx}

\author{Robert Marcano}
\title{Simple Image Sample}

\begin{document}

\maketitle

Simple test with images:

\includegraphics[scale=0.5]{bg}

\end{document}

the image file is named bg, do not add the extension, if you use pdflatex it will automatilcally search for an EPS, PDF, JPG or PNG file.

Comments

Add comment

 authimage
 
Valid XHTML 1.0 Strict and CSS.
Copyright 2003-2007 Robert Marcano. All Rights Reserved
Powered by LifeType
Original Design by Book of Styles