I'm looking for variations of the symbol \relbar
, or any other horizontal line that is about as along as a standard-length arrow.
In particular, I'd like to be able to add arrowheads, as in \leftarrow
, \rightarrow
, \leftrightarrow
.
I also wish to be able to add vertical bars, as in \leftfootline
from the MnSymbol
package.
Symbols for all of the above exist, but the problem is being able to add them in any combination. For instance, a rightarrow with a vertical bar on the right hand side. This yields 16 possible symbols in total.
Ideas, anyone?
Best Answer
One can use TikZ; this is a prototype with a perhaps convenient syntax where the argument to
\erelbar
consists of two digits (0, 1, 2, or 3):The first digit refers to the left side, the second one to the right side.