verybadcat / CSharpMath

LaTeX. in C#. (ported from the wonderful iosMath project).
MIT License
384 stars 64 forks source link

Tables feature #195

Open Ewdoc opened 3 years ago

Ewdoc commented 3 years ago

Is your feature request related to a problem? Please describe. We can use LaTeX syntaxes to make beautiful equations, but why not including tables?

Describe the solution you'd like I suggest adding first the tabular environment, which will permit to design tables for Math. It should include basics commands such as \hline and \multicolumn.

Difficulty: How difficult would it be? (Trivial, Very Easy, Easy, Moderate, Hard, Very Hard, Tedious, Backbreaking) I don't have a clue.

Happypig375 commented 3 years ago

This is something that I intend to do, but the current Typesetter code is pretty messy so expect a long while until I can revisit this.

tofutim commented 7 months ago
\begin{array}{r}
12\\
\times\ 3\\
\hline
36
\end{array}

I would like to do something like this. However, \hline is not found... the best I can do is \begin{array}{r}12\\ \times 13\\ 156 \end{array}

image

Any tips much appreciated!


Here is an example of it working online...

image

Update. I realized I could cheat a little using "underline", e.g.,

\begin{array}{r}12\\ \underline{\times 10}\\ 120 \end{array}