[LON-CAPA-users] Printing Figures

Felicia Berryman lon-capa-users@mail.lon-capa.org
Mon, 05 Feb 2007 11:53:53 -0500

Hi Todd,

I didn't think the TeXwidth attribute only accepts a number.  That 
number defines the number of mm wide the image will be.  Try TeXwidth="70"


Todd Ruskell wrote:
> Hi,
> We're trying to improve the hard-copy printing of images, particularly 
> for exams.   For one particular problem, if I do not set any size 
> options, the latex code produces an image with a width of 142.2 mm and 
> a height of 144 mm with the default single-column format.  If I use 
> the TeXwidth option, like:
> <img src="Figures/circleSym.gif" TeXwidth="50%"/>,
> then the image is visibly flattened in the vertical direction, and 
> looking at the latex code I see an image with a width of 90.17 mm and 
> a height of 50.63 mm, which clearly destroys the aspect ratio.  
> Further, If I use the single-column format, the image is visibly 
> squashed in the horizontal direction, albeit much smaller.  This is 
> very disturbing when asking a question about figure which should show 
> a circular cross-section but that looks unquestionably elliptical.
> If I try adding TeXheight="50%", the latex code generated is 
> \includegraphics[width=90.17 mm,height=50% mm], which clearly won't work.
> I'm sure others have encountered this issue.  What is the 
> preferred/accepted method for scaling images in LaTeX mode while 
> properly preserving aspect ratios?
> Thanks,
> Todd
> --Dr. Todd G. Ruskell                         Phone: 303-384-2080
> Senior Lecturer, Department of Physics      FAX:   303-273-3919
> Colorado School of Mines
> Golden, CO 80401
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

Felicia Berryman
LON-CAPA Support Coordinator
Michigan State University
Phone:  (517)432-9866
Technical Support Available at:
   http://www.loncapa.msu.edu - MSU Users
   http://www.help.lon-capa.org - General