On 05/26/2010 02:31 PM, iustifico wrote:
Here is a minimal sample document with the appropriate pdf.
Regards,
iustifico
You need to load, in the preamble, a package that defines the symbol.
\usepackage{stmaryrd} works for me; \usepackage{MnSymbol} should also
work (I couldn't test it because I don't have that package installed).
You can also use \usepackage{wasysym} and put \lightning in ERT rather
than in a math inset.
I can see where this would be a bit confusing, since in a math inset LyX
recognizes the macro and displays the correct screen glyph. If you put
\lightning in ERT and do not load a valid package, LaTeX complains about
an undefined macro, but in a math inset it apparently recognizes the
macro but maps it to the wrong glyph.
/Paul