2

I have question please about writing under arrows

I know $\overleftarrow{A}$ draw a directed arrow to the left, similarly $\overrightarrow{A}$ draws a directed arrow to the right, but I can't find a command like $\overarrow{A}$ to draw left-right arrow.

Anyone can help me in this!

1

3 Answers 3

5

Without any extra package: $\stackrel{A}{\leftrightarrow}$

With amsmath: $\underleftrightarrow{A}$

1
  • This works! Thank you very much! Dec 25, 2020 at 14:53
4

Do you mean this?

\documentclass[12pt, letterpaper]{article}
\usepackage{mathtools}
\begin{document}

This is for test $\xleftrightarrow{A}$

\end{document}

enter image description here

2
  • I need A be below the arrow, please. Dec 25, 2020 at 14:50
  • $\xleftrightarrow[B]{}$ ...
    – Zarko
    Dec 25, 2020 at 17:00
2

There is also a useless package called halloweenmath to write underleftright arrow. Here there is a table where you can see that the lenght of the arrow is the same of the character.

enter image description here

\documentclass[a4paper,12pt]{article}
\usepackage{halloweenmath}
\usepackage{booktabs}

\begin{document}
Your desidered code: $\underscriptleftrightarrow{A}$.

\begin{table}[h]
\begin{tabular}{@{}|l|l|@{}}
\toprule
$\overscriptleftarrow{A}$      & $\underscriptleftarrow{A}$      \\ \midrule
$\overscriptleftrightarrow{A}$ & $\underscriptleftrightarrow{A}$ \\ \midrule
$\overscriptrightarrow{A}$     & $\underscriptrightarrow{A}$     \\ \bottomrule
\end{tabular}
\end{table}


\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .