No, there is no special tex code you need. I've attached a simple file, which worked for me.
Hope this helps you,
Amir.
Adinda Praditya wrote:
Dear All,...
I have a problem with inserting graphics. As in user guide said I tried to insert any type of graphics using Insert > Graphics. It can be viewed with LyX but failed when i tried to view it with others (DVI, PDF, HTML etc).
I thought this is because i use the wrong type. So i exporting an image to eps, and then tried it again. It still the same, more over, i can't see it on LyX.
I tried to read again from the user's guide. I even copied mobius.eps (both the file and the image) from the manual to my test.lyx. It said "mobius.eps no file found!" I clicked and fixed the location of the graphics, but still i have that appereance from lyx.
What i mean is image (graphics) in the middle of the article or text.
Is there any tex code or something like that to be added into preamble?
Please help,
Adinda P
#LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize a4paper \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default
\layout Standard
this is a circle
\begin_inset Graphics FormatVersion 1
filename circle.eps
display default
size_type 0
rotateOrigin leftBaseline
lyxsize_type 0
\end_inset
and this is a circle in a float
\begin_inset Float figure
placement H
wide false
collapsed false
\layout Standard
\begin_inset Graphics FormatVersion 1
filename circle.eps
display default
size_type 0
rotateOrigin leftBaseline
lyxsize_type 0
\end_inset
\layout Caption
circle
\end_inset
\the_end
circle.eps
Description: PostScript document
