Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 11 down vote accepted

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

share|improve this answer
    
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 at 0: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 ;) –  tohecz Jan 19 at 0:47
    
@tohecz Thanks for the clarification; that does make sense. –  Hunter Jan 19 at 0:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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