Skip to content

Add an upright differential input to MathKeyboard #203

Description

@charlesroddie

Add MathKeyboardInput.Differential alongside PartialDifferential. Pressing it should insert an upright differential d represented as \mathrm{d}, not the italic variable d.

Acceptance criteria:

  • Add a distinct public MathKeyboardInput.Differential value.
  • MathKeyboard.KeyPress inserts an upright d atom and leaves the caret after it.
  • Serialization produces \mathrm{d} consistently.
  • Add keypress tests for the new input alone and in a representative expression such as \int f(x),\mathrm{d}x.
  • Expose the input through the sample/platform keyboard controls that enumerate MathKeyboardInput values.

Activity

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/EditorThe math editor, keyboard, cursor, or editing model.Type/EnhancementA concrete change to CSharpMath behavior or capability.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions