<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--> <!--You can feel free to delete the sections that do not apply.--> ### Bug report **Bug summary** LaTeX parser error with `\overset` symbol <!--A short 1-2 sentences that succinctly describes the bug--> **Code for reproduction** <!--A minimum code snippet required to reproduce the bug. Please make sure to minimize the number of dependencies required, and provide any necessary plotted data. Avoid using threads, as Matplotlib is (explicitly) not thread-safe.--> ```python import matplotlib.pyplot as plt plt.text(0, 0, r"$x \overset{f}{\rightarrow} y$") ``` **Actual outcome** <!--The output produced by the above code, which may be a screenshot, console output, etc.--> ``` ValueError: x \overset{f}\rightarrow y ^ Unknown symbol: \overset, found '\' (at char 2), (line:1, col:3) ``` **Expected outcome** <!--A description of the expected outcome from the code snippet--> <!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--> overset: http://tex.wikidot.com/snippets:overset-and-underset **Matplotlib version** <!--Please specify your platform and versions of the relevant libraries you are using:--> * 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) <!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--> <!--If you installed from conda, please specify which channel you used if not the default--> `matplotlib` installed with `pip`.
Activity
QuLogic commentedon Jan 18, 2021
Fixed by #18916.