Many thanks Paul. Works like a charm.
I had been coming to the conclusion that I was probably going to have to
reinstall LyX since I could not get LyX to compile even when the expression
$\dfrac{\pi}{4}$ was outside the TikZ environment.
I tend to use those packages you and Jurgen stripped out, quite a lot so they
are in my basic template. I am not likely to really need dfrac{} other than to
duplicate the examples in the document I am working through so it's not likel
to be a practical problem for me.
Wait a minute! I find that find that $\dfrac{\pi}{4}$ works just fine with
them loaded both inside and outside TikZ environment as long as I load the AMS
package manually. Excellent.
Thanks to both of you.
On Friday, February 28, 2014 2:28:18 PM, Paul A. Rubin <[email protected]> wrote:
Besides stripping out the package loads mentioned by Jürgen, I had to switch
AMSMath (Document > Settings > Math Options) from automatic to manual load
(because the \dfrac command, which requires it, is in ERT). Once I did that,
the document compiled.
Paul