Skip to content

LaTeX overset: unknown symbol #18241

@maxdevblock

Description

@maxdevblock

Bug report

Bug summary

LaTeX parser error with \overset symbol

Code for reproduction

import matplotlib.pyplot as plt
plt.text(0, 0, r"$x \overset{f}{\rightarrow} y$")

Actual outcome

ValueError: 
x \overset{f}\rightarrow y
  ^
Unknown symbol: \overset, found '\'  (at char 2), (line:1, col:3)

Expected outcome

overset: http://tex.wikidot.com/snippets:overset-and-underset

Matplotlib version

  • Operating system: macOS 10.15.5
  • Matplotlib version: 3.3.0
  • Matplotlib backend (print(matplotlib.get_backend())): module://ipykernel.pylab.backend_inline
  • Python version: Python 3.7.7
  • Jupyter version: 6.0.3 (IPython 7.13.0)

matplotlib installed with pip.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy