0

enter image description here

Whenever I try to do this i get them off to the side. when i am working with simple characters such as just an x and a y as my superscripts and subscripts it works but not when i am using complex ones

2
2

I think it's because you use \hat{e_x} instead of \hat {e}_x.

\documentclass{article}

\begin{document}

    $\mathbf{r} = 2\hat{e}_x + \hat{e}_y$

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.