[LON-CAPA-users] Printing Figures
Todd Ruskell
lon-capa-users@mail.lon-capa.org
Fri, 2 Feb 2007 21:52:27 -0700
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