I know that my title was not very clear, but I do not know of any other way to describe this. I want to be able to write the following, and be able to change what letters are below the arrow:

enter image description here

Note: I have never used LaTeX, but the text editor that I am using supports it, and it seems to be my best bet. However if there is a better way to do it, I am not committed to LaTeX in any way.

marked as duplicate by Werner, Stefan Pinnow, Moriambar, Claudio Fiandrino, Kurt Jun 20 '17 at 19:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I'm not sure what you mean when you say that your text editor supports LaTeX. It may have syntax highlighting and some buttons for running the compiler, but you will still need to install a TeX distribution (MiKTeX or TeXLive). – Ian Thompson Jun 20 '17 at 18:34
  • I am using typora.io and it says that this is the way I am supposed to write out math equations, that is the extent of my knowledge of LaTex. – zoecarver Jun 20 '17 at 18:35
  • OK, I see. You should be aware that it probably doesn't support everything in LaTeX. Most systems of this type only support a subset of its features. – Ian Thompson Jun 20 '17 at 18:38
  • @lan Thompson, Thanks for the advice! However I really don't need it for much other than taking simple notes on geometry. – zoecarver Jun 20 '17 at 18:43

You can use the \overleftrightarrow command from the amsmath package.


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