Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make special case differential operator #108

Merged
merged 1 commit into from
Dec 2, 2023
Merged

Conversation

runarberg
Copy link
Owner

When an inputted d is most likely a part of a differential
automatically map it to an italic operator with appropriate
spacing.

Also fix spacing issues around operators inside fractions and
groups.

Output Changes

  • Differential d now renders as an operator with and rspace of 0. If
    inside fractions it also has an lspace of 0.
  • First operators in groups now have an lspace of 0. This was true of
    all first operators in matricies. But now it applies to all
    operators in groups, unless it is a lone operator, in which case it
    has it by default.
  • Spaces after a singleton group element no longer puts the element in
    an unessisary .

Resolves: #53

When an inputted d is most likely a part of a differential
automatically map it to an italic operator with appropriate
spacing.

Also fix spacing issues around operators inside fractions and
groups.

**Output Changes**

* Differential d now renders as an operator with and rspace of 0. If
  inside fractions it also has an lspace of 0.
* First operators in groups now have an lspace of 0. This was true of
  all first operators in matricies. But now it applies to all
  operators in groups, unless it is a lone operator, in which case it
  has it by default.
* Spaces after a singleton group element no longer puts the element in
  an unessisary <mrow>.

Resolves: #53
@runarberg runarberg merged commit 0d2480b into main Dec 2, 2023
6 checks passed
@runarberg runarberg deleted the differential-spacing branch December 2, 2023 03:38
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.

Special case differentiation operator
1 participant