31

I am defining a new relation in one of my new papers. I want to use the following symbol, because it conveys the meaning of my relation. Is there such a symbol in LaTex ? It is very similar to \leq and \preceq. If not, is there a way to add new symbols by hacking the back-end of LaTeX.

enter image description here

3 Answers3

40

Here's an attempt (better than the first one).

\documentclass{article}
\usepackage{graphicx}
\newcommand{\xle}{%
  \mathrel{\vphantom{\le}%
    \smash{\vcenter{\hbox{\oalign{%
      \noalign{\kern.2ex}
      \rotatebox[origin=l]{25}{$\scriptstyle\to$}\cr
      \noalign{\kern-.95ex}
      \kern-.03em
      \rotatebox[origin=l]{-25}{$\scriptstyle\to$}\cr
      \noalign{\kern.35ex}
      \smash{$-$}\cr
    }}}}%
  }
}

\begin{document}
\fbox{$A\xle B$}\fbox{$A \le C$}

\end{document}

enter image description here

egreg
  • 1,121,712
28

You can draw it in TikZ and play with its shape:

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{arrows}

\def\newrel{%
    \ensuremath{%
        \mathrel{%
            \begin{tikzpicture}[baseline=-0.8ex]
                \draw [line width=0.06ex, line join=round, stealth'-stealth']
                    (1.5ex,0.67ex) -- (0, 0) -- (1.5ex, -0.67ex);
                \draw [line width=0.06ex, line cap=round]
                    (0.03ex, -1ex) -- (1.47ex, -1ex);
            \end{tikzpicture}%
        }%
    }%
}

\begin{document}

normal\newrel text, $math \newrel mode$

\Large Large\newrel text, $math \newrel mode$

\end{document}

compiled code

3

Here is a start:

\newcommand\ltarreq{\mathrel{\raise 2pt\rlap{\rotatebox{20}{$\scriptstyle\rightarrow$}}%
    \raise 2.5pt\rlap{\rotatebox{-20}{$\scriptstyle\rightarrow$}}%
    \lower 2pt\hbox{$-$}}}

It's a bit ugly, but it shows you how to do what you want (almost).