Logic operators in LaTeX? (XOR?)
When I google this, it seems that XOR
is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?
symbols
add a comment |
When I google this, it seems that XOR
is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?
symbols
2
You probably need to load some package. However,symbols
does not listxor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.
– Caramdir
Oct 9 '10 at 4:07
1
Shouldn't you accept A T's answer instead of TH.'s? Sinceoplus
is clearly superior tomathbin{oplus}
ornewcommand*xor{mathbin{oplus}}
.
– Eric
Feb 18 '16 at 7:51
add a comment |
When I google this, it seems that XOR
is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?
symbols
When I google this, it seems that XOR
is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?
symbols
symbols
edited Oct 9 '10 at 4:10
TH.
47.4k10129197
47.4k10129197
asked Oct 9 '10 at 3:51
whatnow
2
You probably need to load some package. However,symbols
does not listxor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.
– Caramdir
Oct 9 '10 at 4:07
1
Shouldn't you accept A T's answer instead of TH.'s? Sinceoplus
is clearly superior tomathbin{oplus}
ornewcommand*xor{mathbin{oplus}}
.
– Eric
Feb 18 '16 at 7:51
add a comment |
2
You probably need to load some package. However,symbols
does not listxor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.
– Caramdir
Oct 9 '10 at 4:07
1
Shouldn't you accept A T's answer instead of TH.'s? Sinceoplus
is clearly superior tomathbin{oplus}
ornewcommand*xor{mathbin{oplus}}
.
– Eric
Feb 18 '16 at 7:51
2
2
You probably need to load some package. However,
symbols
does not list xor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.– Caramdir
Oct 9 '10 at 4:07
You probably need to load some package. However,
symbols
does not list xor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.– Caramdir
Oct 9 '10 at 4:07
1
1
Shouldn't you accept A T's answer instead of TH.'s? Since
oplus
is clearly superior to mathbin{oplus}
or newcommand*xor{mathbin{oplus}}
.– Eric
Feb 18 '16 at 7:51
Shouldn't you accept A T's answer instead of TH.'s? Since
oplus
is clearly superior to mathbin{oplus}
or newcommand*xor{mathbin{oplus}}
.– Eric
Feb 18 '16 at 7:51
add a comment |
6 Answers
6
active
oldest
votes
How about newcommand*xor{mathbin{oplus}}
?
Edit: As everybody has pointed out, the mathbin
is unnecessary. I can't delete the accepted answer, sorry.
16
I think themathbin
isn't strictly necessary becauseoplus
is already a binary operator.
– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
add a comment |
oplus
worked for me :)
I found this in List of logic symbols :P
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
add a comment |
What you're looking for is veebar
in amssymb
.
usepackage{amssymb}
$veebar$
If you like, you can create a new command lxor
, named to match lor
and land
:
providecommand{lxor}{veebar}
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
add a comment |
I found a bit lame solution, but it works for me. Just do:
underline{vee}
5
what aboutveebar
from the mathabx package?
– jon
Nov 30 '11 at 16:01
add a comment |
Another way of representing the XOR connective is by using a W-like symbol (as in p W q), also used in Set Theory to refer to disjunctive union. Since this symbol does not seem to appear in the Comprehensive LaTeX symbol list, you can create it by joining two "or" connectives together through the following command:
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
that however doesn't work on second levels subscripts/superscripts
Full example:
documentclass{article}
usepackage{amsmath}
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
begin{document}
$Axor B_{x xor y}$
end{document}
1
Welcome! Please provide a complete example. What definesmspace
? It is not a default LaTeX command.
– cfr
Apr 21 '16 at 1:38
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
I've taken the liberty of turning your good idea into working code;DeclareMathOperator
was not the correct tool andooalign
did nothing; usingmspace
andmu
units allows for making it work also in sub/superscripts (alas, not in second level ones).
– egreg
Apr 21 '16 at 8:01
add a comment |
I use this one overline{vee}
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f3936%2flogic-operators-in-latex-xor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
How about newcommand*xor{mathbin{oplus}}
?
Edit: As everybody has pointed out, the mathbin
is unnecessary. I can't delete the accepted answer, sorry.
16
I think themathbin
isn't strictly necessary becauseoplus
is already a binary operator.
– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
add a comment |
How about newcommand*xor{mathbin{oplus}}
?
Edit: As everybody has pointed out, the mathbin
is unnecessary. I can't delete the accepted answer, sorry.
16
I think themathbin
isn't strictly necessary becauseoplus
is already a binary operator.
– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
add a comment |
How about newcommand*xor{mathbin{oplus}}
?
Edit: As everybody has pointed out, the mathbin
is unnecessary. I can't delete the accepted answer, sorry.
How about newcommand*xor{mathbin{oplus}}
?
Edit: As everybody has pointed out, the mathbin
is unnecessary. I can't delete the accepted answer, sorry.
edited 15 mins ago
answered Oct 9 '10 at 4:10
TH.TH.
47.4k10129197
47.4k10129197
16
I think themathbin
isn't strictly necessary becauseoplus
is already a binary operator.
– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
add a comment |
16
I think themathbin
isn't strictly necessary becauseoplus
is already a binary operator.
– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
16
16
I think the
mathbin
isn't strictly necessary because oplus
is already a binary operator.– Philipp
Oct 9 '10 at 9:31
I think the
mathbin
isn't strictly necessary because oplus
is already a binary operator.– Philipp
Oct 9 '10 at 9:31
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
This is so unnecessary, just do oplus
– Axel Kennedal
3 hours ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
@AxelKennedal, it's been 8 years since this question was asked, the questioner doesn't appear to have an account any more, and your comments just repeat what others already said 8 years ago. I'm not really sure what you want me to do here.
– TH.
4 mins ago
add a comment |
oplus
worked for me :)
I found this in List of logic symbols :P
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
add a comment |
oplus
worked for me :)
I found this in List of logic symbols :P
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
add a comment |
oplus
worked for me :)
I found this in List of logic symbols :P
oplus
worked for me :)
I found this in List of logic symbols :P
answered Nov 30 '11 at 14:55
A TA T
1,89952343
1,89952343
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
add a comment |
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
1
1
This should be the accepted answer!
– Axel Kennedal
3 hours ago
This should be the accepted answer!
– Axel Kennedal
3 hours ago
add a comment |
What you're looking for is veebar
in amssymb
.
usepackage{amssymb}
$veebar$
If you like, you can create a new command lxor
, named to match lor
and land
:
providecommand{lxor}{veebar}
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
add a comment |
What you're looking for is veebar
in amssymb
.
usepackage{amssymb}
$veebar$
If you like, you can create a new command lxor
, named to match lor
and land
:
providecommand{lxor}{veebar}
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
add a comment |
What you're looking for is veebar
in amssymb
.
usepackage{amssymb}
$veebar$
If you like, you can create a new command lxor
, named to match lor
and land
:
providecommand{lxor}{veebar}
What you're looking for is veebar
in amssymb
.
usepackage{amssymb}
$veebar$
If you like, you can create a new command lxor
, named to match lor
and land
:
providecommand{lxor}{veebar}
edited Oct 15 '12 at 1:17
Scott H.
8,17222463
8,17222463
answered Oct 15 '12 at 1:11
Jonathan BaldwinJonathan Baldwin
18013
18013
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
add a comment |
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
1
1
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
Hey, just added some code tags for you :)
– Scott H.
Oct 15 '12 at 1:18
add a comment |
I found a bit lame solution, but it works for me. Just do:
underline{vee}
5
what aboutveebar
from the mathabx package?
– jon
Nov 30 '11 at 16:01
add a comment |
I found a bit lame solution, but it works for me. Just do:
underline{vee}
5
what aboutveebar
from the mathabx package?
– jon
Nov 30 '11 at 16:01
add a comment |
I found a bit lame solution, but it works for me. Just do:
underline{vee}
I found a bit lame solution, but it works for me. Just do:
underline{vee}
edited Nov 9 '11 at 19:49
Stefan Kottwitz♦
176k63570759
176k63570759
answered Nov 9 '11 at 19:41
MushMush
311
311
5
what aboutveebar
from the mathabx package?
– jon
Nov 30 '11 at 16:01
add a comment |
5
what aboutveebar
from the mathabx package?
– jon
Nov 30 '11 at 16:01
5
5
what about
veebar
from the mathabx package?– jon
Nov 30 '11 at 16:01
what about
veebar
from the mathabx package?– jon
Nov 30 '11 at 16:01
add a comment |
Another way of representing the XOR connective is by using a W-like symbol (as in p W q), also used in Set Theory to refer to disjunctive union. Since this symbol does not seem to appear in the Comprehensive LaTeX symbol list, you can create it by joining two "or" connectives together through the following command:
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
that however doesn't work on second levels subscripts/superscripts
Full example:
documentclass{article}
usepackage{amsmath}
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
begin{document}
$Axor B_{x xor y}$
end{document}
1
Welcome! Please provide a complete example. What definesmspace
? It is not a default LaTeX command.
– cfr
Apr 21 '16 at 1:38
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
I've taken the liberty of turning your good idea into working code;DeclareMathOperator
was not the correct tool andooalign
did nothing; usingmspace
andmu
units allows for making it work also in sub/superscripts (alas, not in second level ones).
– egreg
Apr 21 '16 at 8:01
add a comment |
Another way of representing the XOR connective is by using a W-like symbol (as in p W q), also used in Set Theory to refer to disjunctive union. Since this symbol does not seem to appear in the Comprehensive LaTeX symbol list, you can create it by joining two "or" connectives together through the following command:
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
that however doesn't work on second levels subscripts/superscripts
Full example:
documentclass{article}
usepackage{amsmath}
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
begin{document}
$Axor B_{x xor y}$
end{document}
1
Welcome! Please provide a complete example. What definesmspace
? It is not a default LaTeX command.
– cfr
Apr 21 '16 at 1:38
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
I've taken the liberty of turning your good idea into working code;DeclareMathOperator
was not the correct tool andooalign
did nothing; usingmspace
andmu
units allows for making it work also in sub/superscripts (alas, not in second level ones).
– egreg
Apr 21 '16 at 8:01
add a comment |
Another way of representing the XOR connective is by using a W-like symbol (as in p W q), also used in Set Theory to refer to disjunctive union. Since this symbol does not seem to appear in the Comprehensive LaTeX symbol list, you can create it by joining two "or" connectives together through the following command:
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
that however doesn't work on second levels subscripts/superscripts
Full example:
documentclass{article}
usepackage{amsmath}
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
begin{document}
$Axor B_{x xor y}$
end{document}
Another way of representing the XOR connective is by using a W-like symbol (as in p W q), also used in Set Theory to refer to disjunctive union. Since this symbol does not seem to appear in the Comprehensive LaTeX symbol list, you can create it by joining two "or" connectives together through the following command:
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
that however doesn't work on second levels subscripts/superscripts
Full example:
documentclass{article}
usepackage{amsmath}
newcommand{xor}{%
mathbin{%
{vee}mspace{-2.9mu}nonscriptmspace{0.3mu}{vee}%
}%
}
begin{document}
$Axor B_{x xor y}$
end{document}
edited Apr 21 '16 at 7:59
egreg
714k8618983184
714k8618983184
answered Apr 21 '16 at 1:25
Maxime Sainte-MarieMaxime Sainte-Marie
313
313
1
Welcome! Please provide a complete example. What definesmspace
? It is not a default LaTeX command.
– cfr
Apr 21 '16 at 1:38
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
I've taken the liberty of turning your good idea into working code;DeclareMathOperator
was not the correct tool andooalign
did nothing; usingmspace
andmu
units allows for making it work also in sub/superscripts (alas, not in second level ones).
– egreg
Apr 21 '16 at 8:01
add a comment |
1
Welcome! Please provide a complete example. What definesmspace
? It is not a default LaTeX command.
– cfr
Apr 21 '16 at 1:38
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
I've taken the liberty of turning your good idea into working code;DeclareMathOperator
was not the correct tool andooalign
did nothing; usingmspace
andmu
units allows for making it work also in sub/superscripts (alas, not in second level ones).
– egreg
Apr 21 '16 at 8:01
1
1
Welcome! Please provide a complete example. What defines
mspace
? It is not a default LaTeX command.– cfr
Apr 21 '16 at 1:38
Welcome! Please provide a complete example. What defines
mspace
? It is not a default LaTeX command.– cfr
Apr 21 '16 at 1:38
1
1
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
Thanks! It would still be better to give a complete example even though other answers to this question don't. Also, I'm pretty sure this can't possibly be a good way to do it, but I've up-voting anyway as I appreciate the effort ;). (It can't be right to add space like that in maths mode and shouldn't this be declared as a maths symbol?)
– cfr
Apr 21 '16 at 1:50
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
You're right about the example, the spaces and the symbol declaration. The command still needs some fine-tuning. Thanks for the feedback and advice!
– Maxime Sainte-Marie
Apr 21 '16 at 5:15
3
3
I've taken the liberty of turning your good idea into working code;
DeclareMathOperator
was not the correct tool and ooalign
did nothing; using mspace
and mu
units allows for making it work also in sub/superscripts (alas, not in second level ones).– egreg
Apr 21 '16 at 8:01
I've taken the liberty of turning your good idea into working code;
DeclareMathOperator
was not the correct tool and ooalign
did nothing; using mspace
and mu
units allows for making it work also in sub/superscripts (alas, not in second level ones).– egreg
Apr 21 '16 at 8:01
add a comment |
I use this one overline{vee}
.
add a comment |
I use this one overline{vee}
.
add a comment |
I use this one overline{vee}
.
I use this one overline{vee}
.
edited Sep 25 '12 at 21:05
Kurt
36.1k847161
36.1k847161
answered Sep 25 '12 at 20:08
DeepakDeepak
111
111
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f3936%2flogic-operators-in-latex-xor%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
You probably need to load some package. However,
symbols
does not listxor
, so I can’t help you without knowing what the symbol looks like. Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol.– Caramdir
Oct 9 '10 at 4:07
1
Shouldn't you accept A T's answer instead of TH.'s? Since
oplus
is clearly superior tomathbin{oplus}
ornewcommand*xor{mathbin{oplus}}
.– Eric
Feb 18 '16 at 7:51