On Tue, May 08, 2001 at 03:56:28PM +0200, Michael Schmitt wrote:
> Hi Andre,
>
> in mathed, there is a small yet annoying bug which I hope you will be
> able to fix without much effort: I have a TeX command included in my
> formula, "mathbb{P}", in order to access some special symbol. Now every
> time I load my document, "{P}" is removed by LyX, i.e. I have to re-add
> it by hand! If possible, please provide a small patch that can directly
> into the main cvs branch.
As a workaround, I suggest
\newcommand{\P}{\mathbb{P}}
in your preamble, allowing you to write more simply
\P(x=4)=0.5
where the \P will appear as a red P in LyX.
This is my habit in LyX: make nice short easy macros for tasks like that.
Jules