7

Is there a way to write the symbol "lower or equal" with a dot directly after it? Just like \lessdot but with the horizontal line added. Would be awesome if someone can tell me. I didn't find it after a long search.

14
\documentclass{article}
\usepackage{amssymb,stackengine}
\newcommand\ledot{\mathrel{\ensurestackMath{%
  \stackengine{-.5ex}{\lessdot}{-}{U}{c}{F}{F}{S}}}}
\begin{document}
$a\ledot b$
\end{document}

enter image description here

If you need it across mathstyles:

\documentclass{article}
\usepackage{amssymb,stackengine,scalerel}
\newcommand\ledot{\mathrel{\ThisStyle{\ensurestackMath{%
  \stackengine{-.5\LMex}{\SavedStyle\lessdot}{\SavedStyle-}{U}{c}{F}{F}{S}}}}}
\begin{document}
$a\ledot b$

$\scriptstyle a\ledot b$

$\scriptscriptstyle a\ledot b$
\end{document}

enter image description here

ADDENDUM

Comments from the OP indicate a desire to add a subscript to the symbol. The above formulations have too much depth to make that work well directly, so here is an alternative in which the underset is \smashed and the underset depth is adjusted a bit:

\documentclass{article}
\usepackage{amssymb,stackengine,scalerel}
\newcommand\ledot{\mathrel{\ThisStyle{\ensurestackMath{%
  \stackengine{.8\LMex}{\SavedStyle\lessdot}{\smash{\SavedStyle-}}%
  {U}{c}{F}{F}{S}}}}}
\begin{document}
$a\ledot_{\!P} b$

$\scriptstyle a\ledot_{\!P} b$

$\scriptscriptstyle a\ledot_{\!P} b$
\end{document}

enter image description here

7
  • Thank you very much! I didn't think anyone could actually tell me how you get this symbol.
    – Kegorus
    Mar 30 '20 at 12:25
  • @Kegorus you are welcome. Note you can change the value of -.5\LMex to adjust the amount of underset between < and -, if you prefer a narrower or wider gap. Mar 30 '20 at 12:27
  • This made it even better, thanks! And one more thing, would it be possible to add a "P" (for poset P) as index? Like \Ieq_P with dot?
    – Kegorus
    Mar 30 '20 at 12:31
  • @Kegorus Do you mean for the P to be below the symbol, or to the lower right? Also, what is to prevent you from doing exactly what you suggest, namely \ledot_P? Mar 30 '20 at 12:36
  • 1
    That's great now, thank you very much!
    – Kegorus
    Mar 30 '20 at 13:35
9

There is also a specific symbol \leqslantdot with MnSymbol package, or fdsymbol.

enter image description here

Edit: We observe that the \leqslantdot with MnSymbol not changes the CM fonts.

enter image description here

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{MnSymbol}
\begin{document}
$f(a,b)\leqslantdot g(b,a)$
\end{document}

While if you use fdsymbol, you have not an exact dot but it is similar to the square with a zoom and there is a change of the font of the rounded brackets (for example).

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{fdsymbol}
\begin{document}
$f(a,b)\leqslantdot g(b,a)$
\end{document}

enter image description here

7
  • 1
    Thank you too! I will use the horizontal line version though.
    – Kegorus
    Mar 30 '20 at 12:26
  • @Kegorus No problem :-) the choice is yours :-)
    – Sebastiano
    Mar 30 '20 at 12:32
  • 1
    I'm suddenly reminded of the pigpen cipher.
    – Kaz
    Mar 31 '20 at 3:58
  • @Kaz What is? I have not understood your comment.
    – Sebastiano
    Mar 31 '20 at 23:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.