### What I’m trying to do

I am trying to write matrixes in latex that have vertical bars, such as this:

However, what I end up with is this:

### Things I have tried

I have tried doing this three ways:

- The vmatrix environment

```
$\begin{vmatrix}a & b & c \\ d & e & f \\ g & h & j\end{vmatrix} = a\begin{vmatrix}e & f \\ h & j\end{vmatrix} - b \begin{vmatrix}d & f \\ g & j\end{vmatrix} + c \begin{vmatrix}d & e \\ g & h\end{vmatrix}$
```

- The \mdet command in the physics package

```
$$\require{physics}$$
$\mdet{a & b & c \\ d & e & f \\ g & h & j} = a \mdet{e & f \\ h & j} - b \mdet{d & f \\ g & j} + c \mdet{d & e \\ g & h}$
```

- The array environment

```
$\left| \begin{array}a & b & c \\ d & e & f \\ g & h & j\end{array}\right| = \left| a\begin{array}e & f \\ h & j\end{array} \right| - b \left|\begin{array}d & f \\ g & j\end{array}\right| + c \left|\begin{array}d & e \\ g & h\end{array}\right|$
```

All three approaches produce the same outcome with no vertical bars. However, the following actions do result in proper rendering:

- Disabling hardware acceleration
- Setting font size to 10. Does not work for any size larger or smaller
- On my android devices, it renders fine.
- Any matrix with only one row has proper rendering

However I can’t really work with font size 10 or disable hardware acceleration, so if anyone could help fix this issue that would be great.