Skip to content

Supporting \begin{array}{...} #438

Closed

Description

@tmke8
  • Parsing of the column specification
    • l, c, r
    • |
    • :
  • Rendering when there are no lines
  • Rendering when there are no lines except one line at the very beginning
  • Rendering with lines when there are no empty columns
    • the problem here is currently that lines only work after c columns
  • Rendering with lines when there are empty columns
  • 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

  1. added a commit that references this issue on May 22, 2025
  2. tmke8 commented on May 23, 2025

    @tmke8
    OwnerAuthor

    Let's actually keep this open until \hline is supported.

  3. reopened this on May 23, 2025
  4. added a commit that references this issue on Jun 23, 2026
    f66609a
  5. added a commit that references this issue on Jun 23, 2026
    1e178e9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions