Speech-Rule-Engine / speech-rule-engine

Generating speech descriptions for XML structures
https://zorkow.github.io/speech-rule-engine/
Apache License 2.0
73 stars 39 forks source link

2x2 array dropping an entry #705

Closed rbeezer closed 1 year ago

rbeezer commented 1 year ago

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 1 year ago

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.

rbeezer commented 1 year ago

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