scottrileywilson / latex-lab

Automatically exported from code.google.com/p/latex-lab
0 stars 0 forks source link

\usepackage[pdftex]{graphicx} doesn't work. #47

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The [pdftex] bit of this command causes latex-lab to be unable to compile 
my document. (It doesn't open the PDF-document as usually) 

If I remove the [pdftex] I can include images, but they are overlaying the 
text.

The short version looks like this:

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage[pdftex]{graphicx}
\title{Kort repræsentation}
\date{}
\begin{document}

\includegraphics[scale=0.25]{BasisFest.jpg}

\end{document}

Original issue reported on code.google.com by lasse.roerbaek on 21 Apr 2010 at 12:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
If you upload bb file together with your jpg file as project resources,
or add bb option like:

\documentclass[12pt,a4paper,dvipdfm]{article}
\usepackage{graphicx}
\begin{document}
  \includegraphics[bb=0 0 1109 777, width=5cm]{drybath.jpg}  %<-this is my jpg file
\end{document}

then, it works. Correct size jpg image appears in the exported pdf file.
​ 

Original comment by kohjiom...@gmail.com on 13 Jun 2010 at 12:53

GoogleCodeExporter commented 8 years ago
see http://cs.calvin.edu/curriculum/cs/214/snelesen/Labs/Lab10/latex.html, for 
help in size of the figure,

Original comment by magnelol...@gmail.com on 8 Feb 2011 at 11:16