- [x] Parsing of the column specification - [x] `l`, `c`, `r` - [x] `|` - [x] `:` - [x] Rendering when there are no lines - [x] Rendering when there are no lines except one line at the very beginning - [x] Rendering with lines when there are no empty columns - the problem here is currently that lines only work after `c` columns - [x] Rendering with lines when there are empty columns - [x] figure out the right thickness for the lines - [ ] support `\hline` and `\hdashline` * these are only allowed after `\\` or directly at the beginning of the array (I verified this again later; this really is true) * we might need new tokens for representing `\\` in arrays (as opposed to equation enviroments) * in the parser when looking at the `\\` token, we can then maybe look ahead to see whether an `\hline` follows and if so, we return a different node - this new node would then result in `</mrow><mrow style="border-top: 0.05em solid black">` instead of just `</mrow><mrow>` * for the `\hline` at the beginning, we'd have to check in the environment parser and if it's found, we set a flag in the array node itself - the border is then either set on the table itself or on the first `<mrow>` (probably setting it on the table is easier)
Activity
Begin supporting `\begin{array}` (#440)
tmke8 commentedon May 23, 2025
Let's actually keep this open until
\hlineis supported.Implement `\hline` and `\hdashline`
Implement `\hline` and `\hdashline` (#1097)