2

In latex text mode \^{} puts hat on characters but i need to put hat on greek letters in text mode. How can I put the symbol hat over a greek letter in text mode?

e7000
  • 21

2 Answers2

2

If you are thinking on textgreek package it generally will not work in math-mode except when you use special macros. My modest suggestion for to have Greek characters in text mode, you should use in mathematical mode, upgreek package. In particular I have used the commands

\hat and \widewat

to have a comparison.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{upgreek}
\begin{document}
$\hat{\upalpha}, \widehat{\upalpha}$
\end{document}
Sebastiano
  • 54,118
0

You should use the inline command to switch to math mode, such as $\hat{\tilde{a}}$ and continue with the text.

Hope this is helpful.