How to make a crossed out leftrightarrow?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I want to make a leftrightarrow
that is crossed out on both sided arrows. It can be crossed out separately or in a single slash either is fine. I tried doing a stackrel
on nleftarrow
and nrightarrow
yielding disproportionate results. Thank you for help in advances.
arrows
add a comment |
I want to make a leftrightarrow
that is crossed out on both sided arrows. It can be crossed out separately or in a single slash either is fine. I tried doing a stackrel
on nleftarrow
and nrightarrow
yielding disproportionate results. Thank you for help in advances.
arrows
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12
add a comment |
I want to make a leftrightarrow
that is crossed out on both sided arrows. It can be crossed out separately or in a single slash either is fine. I tried doing a stackrel
on nleftarrow
and nrightarrow
yielding disproportionate results. Thank you for help in advances.
arrows
I want to make a leftrightarrow
that is crossed out on both sided arrows. It can be crossed out separately or in a single slash either is fine. I tried doing a stackrel
on nleftarrow
and nrightarrow
yielding disproportionate results. Thank you for help in advances.
arrows
arrows
edited May 26 at 9:35
updraft
asked May 26 at 8:27
updraftupdraft
606 bronze badges
606 bronze badges
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12
add a comment |
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12
add a comment |
2 Answers
2
active
oldest
votes
documentclass{article}
usepackage{amssymb,centernot}
newcommand*crampedhalign[1]{%
vcenter{%
baselineskip=0pt
lineskip=0pt
halign{$mathsurround=0pt##$crcr#1crcr}%
}%
}
newcommand*nrightleftarrows{mathrel{crampedhalign{nrightarrowcrnleftarrowcr}}}
newcommand*nleftrightarrows{mathrel{crampedhalign{nleftarrowcrnrightarrowcr}}}
begin{document}
$centernotleftrightarrows$
$centernotrightleftarrows$
$nleftrightarrows$
$nrightleftarrows$
end{document}
add a comment |
Here is a TikZ solution. The raisebox
is used to make the symbols perfectly centered vertically.
documentclass[border = 1cm]{standalone}
usepackage{tikz}
newcommand{doubleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [->] (0, 0) -- (0.25, 0); % Right arrow
draw [<-] (0, 0.1) -- (0.25, 0.1); % Left arrow
draw [black](0.25,0.15) -- (0,-0.05); % Cross on both arrows
end{tikzpicture}
}%
}
newcommand{singleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [<-] (0, 0) -- (0.25, 0); % Left arrow
draw [black](0.16,0.15) -- (0.08,0.05); % Left arrow cross
draw [->] (0, 0.1) -- (0.25, 0.1); % Right arrow
draw [black](0.16,0.05) -- (0.08,-0.05); % Right arrow cross
end{tikzpicture}
}%
}
begin{document}
This is the verb|doubleCross| doubleCross symbol.
This is the verb|singleCross| singleCross symbol.
end{document}
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%2f492682%2fhow-to-make-a-crossed-out-leftrightarrow%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
documentclass{article}
usepackage{amssymb,centernot}
newcommand*crampedhalign[1]{%
vcenter{%
baselineskip=0pt
lineskip=0pt
halign{$mathsurround=0pt##$crcr#1crcr}%
}%
}
newcommand*nrightleftarrows{mathrel{crampedhalign{nrightarrowcrnleftarrowcr}}}
newcommand*nleftrightarrows{mathrel{crampedhalign{nleftarrowcrnrightarrowcr}}}
begin{document}
$centernotleftrightarrows$
$centernotrightleftarrows$
$nleftrightarrows$
$nrightleftarrows$
end{document}
add a comment |
documentclass{article}
usepackage{amssymb,centernot}
newcommand*crampedhalign[1]{%
vcenter{%
baselineskip=0pt
lineskip=0pt
halign{$mathsurround=0pt##$crcr#1crcr}%
}%
}
newcommand*nrightleftarrows{mathrel{crampedhalign{nrightarrowcrnleftarrowcr}}}
newcommand*nleftrightarrows{mathrel{crampedhalign{nleftarrowcrnrightarrowcr}}}
begin{document}
$centernotleftrightarrows$
$centernotrightleftarrows$
$nleftrightarrows$
$nrightleftarrows$
end{document}
add a comment |
documentclass{article}
usepackage{amssymb,centernot}
newcommand*crampedhalign[1]{%
vcenter{%
baselineskip=0pt
lineskip=0pt
halign{$mathsurround=0pt##$crcr#1crcr}%
}%
}
newcommand*nrightleftarrows{mathrel{crampedhalign{nrightarrowcrnleftarrowcr}}}
newcommand*nleftrightarrows{mathrel{crampedhalign{nleftarrowcrnrightarrowcr}}}
begin{document}
$centernotleftrightarrows$
$centernotrightleftarrows$
$nleftrightarrows$
$nrightleftarrows$
end{document}
documentclass{article}
usepackage{amssymb,centernot}
newcommand*crampedhalign[1]{%
vcenter{%
baselineskip=0pt
lineskip=0pt
halign{$mathsurround=0pt##$crcr#1crcr}%
}%
}
newcommand*nrightleftarrows{mathrel{crampedhalign{nrightarrowcrnleftarrowcr}}}
newcommand*nleftrightarrows{mathrel{crampedhalign{nleftarrowcrnrightarrowcr}}}
begin{document}
$centernotleftrightarrows$
$centernotrightleftarrows$
$nleftrightarrows$
$nrightleftarrows$
end{document}
edited May 26 at 10:03
answered May 26 at 9:51
Henri MenkeHenri Menke
82.4k9 gold badges180 silver badges297 bronze badges
82.4k9 gold badges180 silver badges297 bronze badges
add a comment |
add a comment |
Here is a TikZ solution. The raisebox
is used to make the symbols perfectly centered vertically.
documentclass[border = 1cm]{standalone}
usepackage{tikz}
newcommand{doubleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [->] (0, 0) -- (0.25, 0); % Right arrow
draw [<-] (0, 0.1) -- (0.25, 0.1); % Left arrow
draw [black](0.25,0.15) -- (0,-0.05); % Cross on both arrows
end{tikzpicture}
}%
}
newcommand{singleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [<-] (0, 0) -- (0.25, 0); % Left arrow
draw [black](0.16,0.15) -- (0.08,0.05); % Left arrow cross
draw [->] (0, 0.1) -- (0.25, 0.1); % Right arrow
draw [black](0.16,0.05) -- (0.08,-0.05); % Right arrow cross
end{tikzpicture}
}%
}
begin{document}
This is the verb|doubleCross| doubleCross symbol.
This is the verb|singleCross| singleCross symbol.
end{document}
add a comment |
Here is a TikZ solution. The raisebox
is used to make the symbols perfectly centered vertically.
documentclass[border = 1cm]{standalone}
usepackage{tikz}
newcommand{doubleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [->] (0, 0) -- (0.25, 0); % Right arrow
draw [<-] (0, 0.1) -- (0.25, 0.1); % Left arrow
draw [black](0.25,0.15) -- (0,-0.05); % Cross on both arrows
end{tikzpicture}
}%
}
newcommand{singleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [<-] (0, 0) -- (0.25, 0); % Left arrow
draw [black](0.16,0.15) -- (0.08,0.05); % Left arrow cross
draw [->] (0, 0.1) -- (0.25, 0.1); % Right arrow
draw [black](0.16,0.05) -- (0.08,-0.05); % Right arrow cross
end{tikzpicture}
}%
}
begin{document}
This is the verb|doubleCross| doubleCross symbol.
This is the verb|singleCross| singleCross symbol.
end{document}
add a comment |
Here is a TikZ solution. The raisebox
is used to make the symbols perfectly centered vertically.
documentclass[border = 1cm]{standalone}
usepackage{tikz}
newcommand{doubleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [->] (0, 0) -- (0.25, 0); % Right arrow
draw [<-] (0, 0.1) -- (0.25, 0.1); % Left arrow
draw [black](0.25,0.15) -- (0,-0.05); % Cross on both arrows
end{tikzpicture}
}%
}
newcommand{singleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [<-] (0, 0) -- (0.25, 0); % Left arrow
draw [black](0.16,0.15) -- (0.08,0.05); % Left arrow cross
draw [->] (0, 0.1) -- (0.25, 0.1); % Right arrow
draw [black](0.16,0.05) -- (0.08,-0.05); % Right arrow cross
end{tikzpicture}
}%
}
begin{document}
This is the verb|doubleCross| doubleCross symbol.
This is the verb|singleCross| singleCross symbol.
end{document}
Here is a TikZ solution. The raisebox
is used to make the symbols perfectly centered vertically.
documentclass[border = 1cm]{standalone}
usepackage{tikz}
newcommand{doubleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [->] (0, 0) -- (0.25, 0); % Right arrow
draw [<-] (0, 0.1) -- (0.25, 0.1); % Left arrow
draw [black](0.25,0.15) -- (0,-0.05); % Cross on both arrows
end{tikzpicture}
}%
}
newcommand{singleCross}{%
raisebox{-1pt}{%
begin{tikzpicture}[scale = 1.2]%
draw [<-] (0, 0) -- (0.25, 0); % Left arrow
draw [black](0.16,0.15) -- (0.08,0.05); % Left arrow cross
draw [->] (0, 0.1) -- (0.25, 0.1); % Right arrow
draw [black](0.16,0.05) -- (0.08,-0.05); % Right arrow cross
end{tikzpicture}
}%
}
begin{document}
This is the verb|doubleCross| doubleCross symbol.
This is the verb|singleCross| singleCross symbol.
end{document}
answered May 26 at 10:23
M. Al JumailyM. Al Jumaily
1,8002 gold badges4 silver badges20 bronze badges
1,8002 gold badges4 silver badges20 bronze badges
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%2f492682%2fhow-to-make-a-crossed-out-leftrightarrow%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
Could you please add an example of what you tried and a manual sketch of what you would like to achieve?
– CarLaTeX
May 26 at 9:12