How can I construct a nicer veebar?
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
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)?
symbols
add a comment |Â
up vote
4
down vote
favorite
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)?
symbols
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
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)?
symbols
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)?
symbols
asked Aug 27 at 10:36
jste3993
515
515
add a comment |Â
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
4
down vote
Here is one:
documentclassarticle
usepackagemathtools, amssymb
DeclareFontFamilyUmathahyphencharfont45
DeclareFontShapeUmathamn <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12
DeclareSymbolFontmathaUmathamn
DeclareMathSymbolmyveemathbinmatha"5F
newcommandmyveebarmathbinvcenterhbox$ underlinemkern-2.4mumyveemkern-2.4mu $
begindocument
[ K myveebar A]
enddocument
add a comment |Â
up vote
3
down vote
Here is another (does not scale in superscript):
documentclass[border=1pt]standalone
usepackagestackengine,mathabx
% newcommandveebaralt:stackanchor[-.22em]$vee$$-$:
newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
begindocument
$123 veebaralt 123$
$123 veebar 123$
enddocument
Edit: Added :
before and after the old command; added Steven B. Segletes' helpful answer.
Nice, but the kerning is noticeably tighter than the regularveebar
(compare the distance fromveebaralt
to the 3 with the distance fromveebar
to the 1)
– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to bemathrel
as innewcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What doesrenewcommandstacktypeS
do in this context?
– Jasper Habicht
Aug 27 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 toS
hort rather thanL
ong. Short is the default, but if the user had reset the default along the way, this will override the default. Change theS
toL
and see how the result changes...
– Steven B. Segletes
Aug 27 at 13:23
add a comment |Â
up vote
3
down vote
accepted
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:
documentclassarticle
usepackagepict2e,picture
usepackagemathabx
makeatletter
newcommandbarredeq[1]mathrelvphantomveebarmathpalettebarred@eq#1
newcommandbarred@eq[2]%
vcenter%
offinterlineskip
roundcap
linethickness0.6dimexprvariable@rule#1relax%
sboxz@$m@th#1#2$%
setlengthunitlengthdimexpr(wdz@-2dimexprbarred@eq@kern#1)/10%
sboxtw@beginpicture(1,0)Line(0,0)(10,0)endpicture%
ialign%
##cr
copyz@cr
noalignvskip 0.25htz@
kernbarred@eq@kern#1%
copytw@
kernbarred@eq@kern#1%
cr
%
%
newcommandbarred@eq@kern[1]%
ifx#1displaystyle 0.12wdz@else
ifx#1textstyle 0.12wdz@else
ifx#1scriptstyle 0.18wdz@else
ifx#1scriptscriptstyle 0.22wdz@else
0.16wdz@
fifififi
newcommandvariable@rule[1]%
fontdimen8
ifx#1displaystyletextfont3else
ifx#1textstyletextfont3else
ifx#1scriptstylescriptfont3else
scriptscriptfont3relax
fififi
makeatother
DeclareRobustCommandnveebarbarredeqvee
begindocument
$Avee A veebar Anveebar A$
$scriptstyle Avee A veebar A nveebar A$
$scriptscriptstyle A vee A veebar A nveebar A$
enddocument
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
Here is one:
documentclassarticle
usepackagemathtools, amssymb
DeclareFontFamilyUmathahyphencharfont45
DeclareFontShapeUmathamn <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12
DeclareSymbolFontmathaUmathamn
DeclareMathSymbolmyveemathbinmatha"5F
newcommandmyveebarmathbinvcenterhbox$ underlinemkern-2.4mumyveemkern-2.4mu $
begindocument
[ K myveebar A]
enddocument
add a comment |Â
up vote
4
down vote
Here is one:
documentclassarticle
usepackagemathtools, amssymb
DeclareFontFamilyUmathahyphencharfont45
DeclareFontShapeUmathamn <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12
DeclareSymbolFontmathaUmathamn
DeclareMathSymbolmyveemathbinmatha"5F
newcommandmyveebarmathbinvcenterhbox$ underlinemkern-2.4mumyveemkern-2.4mu $
begindocument
[ K myveebar A]
enddocument
add a comment |Â
up vote
4
down vote
up vote
4
down vote
Here is one:
documentclassarticle
usepackagemathtools, amssymb
DeclareFontFamilyUmathahyphencharfont45
DeclareFontShapeUmathamn <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12
DeclareSymbolFontmathaUmathamn
DeclareMathSymbolmyveemathbinmatha"5F
newcommandmyveebarmathbinvcenterhbox$ underlinemkern-2.4mumyveemkern-2.4mu $
begindocument
[ K myveebar A]
enddocument
Here is one:
documentclassarticle
usepackagemathtools, amssymb
DeclareFontFamilyUmathahyphencharfont45
DeclareFontShapeUmathamn <-6> matha5 <6-7> matha6 <7-8>
matha7 <8-9> matha8 <9-10> matha9 <10-12> matha10 <12-> matha12
DeclareSymbolFontmathaUmathamn
DeclareMathSymbolmyveemathbinmatha"5F
newcommandmyveebarmathbinvcenterhbox$ underlinemkern-2.4mumyveemkern-2.4mu $
begindocument
[ K myveebar A]
enddocument
answered Aug 27 at 11:41
Bernard
155k763189
155k763189
add a comment |Â
add a comment |Â
up vote
3
down vote
Here is another (does not scale in superscript):
documentclass[border=1pt]standalone
usepackagestackengine,mathabx
% newcommandveebaralt:stackanchor[-.22em]$vee$$-$:
newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
begindocument
$123 veebaralt 123$
$123 veebar 123$
enddocument
Edit: Added :
before and after the old command; added Steven B. Segletes' helpful answer.
Nice, but the kerning is noticeably tighter than the regularveebar
(compare the distance fromveebaralt
to the 3 with the distance fromveebar
to the 1)
– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to bemathrel
as innewcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What doesrenewcommandstacktypeS
do in this context?
– Jasper Habicht
Aug 27 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 toS
hort rather thanL
ong. Short is the default, but if the user had reset the default along the way, this will override the default. Change theS
toL
and see how the result changes...
– Steven B. Segletes
Aug 27 at 13:23
add a comment |Â
up vote
3
down vote
Here is another (does not scale in superscript):
documentclass[border=1pt]standalone
usepackagestackengine,mathabx
% newcommandveebaralt:stackanchor[-.22em]$vee$$-$:
newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
begindocument
$123 veebaralt 123$
$123 veebar 123$
enddocument
Edit: Added :
before and after the old command; added Steven B. Segletes' helpful answer.
Nice, but the kerning is noticeably tighter than the regularveebar
(compare the distance fromveebaralt
to the 3 with the distance fromveebar
to the 1)
– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to bemathrel
as innewcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What doesrenewcommandstacktypeS
do in this context?
– Jasper Habicht
Aug 27 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 toS
hort rather thanL
ong. Short is the default, but if the user had reset the default along the way, this will override the default. Change theS
toL
and see how the result changes...
– Steven B. Segletes
Aug 27 at 13:23
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Here is another (does not scale in superscript):
documentclass[border=1pt]standalone
usepackagestackengine,mathabx
% newcommandveebaralt:stackanchor[-.22em]$vee$$-$:
newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
begindocument
$123 veebaralt 123$
$123 veebar 123$
enddocument
Edit: Added :
before and after the old command; added Steven B. Segletes' helpful answer.
Here is another (does not scale in superscript):
documentclass[border=1pt]standalone
usepackagestackengine,mathabx
% newcommandveebaralt:stackanchor[-.22em]$vee$$-$:
newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
begindocument
$123 veebaralt 123$
$123 veebar 123$
enddocument
Edit: Added :
before and after the old command; added Steven B. Segletes' helpful answer.
edited Aug 27 at 13:20
answered Aug 27 at 11:49


Jasper Habicht
5,18111033
5,18111033
Nice, but the kerning is noticeably tighter than the regularveebar
(compare the distance fromveebaralt
to the 3 with the distance fromveebar
to the 1)
– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to bemathrel
as innewcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What doesrenewcommandstacktypeS
do in this context?
– Jasper Habicht
Aug 27 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 toS
hort rather thanL
ong. Short is the default, but if the user had reset the default along the way, this will override the default. Change theS
toL
and see how the result changes...
– Steven B. Segletes
Aug 27 at 13:23
add a comment |Â
Nice, but the kerning is noticeably tighter than the regularveebar
(compare the distance fromveebaralt
to the 3 with the distance fromveebar
to the 1)
– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to bemathrel
as innewcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What doesrenewcommandstacktypeS
do in this context?
– Jasper Habicht
Aug 27 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 toS
hort rather thanL
ong. Short is the default, but if the user had reset the default along the way, this will override the default. Change theS
toL
and see how the result changes...
– Steven B. Segletes
Aug 27 at 13:23
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)– jste3993
Aug 27 at 12:49
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)– jste3993
Aug 27 at 12:49
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
You are right. I added the correct spacing (which is 4 mu).
– Jasper Habicht
Aug 27 at 13:01
Rather than adding that spacing explicitly, it would make better sense to declare it to be
mathrel
as in newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Rather than adding that spacing explicitly, it would make better sense to declare it to be
mathrel
as in newcommandveebaraltmathrelensurestackMathrenewcommandstacktypeSstackanchor[-.22em]vee-
– Steven B. Segletes
Aug 27 at 13:05
Thanks. What does
renewcommandstacktypeS
do in this context?– Jasper Habicht
Aug 27 at 13:08
Thanks. What does
renewcommandstacktypeS
do in this context?– Jasper Habicht
Aug 27 at 13:08
1
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
S
hort rather than L
ong. 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 at 13:23
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
S
hort rather than L
ong. 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 at 13:23
add a comment |Â
up vote
3
down vote
accepted
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:
documentclassarticle
usepackagepict2e,picture
usepackagemathabx
makeatletter
newcommandbarredeq[1]mathrelvphantomveebarmathpalettebarred@eq#1
newcommandbarred@eq[2]%
vcenter%
offinterlineskip
roundcap
linethickness0.6dimexprvariable@rule#1relax%
sboxz@$m@th#1#2$%
setlengthunitlengthdimexpr(wdz@-2dimexprbarred@eq@kern#1)/10%
sboxtw@beginpicture(1,0)Line(0,0)(10,0)endpicture%
ialign%
##cr
copyz@cr
noalignvskip 0.25htz@
kernbarred@eq@kern#1%
copytw@
kernbarred@eq@kern#1%
cr
%
%
newcommandbarred@eq@kern[1]%
ifx#1displaystyle 0.12wdz@else
ifx#1textstyle 0.12wdz@else
ifx#1scriptstyle 0.18wdz@else
ifx#1scriptscriptstyle 0.22wdz@else
0.16wdz@
fifififi
newcommandvariable@rule[1]%
fontdimen8
ifx#1displaystyletextfont3else
ifx#1textstyletextfont3else
ifx#1scriptstylescriptfont3else
scriptscriptfont3relax
fififi
makeatother
DeclareRobustCommandnveebarbarredeqvee
begindocument
$Avee A veebar Anveebar A$
$scriptstyle Avee A veebar A nveebar A$
$scriptscriptstyle A vee A veebar A nveebar A$
enddocument
add a comment |Â
up vote
3
down vote
accepted
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:
documentclassarticle
usepackagepict2e,picture
usepackagemathabx
makeatletter
newcommandbarredeq[1]mathrelvphantomveebarmathpalettebarred@eq#1
newcommandbarred@eq[2]%
vcenter%
offinterlineskip
roundcap
linethickness0.6dimexprvariable@rule#1relax%
sboxz@$m@th#1#2$%
setlengthunitlengthdimexpr(wdz@-2dimexprbarred@eq@kern#1)/10%
sboxtw@beginpicture(1,0)Line(0,0)(10,0)endpicture%
ialign%
##cr
copyz@cr
noalignvskip 0.25htz@
kernbarred@eq@kern#1%
copytw@
kernbarred@eq@kern#1%
cr
%
%
newcommandbarred@eq@kern[1]%
ifx#1displaystyle 0.12wdz@else
ifx#1textstyle 0.12wdz@else
ifx#1scriptstyle 0.18wdz@else
ifx#1scriptscriptstyle 0.22wdz@else
0.16wdz@
fifififi
newcommandvariable@rule[1]%
fontdimen8
ifx#1displaystyletextfont3else
ifx#1textstyletextfont3else
ifx#1scriptstylescriptfont3else
scriptscriptfont3relax
fififi
makeatother
DeclareRobustCommandnveebarbarredeqvee
begindocument
$Avee A veebar Anveebar A$
$scriptstyle Avee A veebar A nveebar A$
$scriptscriptstyle A vee A veebar A nveebar A$
enddocument
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
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:
documentclassarticle
usepackagepict2e,picture
usepackagemathabx
makeatletter
newcommandbarredeq[1]mathrelvphantomveebarmathpalettebarred@eq#1
newcommandbarred@eq[2]%
vcenter%
offinterlineskip
roundcap
linethickness0.6dimexprvariable@rule#1relax%
sboxz@$m@th#1#2$%
setlengthunitlengthdimexpr(wdz@-2dimexprbarred@eq@kern#1)/10%
sboxtw@beginpicture(1,0)Line(0,0)(10,0)endpicture%
ialign%
##cr
copyz@cr
noalignvskip 0.25htz@
kernbarred@eq@kern#1%
copytw@
kernbarred@eq@kern#1%
cr
%
%
newcommandbarred@eq@kern[1]%
ifx#1displaystyle 0.12wdz@else
ifx#1textstyle 0.12wdz@else
ifx#1scriptstyle 0.18wdz@else
ifx#1scriptscriptstyle 0.22wdz@else
0.16wdz@
fifififi
newcommandvariable@rule[1]%
fontdimen8
ifx#1displaystyletextfont3else
ifx#1textstyletextfont3else
ifx#1scriptstylescriptfont3else
scriptscriptfont3relax
fififi
makeatother
DeclareRobustCommandnveebarbarredeqvee
begindocument
$Avee A veebar Anveebar A$
$scriptstyle Avee A veebar A nveebar A$
$scriptscriptstyle A vee A veebar A nveebar A$
enddocument
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:
documentclassarticle
usepackagepict2e,picture
usepackagemathabx
makeatletter
newcommandbarredeq[1]mathrelvphantomveebarmathpalettebarred@eq#1
newcommandbarred@eq[2]%
vcenter%
offinterlineskip
roundcap
linethickness0.6dimexprvariable@rule#1relax%
sboxz@$m@th#1#2$%
setlengthunitlengthdimexpr(wdz@-2dimexprbarred@eq@kern#1)/10%
sboxtw@beginpicture(1,0)Line(0,0)(10,0)endpicture%
ialign%
##cr
copyz@cr
noalignvskip 0.25htz@
kernbarred@eq@kern#1%
copytw@
kernbarred@eq@kern#1%
cr
%
%
newcommandbarred@eq@kern[1]%
ifx#1displaystyle 0.12wdz@else
ifx#1textstyle 0.12wdz@else
ifx#1scriptstyle 0.18wdz@else
ifx#1scriptscriptstyle 0.22wdz@else
0.16wdz@
fifififi
newcommandvariable@rule[1]%
fontdimen8
ifx#1displaystyletextfont3else
ifx#1textstyletextfont3else
ifx#1scriptstylescriptfont3else
scriptscriptfont3relax
fififi
makeatother
DeclareRobustCommandnveebarbarredeqvee
begindocument
$Avee A veebar Anveebar A$
$scriptstyle Avee A veebar A nveebar A$
$scriptscriptstyle A vee A veebar A nveebar A$
enddocument
edited Aug 29 at 12:03
answered Aug 27 at 13:39
jste3993
515
515
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f447947%2fhow-can-i-construct-a-nicer-veebar%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password