LyX ⇒ Vertical alignment of images in float
Vertical alignment of images in float
I'm trying to do something that should be trivial, but I don't seem to get there. I would like to place two images of different height next to each other in one float object. The top of both images should be vertically aligned with the top of the float.
The only workaround I have found so far was putting the two images in two separate boxes (=minipages) and adding a fixed vertical space below the smaller figure, within its box.
Is there a way to do this properly?
Many thanks in advance!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Vertical alignment of images in float
Have you tried \minipage? http://dcwww.camd.dtu.dk/~schiotz/comp/ ... xTips.html shows how you can put the figure caption to the right of a figure. You will be able to the same to put two figures. Use the `t' specifier as in the example.
Re: Vertical alignment of images in float
I've used LyX boxes, which are minipages. Selecting 'top' as placement in LxY results in LaTeX code with the [t] option set. However this does not lead to the desired result, i.e. images with their top edges at the same level.