Skip to content

Support \overleftarrow and \overrightarrow #185

Open

Description

@yoshiask

The parser on current master still rejects both \overleftarrow{a} and \overrightarrow{a}. LaTeXSettings also retains an explicit TODO for these commands.

This is a feature request, not an alias for \vec: the arrow must stretch over the complete argument and point in the requested direction.

Acceptance criteria:

  • Parse \overleftarrow{...} and \overrightarrow{...} into an appropriate accent/annotation atom.
  • Stretch the arrow to the rendered width of short and long arguments using the font's math layout data.
  • Serialize both commands without changing direction or losing the argument.
  • Add parser, round-trip, and rendering tests for both directions and multiple argument widths.

Activity

  1. added
    Type/Bug
    on Nov 25, 2020
  2. added
    Type/Enhancement
    and removed
    Type/Bug
    on Dec 12, 2020
  3. Happypig375 commented on Dec 12, 2020

    @Happypig375
    Collaborator

    This is just not implemented yet.

  4. changed the title [-]over[left/right]arrow commands not recognized[/-] [+]Support \overleftarrow and \overrightarrow[/+] on Aug 30, 2026
  5. added
    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