[TriLUG] Urgent LaTeX problem - any ideas?

Andrew Perrin andrew_perrin at unc.edu
Sun Jan 27 10:48:13 EST 2002


Greetings-

Using the seminar package to develop a lecture, I'm using graphicx to
include an eps chart exported from R:

\resizebox{\textwidth}{\textheight}{\includegraphics{crime.eps}}

For some odd reason, the *entire* slide (include page number) is
rotated 180 degrees (upside-down).

So I tried:

\resizebox{\textwidth}{\textheight}{\includegraphics[angle=180]{crime.eps}}

and I got:
! Package graphics Error: Division by 0.

Oddly enough, using angle=90 works fine (but of course doesn't give
the desired result). I also avoid the error by leaving out the
\resizebox, but of course the graph then spills way off the slide.

Any advice will be greatly appreciated:

1.) Why does the graph's inclusion invert the slide?
2.) Why can't I rotate it back?

Thanks.



----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin at unc.edu - http://www.unc.edu/~aperrin
 Assistant Professor of Sociology, U of North Carolina, Chapel Hill
      269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA





More information about the TriLUG mailing list