Hi,
I inserted two images side by side and this works fine as long I insert
two eps-files. If I want to insert an eps- and a jpg-file the jpg-image
looks much smaller than the eps although both columns are sized 50% and
the images within their columns are sized 100%. The jpg-file seems to
have a white frame around it. I exported both images from matlab
graphics, does the problem come from exporting and can I work around it
in Lyx?
A .eps has a particular size encoded in the file. A .jpg doesn't, it merely has a number of pixels which depends on how big a pixel is.
Therefore, 50% size for a .eps is 50% of the specified size. A jpeg might be displayed with half of its pixels removed, but the size will then depend on screen resolution I believe. Unless there is some "standard" for how big a jpg pixel should be in lyx. It'd still be arbitrary though.
You may however specify the jpeg size in units (5cm, 2bp, and so on) or in a percentage of column or page width. That works the same way for both .eps and .jpg, and lets you get same-sized graphichs.
Helge Hafting