In LaTeX the symbol for material implication is produced by $\to$, but for biconditional ?
Asked
Active
Viewed 3.4e+01k times
85
3 Answers
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}
Remarks:
\iffadds some extra space (fromfontmath.ltx):\DeclareRobustCommand\iff{\;\Longleftrightarrow\;}The example also shows some other arrow variants.
Heiko Oberdiek
- 271,626
-
-
4@Soviet: Then you have missed the line
\let\biconditional\leftrightarrow. – Heiko Oberdiek Aug 20 '13 at 20:44 -
-
-
1@joseville Package
amsmathdefines\impliesas\Longrightarrowwith some additional horizontal space (\;) around the symbol:\newcommand{\implies}{\DOTSB\;\Longrightarrow\;}– Heiko Oberdiek Jan 22 '22 at 07:37
21
You can use \Leftrightarrow or \Longleftrightarrow
\documentclass{article}
\begin{document}
$ \Leftrightarrow \Longleftrightarrow $
\end{document}

You might want to also bookmark this: https://oeis.org/wiki/List_of_LaTeX_mathematical_symbols
mvarela
- 734
10
Double line:
\iff(=\Leftrightarrow) or\longLeftrightarrowor\xLeftrightarrow(extensible, load themathtoolspackage)
Single line:
\leftrightarrowor\longleftrightarrowor\xleftrightarrow(extensible, load themathtoolspackage)

\iff? – Ludovic C. Aug 20 '13 at 20:28