Making a (bad) custom sqrt symbol

math-fontsmath-modesqrt

For puerile personal amusement, I'd like to make a replacement \sqrt macro that typesets the radical/surd symbols appallingly, to match a plotting package with… interesting aesthetics:

Bad root

Is it possible to do this sort of override in pure TeX (possibly including TikZ), without needing to make alternative math-font glyphs? Ideally able to work for the usual range of content sizes, and hints for also messing up the \hat would be much appreciated!

Best Answer

No Tikz (or any driver specific \specials) required:-)

enter image description here

\documentclass{article}

\begin{document}

\begin{picture}(100,100)
  
\thicklines
\put(40,50){\line(-1,6){3}}
\thinlines
\put(40,50){\line(1,6){5}}
\put(45,80){\line(1,0){25}}
\put(57,77){\line(1,-1){10}}
\put(57,77){\line(-1,-1){10}}
\put(50,50){\Huge\textsf{X}}
\end{picture}
\end{document}
Related Question