You insert an image quite simply: from the menu, choose Insert-->Graphics. Enter the basename of your image (this is the name without the ending), followed by the ending “.eps”. Example: If your image is called myimage.png, enter “myimage.eps” in the file field. Don't worry that LyX cannot find your image. Don't worry that all your images are located in the images directory beneath your working directory, but you didn't enter any paths. The scripts will take care of this (see Section 7.1 for the gory details). You just enter “myimage.eps”, that's all.
If you want to see figure captions and titles (and the “alternative text” in HTML), or if you want to be able to reference a figure, or see your figure in the “List of Figures” that is created automatically, then you have to use floats. Follow the instructions exactly as given:
Be sure that your cursor is in the “Standard” environment.
From the menu, choose Insert-->Floats-->Figure.
In the float, insert an image as explained previously
While the cursor is still besides the (empty) figure box and inside the float, change the environment to “Caption” (Section 5.1).
Now you see the text “Figure#:” to the left of the image box, followed by the image box . Insert a label (Insert-->Label) directly after (to the right of) the image box. Through this label you will be able to cross-reference this figure in your document.
Type the figure caption text directly after the label. It will become the figure title and caption text (there is currently no way to get different texts for figure title and caption text from LyX, although SGML would support this. If you find an alternative, please send it to me).
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/lyx-images.html | All contents © 2002-2007 Chris Karakas |