# Bug: MathJax/LaTeX mathbb font in array

I recently answered a question using the following code

$$\begin{array} \mathbb P\Big(X = \mu+\frac12\left(\gamma+\sqrt{4\kappa-3\gamma^2}\right)\sigma\Big) &=& \dfrac{\sqrt{4\kappa-3\gamma^2}-\gamma}{2\sqrt{4\kappa-3\gamma^2}(\kappa-\gamma^2)} \\ \mathbb P\Big(X = \mu\Big) &=& 1-\dfrac{1}{(\kappa-\gamma^2)} \\ \mathbb P\Big(X = \mu+\frac12\left(\gamma-\sqrt{4\kappa-3\gamma^2}\right)\sigma\Big) &=& \dfrac{\sqrt{4\kappa-3\gamma^2}+\gamma}{2\sqrt{4\kappa-3\gamma^2}(\kappa-\gamma^2)}\end{array}$$

and saw a difference in the $$P$$ and $$\mathbb P$$ at the start of the first line of the array compared to the second and third, looking like this trimmed image

In full

$$\begin{array} \mathbb P\Big(X = \mu+\frac12\left(\gamma+\sqrt{4\kappa-3\gamma^2}\right)\sigma\Big) &=& \dfrac{\sqrt{4\kappa-3\gamma^2}-\gamma}{2\sqrt{4\kappa-3\gamma^2}(\kappa-\gamma^2)} \\ \mathbb P\Big(X = \mu\Big) &=& 1-\dfrac{1}{(\kappa-\gamma^2)} \\ \mathbb P\Big(X = \mu+\frac12\left(\gamma-\sqrt{4\kappa-3\gamma^2}\right)\sigma\Big) &=& \dfrac{\sqrt{4\kappa-3\gamma^2}+\gamma}{2\sqrt{4\kappa-3\gamma^2}(\kappa-\gamma^2)}\end{array}$$

What might have caused this?

• So I should have started with something like $$\begin{array}{lcl} \mathbb P .... Fixed now. Many thanks. Dec 19, 2023 at 2:36 • You can also leave the input empty like$$\begin{array}{} \mathbb P as long as you have the extra brackets Dec 20, 2023 at 8:58