[TriLUG] Urgent LaTeX problem - any ideas?

Andrew Perrin andrew_perrin at unc.edu
Sun Jan 27 15:12:48 EST 2002


On Sun, 27 Jan 2002, Tom Bryan wrote:

> On Sunday 27 January 2002 08:48 pm, Andrew Perrin wrote:
> 
> > 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?
> 
> Not sure.  What about when you set angle=179.5?  Not pretty, but perhaps 
> it'll be an acceptable workaround.
> 
> ---Tom
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
> 

I tried that - still gave the divided by 0 error. I decided not to keep
working to find where the cutoff was. On the debian list someone helped me
come up with this, which works:

\includegraphics[scale=.37,angle=270,keepaspectratio=T]{crime.eps}

----------------------------------------------------------------------
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