Skip to content

Add \underline to mathtext? #14235

Closed

Description

@ewohnlich

Feature request

\underline is a valid LaTeX command but is not available in mathtext as documented here https://matplotlib.org/users/mathtext.html#mathtext-tutorial. My guess is that this is not common in math formulas but I have a user that does have a need for it in their formulas. I realize I can do plt.rc('text', usetex=True) to pass off the entirety of LaTeX rendering but it would be nice to have this available within matplotlib. Any arguments for/against?

Matplotlib version

  • Operating system: Windows 10
  • Matplotlib version: 1.4.3
  • Matplotlib backend (print(matplotlib.get_backend())): TkAgg
  • Python version: 2.7.13
  • Jupyter version (if applicable):
  • Other libraries:

Activity

  1. tacaswell commented on May 17, 2019

    @tacaswell
    Member

    The other text options (italic, bold, etc) are handled by selecting the correct glyphs from the font file so the implementation would be a bit different.

    It looks like we already have support for \overline, suspect the implementation would be that, but upside down?

    Any interest in taking a crack at this @ewohnlich ?

  2. added this to the milestone on May 17, 2019
  3. wesbarnett commented on Nov 6, 2019

    @wesbarnett

    I'm working on this issue.

  4. kathreen8 commented on Jul 1, 2021

    @kathreen8

    Bumping this issue since it has been awhile. This feature is still very much wanted.

  5. wesbarnett commented on Oct 7, 2021

    @wesbarnett

    I've re-opened #15624 which implements this. Thanks!

  6. modified the milestones: , needs sorting on Oct 6, 2022
  7. github-actions commented on Oct 11, 2023

    @github-actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  8. added
    keepItems to be ignored by the “Stale” Github Action
    and removed
    status: inactiveMarked by the “Stale” Github Action
    on Oct 12, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions