I really like the general style of mathabx symbols, but I'm a bit turned off by the lack of vertical space between the 'vee' and the 'bar' in \veebar (on the left below). How might I construct an alternate symbol in the same style where there is some separation between the two (such as that on the right below)?

left: mathabx's standard veebar; right: a proposed veebar with separation


Here is one:

\usepackage{mathtools, amssymb}

\DeclareFontShape{U}{matha}{m}{n}{ <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12 }{}
\newcommand{\myveebar}{\mathbin{\vcenter{\hbox{$ \underline{\mkern-2.4mu{\myvee}\mkern-2.4mu} $}}}}


\[ K \myveebar A\]


enter image description here

| improve this answer | |

Here is another (does not scale in superscript):


% \newcommand{\veebaralt}{\:\stackanchor[-.22em]{$\vee$}{$-$}\:}



$123 \veebaralt 123$

$123 \veebar 123$


enter image description here

Edit: Added \: before and after the old command; added Steven B. Segletes' helpful answer.

| improve this answer | |
  • Nice, but the kerning is noticeably tighter than the regular \veebar (compare the distance from \veebaralt to the 3 with the distance from \veebar to the 1) – solisoc Aug 27 '18 at 12:49
  • You are right. I added the correct spacing (which is 4 mu). – Jasper Habicht Aug 27 '18 at 13:01
  • Rather than adding that spacing explicitly, it would make better sense to declare it to be \mathrel as in \newcommand{\veebaralt}{\mathrel{\ensurestackMath{\renewcommand\stacktype{S}\stackanchor[-.22em]{\vee}{-}}}} – Steven B. Segletes Aug 27 '18 at 13:05
  • Thanks. What does \renewcommand\stacktype{S} do in this context? – Jasper Habicht Aug 27 '18 at 13:08
  • 1
    If you want me to be notified of your comment, you need to add @StevenBSegletes to it (just saying). But to your question, that makes sure the stack type is set to Short rather than Long. Short is the default, but if the user had reset the default along the way, this will override the default. Change the S to L and see how the result changes... – Steven B. Segletes Aug 27 '18 at 13:23

I myself have just blindly hacked together a possible solution, with all credit going to egreg's answer at Dashed underline under a inequality symbol, from which it is adapted:


      \noalign{\vskip 0.25\ht\z@}
  \ifx#1\displaystyle 0.12\wd\z@\else
    \ifx#1\textstyle 0.12\wd\z@\else
      \ifx#1\scriptstyle 0.18\wd\z@\else
        \ifx#1\scriptscriptstyle 0.22\wd\z@\else



$A\vee A \veebar A\nveebar A$

$\scriptstyle A\vee A \veebar A \nveebar A$

$\scriptscriptstyle A \vee A \veebar A \nveebar A$


A demonstration of \vee, \veebar, and the newly-created \nveebar

| improve this answer | |

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.