Skip to content

Handle borders (e.g. for overline) in KaTeX #1673

@gnprice

Description

@gnprice

From our TeX content survey, at #mobile-team > KaTeX survey results @ 💬, @rajveermalviya writes:

"""

607 messages failed because of unsupported inline css property: border-bottom-width.
174 messages failed because of unsupported css class: overline-line.
174 messages failed because of unsupported css class: overline.
33 messages failed because of unsupported css class: underline.
33 messages failed because of unsupported css class: underline-line.

These are all related to borders, the overline and underline are for \overline and \underline respectively which are also rendered using borders in CSS (e.g. $$ \overline{A} $$, $$\underline{A} $$).

From the initial draft implementation for this, the tricky part was similar to SVGs where the (empty) span that has the borders applied, has to size it according to its siblings in a vlist.
"""

This was the 3rd item after all the functionality included in releases so far (#46 (comment)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-contentParsing and rendering Zulip HTML content, notably message contentsa-texTeX/LaTeX content, as rendered by KaTeXuser feedbackThings users have specifically asked for

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions