I would like to produce a handful of symbols with the following descriptions:
- A subset (or rather
\subseteq
) symbol with the extra line replaced by a 'forward' arrow. - A similar symbol with a 'backward' arrow.
- Equal signs with the lower line replaced by forward or backward arrows.
Browsing the symbols list, I came across stix
symbols:
\subrarr
(and the related\suplarr
) which look like exactly the subset symbols I want, but have no reversed arrow variants\dashleftharpoon
and\dashrightharpoon
, (or indeed the\barleftharpoon
variants), but since the symbols I want relate to limits these are not what I'm looking for.
I tried making my own using boxes
\newcommand\subsetlim{\makebox[2\width]{\raisebox{0.5ex}{\scalebox{0.65}
{$\underleftarrow{\scalebox{1.5}{\makebox[0.95\width][r]{$\subset$}}}$}}}}
\newcommand\subsetcolim{\makebox[2\width]{\raisebox{0.5ex}{\scalebox{0.65}
{$\underrightarrow{\scalebox{1.5}{\makebox[0.95\width][r]{$\subset$}}}$}}}}
\newcommand\eqlim{\makebox[2\width]{\raisebox{0.6ex}{\scalebox{0.5}
{$\underleftarrow{\scalebox{2}{\makebox[\width][c]{\---}}}$}}}}
but the rescaling necessary to make the arrow line up nicely results in varied line thickness in the first case, and there seems to be an unavoidably large ugly gap in the second case, whatever symbol I use for the dash.
I have seen solutions to similar problems given in pgf commands, which is fine, but I have not yet come across a definitive guide for resolving this kind of problem; I came up with my solutions based on the basic 'boxes' info in the LaTeX WikiBooks, which I feel is inadequate (especially considering that this is their page on \hbox
, which I have seen used liberally in many custom typesetting constructions).
Once I've constructed my symbol, how do I ensure the surrounding spacing is correct (I know about the \mathop
, \mathbin
etc commands, but these rely on the symbol box being exactly the right size in the first place), or that the line widths consistent with the surrounding text/symbols?