How to make a crossed out leftrightarrow?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4















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.
enter image description here










share|improve this question



























  • 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


















4















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.
enter image description here










share|improve this question



























  • 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














4












4








4


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.
enter image description here










share|improve this question
















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.
enter image description here







arrows






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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










2 Answers
2






active

oldest

votes


















7














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}


enter image description here






share|improve this answer



































    5














    Here is a TikZ solution. The raisebox is used to make the symbols perfectly centered vertically.



    Output



    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}





    share|improve this answer




























      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
      });


      }
      });














      draft saved

      draft discarded


















      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









      7














      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}


      enter image description here






      share|improve this answer
































        7














        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}


        enter image description here






        share|improve this answer






























          7












          7








          7







          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}


          enter image description here






          share|improve this answer















          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}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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




























              5














              Here is a TikZ solution. The raisebox is used to make the symbols perfectly centered vertically.



              Output



              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}





              share|improve this answer






























                5














                Here is a TikZ solution. The raisebox is used to make the symbols perfectly centered vertically.



                Output



                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}





                share|improve this answer




























                  5












                  5








                  5







                  Here is a TikZ solution. The raisebox is used to make the symbols perfectly centered vertically.



                  Output



                  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}





                  share|improve this answer













                  Here is a TikZ solution. The raisebox is used to make the symbols perfectly centered vertically.



                  Output



                  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}






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  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

































                      draft saved

                      draft discarded




















































                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      He _____ here since 1970 . Answer needed [closed]What does “since he was so high” mean?Meaning of “catch birds for”?How do I ensure “since” takes the meaning I want?“Who cares here” meaningWhat does “right round toward” mean?the time tense (had now been detected)What does the phrase “ring around the roses” mean here?Correct usage of “visited upon”Meaning of “foiled rail sabotage bid”It was the third time I had gone to Rome or It is the third time I had been to Rome

                      Bunad

                      Færeyskur hestur Heimild | Tengill | Tilvísanir | LeiðsagnarvalRossið - síða um færeyska hrossið á færeyskuGott ár hjá færeyska hestinum