Skip to content

Support \hline row rules in math arrays #305

Open

Description

@Happypig375

Support \hline at valid row boundaries in math array-style environments, including explicit table-model state, serialization, validation, and rendering.

Acceptance criteria:

  • Accept \hline only at row boundaries inside supported math arrays; reject use outside arrays or within a cell at the exact source position.
  • Record rules independently at top, interior, and bottom boundaries, including repeated rules where supported.
  • Serialize rules canonically and preserve them through parse → serialize → parse and table equality.
  • Horizontal rules span the final table geometry, including column alignment, vertical rules, delimiters, nested tables, and style scaling.
  • Structural tests cover top/interior/bottom placement, repeated and malformed placement, and round-trip behavior.
  • Focused rendering tests cover ruled arrays with l, c, and r columns.

Implementation is present in the iosMath 2026 port PR #264. Parent table-layout epic: #195.

Activity

  1. added
    Type/Enhancement
    Area/Parsing
    Area/Rendering
    on Aug 30, 2026
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

    Area/ParsingArea/RenderingType/Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions