14

How can I write a partial derivative with an arrow on top of it (pointing to the left and right)? For instance:

enter image description here

I've tried to Google it, but couldn't find anything (probably because I'm not sure what keywords to use). Any help is much appreciated.

Hunter
  • 469

1 Answers1

16

One option using \overset:

\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}

\begin{document}

\[
\partial_0\quad \overset{\leftrightarrow}{\partial_0}
\]

\end{document}

enter image description here

Gonzalo Medina
  • 505,128
  • Ahhh perfect! Thank you. I will accept this answer (but for some reason I need to wait for 3 minutes before I can do that?). – Hunter Jan 19 '14 at 00:25
  • @Hunter You're not allowed to accept an answer "too soon", so that more people can contribute before you "select". It quite makes sense, just the error/hint messages that come with it are not perfect ;) – yo' Jan 19 '14 at 00:47
  • @tohecz Thanks for the clarification; that does make sense. – Hunter Jan 19 '14 at 00:48