Speech-Rule-Engine/speech-rule-engine

2x2 array dropping an entry

rbeezer opened this issue · 2 comments

Can you duplicate the following? Seems a basic thing, but also pretty simple on my end. Of course, I may be a few versions behind on SRE.

\(\begin{array}a & b\\c & d\end{array}\)

produces

⠃
⠉⠀⠙

dropping the first entry.

zorkow commented

This is due to an (unintended?) error in your LaTeX. array requires a mandatory second argument for column alignment. It will therefore consume the first character it find as that argument.

The following expression

\(\begin{array}{cc} a & b\\c & d\end{array} \)

will produce the correct output

⠁⠀⠃
⠉⠀⠙

Alternatively, simply use the matrix environment instead of array.

Oooops. I knew it was likely my fault! Thanks for the reply and apologies for the noise.