[Tex/LaTex] Defining a command which makes a new symbol

symbols

Is there a way to define a new command which represents the function override symbol used in Event-B. There is a similar symbol \dsub that is just the triangle with the line that splits it. Thanks in advance.

enter image description here

Best Answer

At https://sourceforge.net/p/rodin-b-sharp/svn/16394/tree/trunk/Handbook/org.rodinp.handbook.feature/latex/plastex-bsymb.sty, they provide bsymb.sty and employ this definition

\documentclass{article}
\usepackage{amssymb}
\newcommand{\ovl}{\mathbin{\lhd\mkern-9mu-}} 
\begin{document}\Huge
$\ovl{A}$
\end{document}

enter image description here

According to this site, http://wiki.event-b.org/index.php/Rodin_Keyboard_User_Guide, there is a unicode symbol U+E103 , but I haven't yet found a font that supports it (I see some web reference to one called Brave Sans Mono that might support it, but haven't found the actual font yet).

The Event-B language is discussed in great detail at http://rodin.cs.ncl.ac.uk/deliverables/D7.pdf

Related Question