3

I have the following code:

\begin{table}[ht]
\begin{tabular}{c c c}
Name & Number of crossings & Arf invariant \\ 
  \includegraphics[scale=0.5]{../images/unknot.jpg}  & 0 & 0 \\
\end{tabular}
\end{table}

which produces a table. But the picture does not get scaled. Why? And how can I make it scale the graphic? Thanks for your help.

7
  • 1
    there is nothing in tabular code that should affect the scale, if you remave all the table/tabular markup and just have \includegraphics{../images/unknot.jpg}\par\includegraphics[scale=0.5]{../images/unknot.jpg} are they the same size? Sep 12, 2012 at 11:56
  • @DavidCarlisle Yes indeed they are. I'm confused. It used to scale.
    – Matt N.
    Sep 12, 2012 at 12:02
  • @DavidCarlisle Thanks loads. Must be impossible to scale jpegs. It works with a png.
    – Matt N.
    Sep 12, 2012 at 12:03
  • 1
    It is possible to scale jpg's (I just tested to make sure). But it could fail for special jpg's if e.g. they don't contain the correct picture size informations. Sep 12, 2012 at 12:11
  • @UlrikeFischer Thanks a lot, that's useful to know!
    – Matt N.
    Sep 12, 2012 at 12:13

0

Browse other questions tagged .