Alexandru Mustatea wrote:
This is in reply to Paul A. Rubin's request (sorry for breaking
the thread, email problem). The LaTeX code that produced the good
output is below. I also forgot to mention that I'm using LyX 1.4.3.
Now, the workaround would be to export to LaTeX and then hack the
resulting file manually, but maybe things could be done more elegantly
in LyX.
\be
\begin{array}{c}
\includegraphics[width=3cm]{q-skein1sf.eps}\end{array}=A(\lambda)\begin{array}{c}
\includegraphics[width=3cm]{q-skein2sf.eps}\end{array}+B(\lambda)\begin{array}{c}
\includegraphics[width=3cm]{q-skein3sf.eps}\end{array}.
\ee
A.M.
I was able to reproduce this in LyX, using the following steps:
1. If the image files are not in EPS format, use ImageMagick to convert
them to EPS. (I copied the PNG file from your web page, chopped it into
three separate images, and converted them to EPS.)
2. If the document is not going to contain any images outside math
environments, add \usepackage{graphicx} to the document preamble. (LyX
automatically does this for you if it sees images being included, but it
does not see them if they are in math environments -- or headers/footers
IIRC.)
3. Insert a displayed equation containing []=A(\lambda)[]+B(\lambda)[],
where [] is my way of indicating a 1x1 array. The default inserted
array is 2x2; you have to delete a row and a column. Fortunately, this
is easy with toolbar buttons if you turn on the math toolbar (or by
keyboard shortcuts).
4. Put the cursor in the first 1x1 array cell and type
\includegraphics[width=3cm]{q-skein1sf.eps}. Make sure that, when you
are done typing, the \ disappears (signaling that LyX recognized this as
a command). Occasionally, when pasting things in, I forget to follow up
with a space, and LyX ends up treating \includegraphics as literal text
(detectable because the \ is still visible).
That should do it. One other note, though. LyX currently does not have
scrollable math insets, and even with the LyX window maximized I could
not edit the last \includegraphics command. A workaround is to define
abbreviations in the preamble. For instance, I put
\newcommand{\Lx}{\includegraphics[width=3cm]{q-skein1sf.eps}}
in the preamble and then just \Lx (followed by a space!) in the leftmost
1x1 array.
This may be a bit tedious, but it works.
HTH,
/Paul