Math & ScienceFlexible Arrow Size

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Flexible Arrow Size

Post by pallav »

How to increase the size of arrow if (and only if) symbol?

Code: Select all

$a\overset{z_1=z_2+z+3+z_4}\Longleftrightarrow b$

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Flexible Arrow Size

Post by Stefan Kottwitz »

The mathtools package provides further extensible arrows, such as \xLeftrightarrow:

Code: Select all

\documentclass{article}
\usepackage{mathtools}

\begin{document}
$a \xLeftrightarrow{z_1=z_2+z+3+z_4} b$
\end{document}

Stefan
Attachments
arrow.png
arrow.png (2.71 KiB) Viewed 4155 times
LaTeX.org admin
Post Reply