TeXZilla icon indicating copy to clipboard operation
TeXZilla copied to clipboard

\hline is not supported

Open an0 opened this issue 7 years ago • 5 comments

Is it a bug? Is there any alternative way to draw a horizontal line to separate rows in a matrix?

an0 avatar Oct 27 '18 19:10 an0

TeXZilla's syntax is aligned on itex2MML.

cc'ing @distler

fred-wang avatar Nov 03 '18 11:11 fred-wang

So what's the syntax for \hline?

an0 avatar Nov 03 '18 19:11 an0

I can't speak for Frederic, but itex2MML is concerned with LaTeX equations, not running text (it is envisioned a way to embed equations in some other text markup language -- be it HTML or Markdown or whatever -- that is processed to HTML+MathML).

So it is neither desired nor expected to support LaTeX commands that only appear in running text.

distler avatar Nov 04 '18 01:11 distler

Hmm. OK, sorry. I guess there is a use-case in matrices. There is a rowlines attribute on the MathML mtable element which is sorta similar ... but not really.

distler avatar Nov 04 '18 01:11 distler

That's the same for TeXZilla. If one wants to process a whole LaTeX document, then something like latexml ( https://dlmf.nist.gov/LaTeXML/ ) is more appropriate.

I'm happy to accept PRs adding support for itex2MML commands that are missing from TeXZilla.

fred-wang avatar Nov 04 '18 12:11 fred-wang