# how to have tilda and vector above a symbol [duplicate]

Is there a way to have symbol with a tilde and arrow stacked on top of each other? I tried $\vec \tilde{p}$ but it doesn't look good.

## marked as duplicate by Mico math-mode StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Jul 9 '16 at 14:03

• Try $\vec{\tilde{p}}$ – SAM Jul 9 '16 at 12:25
• another way using mathtools-package: $\overset{\tilde{\rightarrow}}{p}$ – naphaneal Jul 9 '16 at 12:35
• You should load the amsmath package and write $\vec{\tilde{p}}$. – Mico Jul 9 '16 at 14:04

The nicest, in my opinion, is obtained with a \widetilde and the esvect package. In most cases, we need to add some kerning:

\documentclass{article}%

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage[b]{esvect}

\begin{document}

$\vv{\!\widetilde p}\qquad\vec{\tilde p}\qquad \overset{\rightarrow}{\!\widetilde p}\qquad \overrightarrow{\!\widetilde p}$

\end{document}