2

I defined new check from the internet, and re defined hat with widehat using amsmath. But this compiles somewhat strange. My MWE is as follows:

\documentclass{article}

\usepackage{amsmath} \renewcommand{\hat}{\widehat} %%widecheck \DeclareFontFamily{U}{mathx}{} \DeclareFontShape{U}{mathx}{m}{n}{<-> mathx10}{} \DeclareSymbolFont{mathx}{U}{mathx}{m}{n} \DeclareMathAccent{\widehat}{0}{mathx}{"70} \DeclareMathAccent{\widecheck}{0}{mathx}{"71} \renewcommand{\check}{\widecheck}

\begin{document}

$\check{\hat{f}(-\xi)}(-x)$

\end{document}

And this compiles like:

enter image description here

How can I resolve this issue? Thank you.

Riemann
  • 121
  • Looks like it's caused by the same bug as https://tex.stackexchange.com/a/60253/250119 ■ https://tex.stackexchange.com/a/392968/250119 . Commenting out amsmath works, for one. (or putting the lines before \usepackage{amsmath} – user202729 Nov 18 '22 at 18:05

0 Answers0