Skip to content

Replace \mathcircled by \textcircled #8862

Closed

Description

@anntzer

Follow-up to #7710: mathtext provides \mathcircled, which is not a real latex command, causing various issues. Instead of trying to invent our own dialect of latex, mathtext should be changed to parse \textcircled, which is a builtin latex command. Possibly \mathcircled could then be deprecated.

(Once this is fixed, #7710 should be reopened and merged.)

Edit: note, though, that \mathcircled circles each letter separately, whereas \textcircled draws a single circle. In fact \mathcircled is implemented as using the "enclosed alphanumerics" unicode block (https://en.wikipedia.org/wiki/Enclosed_Alphanumerics) (see mathtext_data.py) and was introduced in a567601 specifically for this purpose. In these conditions, I'm not sure there's anything we can do about them.

Activity

  1. added this to the milestone on Jul 11, 2017
  2. modified the milestones: needs sorting, v3.1.0 on Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions