85

In LaTeX the symbol for material implication is produced by $\to$, but for biconditional ?

Mensch
  • 65,388
mle
  • 1,687
  • 3
  • 14
  • 21

3 Answers3

74

LaTeX defines \to as \rightarrow:

\let\to\rightarrow % fontmath.ltx

The other direction is \gets:

\let\gets\leftarrow

For \leftrightarrow you can define your own command, e.g. \biconditional:

\documentclass{article}
\let\biconditional\leftrightarrow
\begin{document}
\[ A \to B \biconditional C \gets D \]

\[ A \rightarrow B \leftrightarrow C \leftarrow D \]
\[ A \longrightarrow B \longleftrightarrow C \longleftarrow D \]

\[ A \Rightarrow B \Leftrightarrow C \Leftarrow D \]
\[ A \Longrightarrow B \Longleftrightarrow C \Longleftarrow D \]
\[ B \iff C \]
\end{document}

Result

Remarks:

  • \iff adds some extra space (from fontmath.ltx):

    \DeclareRobustCommand\iff{\;\Longleftrightarrow\;}
    
  • The example also shows some other arrow variants.

Heiko Oberdiek
  • 271,626
21

You can use \Leftrightarrow or \Longleftrightarrow

\documentclass{article}
\begin{document}
$ \Leftrightarrow \Longleftrightarrow $
\end{document}

enter image description here

You might want to also bookmark this: https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols

mvarela
  • 734
10

Double line:

  • \iff (= \Leftrightarrow) or
  • \longLeftrightarrow or
  • \xLeftrightarrow (extensible, load the mathtools package)

Single line:

  • \leftrightarrow or
  • \longleftrightarrow or
  • \xleftrightarrow (extensible, load the mathtools package)
ChrisS
  • 13,529
Bernard
  • 136
  • 2