Videos
mathematical notation
You can switch to the Greek font and use the corresponding hat accent.
\documentclass{article}
\usepackage{textgreek}
\newcommand{\pihat}{{\textgreekfont\^\textpi}}
\begin{document}
\^a\pihat x
\end{document}
It's not really the same shape, though. If you want the same glyph, you have to go the hard way.
\documentclass{article}
\usepackage{textgreek}
\DeclareRobustCommand{\pihat}{%
\leavevmode
\vbox{%
\offinterlineskip
\ialign{\hfil##\hfil\cr\^{}\cr\noalign{\vskip-1ex}\textpi\cr}%
}%
}
\begin{document}
\^a\pihat x
\end{document}
An accent command (like \^) must be followed by the character to be accented, with only font assignments intervening. But the expansion of \textpi seems to be much more complex than that, so that when TeX finally "sees" the pi character, it cannot relate this to the accent command any more.
If you know the name of the font that contains the upright pi (say, \textgreekfont) and which character position is occupied by pi within that font (say, p), you could write \^{\textgreekfont p}.
So I watched a few tutorials on how to insert P-hat (the statistics math symbol) in excel and when I go to >Insert >symbol >symbol and this is what pops up screenshot. I have the option to edit the symbol list and here is the options to choose from Screen shot of list. Thank you so much anyone that can help me out with this newb question. If this has already been asked and I couldn't find it please direct me to the post. Have an awesome day!
