In LaTeX the symbol for material implication is produced by $\to$
, but for biconditional ?
3 Answers
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:
\iff
adds some extra space (fromfontmath.ltx
):\DeclareRobustCommand\iff{\;\Longleftrightarrow\;}
The example also shows some other arrow variants.
-
thanks.. but I use \biconditional and I have "Undefined control sequence"– mleAug 20, 2013 at 20:41
-
4@Soviet: Then you have missed the line
\let\biconditional\leftrightarrow
. Aug 20, 2013 at 20:44 -
-
-
1@joseville Package
amsmath
defines\implies
as\Longrightarrow
with some additional horizontal space (\;
) around the symbol:\newcommand{\implies}{\DOTSB\;\Longrightarrow\;}
Jan 22, 2022 at 7:37
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
-
The link you provided is now dead. If you have any other resource of the link then please update your answer. Jan 5, 2020 at 11:50
Double line:
\iff
(=\Leftrightarrow
) or\longLeftrightarrow
or\xLeftrightarrow
(extensible, load themathtools
package)
Single line:
\leftrightarrow
or\longleftrightarrow
or\xleftrightarrow
(extensible, load themathtools
package)
\iff
?