Katex icon indicating copy to clipboard operation
Katex copied to clipboard

Katex fails to parse table commands

Open waleorchids opened this issue 5 years ago • 4 comments

Let me begin by appreciating your effort on this library. Its one of the best MathView library for android. Thank you. But i observed that the library does not render table even with HTML tags. I am also using these commands below to create latex table \begin{tabular}{|l|c|c|c|c|c|c|c|} \hline Marks & 2 & 3 & 4 & 5 & 6 & 7 & 8 \ \hline No. of Students & 4 & 2 & 5 & 2 & 4 & 1 & 3 \ \hline \end{tabular}

Please help.

waleorchids avatar May 29 '20 13:05 waleorchids

@lingarajsankaravelu I have the same issue

ratala1 avatar Jul 06 '20 08:07 ratala1

@ratala1 wr u able to find a solution for this?

lingarajsankaravelu avatar Jul 09 '20 11:07 lingarajsankaravelu

https://github.com/KaTeX/KaTeX/issues/267 Katex doesn't support this.

One solution would be to parse the data and create a html table before rendering.

ratala1 avatar Jul 09 '20 13:07 ratala1

hello and how are you?

I will recommend that you use array instead using the example below

\begin{array}{|c|c|c|} \hline \text{Set} & \text{Operation} & \text{Identity} \ \hline \mathbb{Z} & + & 0 \ \hline \mathbb{Q} & + & 0 \ \hline \mathbb{R} & + & 0 \ \hline \mathbb{Z} & \times & 1 \ \hline \mathbb{Q} & \times & 1 \ \hline \mathbb{R} & \times & 1 \ \hline \end{array}

Hope this helps?

Regards

On Thu, Jul 9, 2020 at 2:23 PM rajeswari ratala [email protected] wrote:

KaTeX/KaTeX#267 https://github.com/KaTeX/KaTeX/issues/267 Katex doesn't support this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lingarajsankaravelu/Katex/issues/39#issuecomment-656124882, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYPRJBX66IV2KDBYV7ZWTDR2XAGXANCNFSM4NOAYXWQ .

waleorchids avatar Jul 09 '20 13:07 waleorchids