Skip to content

Undefined control sequence: \cdotp when including middle dot in text mode #3641

@bluebear94

Description

@bluebear94

When U+00B7 MIDDLE DOT is included in text mode, KaTeX complains about \cdotp being undefined.

(La)TeX code:

a = \text{c·}

Expected behavior:
The equation should render as ‘a = c·’, as in this screenshot (from QuickLaTeX):

image

Environment:

  • KaTeX Version: 0.15.6 (both in the demo and with a locally installed copy)
  • Device: Desktop
  • OS: Linux
  • Browser: Firefox
  • Version: 100.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions