Skip to content

parse: stretchy arrow accents \overrightarrow \overleftarrow \overleftrightarrow - #6

Merged
tannevaled merged 1 commit into
mainfrom
overarrow-accent
Aug 30, 2026
Merged

parse: stretchy arrow accents \overrightarrow \overleftarrow \overleftrightarrow#6
tannevaled merged 1 commit into
mainfrom
overarrow-accent

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Vector notation \overrightarrow{AB} was an unknown command, so the whole equation was dropped (arXiv census: 21 groups).

\overline/\underline already stack a rule over the nucleus; overArrow does the same with a full-width shaft plus a triangular head (reusing xArrow's head geometry) at each requested end — right for \overrightarrow and esvect's \vv, left for \overleftarrow, both for \overleftrightarrow. The shaft spans the whole width and the heads overlay its ends, so no width-dependent guard is needed.

TestOverArrow covers all variants + the error path; 100% coverage gate green.

…trightarrow

Vector notation (\overrightarrow{AB}) was an unknown command, so the whole
equation was dropped (arXiv census: 21 groups). \overline/\underline already
stack a rule over the nucleus; overArrow does the same with a full-width shaft
plus a triangular head (reusing xArrow's head geometry) at each requested end —
right for \overrightarrow and esvect's \vv, left for \overleftarrow, both for
\overleftrightarrow. The shaft spans the whole width and the heads overlay its
ends, so no width-dependent guard is needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit ff8897e into main Aug 30, 2026
11 checks passed
@tannevaled
tannevaled deleted the overarrow-accent branch August 30, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant