How do I define a right arrow with bar in LaTeX?












6















could any one tell me how I can define the following symbol in Latex please?
It looks like an implies symbol concatenated with a vertical bar.



enter image description here










share|improve this question









New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

    – sab hoque
    17 hours ago











  • For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

    – Harald Hanche-Olsen
    17 hours ago
















6















could any one tell me how I can define the following symbol in Latex please?
It looks like an implies symbol concatenated with a vertical bar.



enter image description here










share|improve this question









New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

    – sab hoque
    17 hours ago











  • For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

    – Harald Hanche-Olsen
    17 hours ago














6












6








6


0






could any one tell me how I can define the following symbol in Latex please?
It looks like an implies symbol concatenated with a vertical bar.



enter image description here










share|improve this question









New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












could any one tell me how I can define the following symbol in Latex please?
It looks like an implies symbol concatenated with a vertical bar.



enter image description here







math-mode symbols






share|improve this question









New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 9 hours ago









Davislor

6,9741431




6,9741431






New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 17 hours ago









CXBCXB

333




333




New contributor




CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






CXB is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

    – sab hoque
    17 hours ago











  • For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

    – Harald Hanche-Olsen
    17 hours ago



















  • Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

    – sab hoque
    17 hours ago











  • For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

    – Harald Hanche-Olsen
    17 hours ago

















Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

– sab hoque
17 hours ago





Might want to try detexify.kirelabs.org/classify.html otherwise I'm not too sure

– sab hoque
17 hours ago













For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

– Harald Hanche-Olsen
17 hours ago





For what it's worth, the symbol does not seem to exist in unicode. Unless they have given it a really counter-intuitive name.

– Harald Hanche-Olsen
17 hours ago










3 Answers
3






active

oldest

votes


















14














The stmaryrd font has mapsfromchar:



documentclass{article}
usepackage{amsmath}
usepackage{stmaryrd}

newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}

begin{document}

$aRightarrowbar b$

$aLeftarrowbar b$

end{document}


enter image description here



If stmaryrd is not an option for you, it's possible to reflect mapstochar:



documentclass{article}
usepackage{amsmath}
usepackage{graphicx}

newcommand{fakedmapsfromchar}{%
mathrel{mathpalettereflectmathcharmapstochar}%
}
makeatletter
newcommand{reflectmathchar}[2]{%
reflectbox{$m@th#1#2$}%
}
makeatother

newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
newcommand{Leftarrowbar}{mapstocharLeftarrow}

begin{document}

$aRightarrowbar b$

$aLeftarrowbar b$

end{document}





share|improve this answer































    10














    Something like this?



    documentclass{article}
    usepackage{mathtools}

    newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}

    begin{document}

    $ A myRightarrow B$

    end{document}


    enter image description here






    share|improve this answer

































      8














      One can always build a symbol by himself (thanks to samcarter, this is a scalable version):



      documentclass[margin=1mm]{standalone}
      usepackage{graphicx}
      usepackage{amssymb}
      newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
      begin{document}
      $1yoursymbol2$ {Huge $1yoursymbol2$}
      end{document}


      enter image description here




      Caution: This doesn't work in subscript. I'm trying to find some solution...







      share|improve this answer





















      • 2





        If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

        – samcarter
        16 hours ago













      • @samcarter Added! Thank you very much!

        – JouleV
        16 hours ago











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


      }
      });






      CXB is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f481480%2fhow-do-i-define-a-right-arrow-with-bar-in-latex%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      14














      The stmaryrd font has mapsfromchar:



      documentclass{article}
      usepackage{amsmath}
      usepackage{stmaryrd}

      newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
      newcommand{Leftarrowbar}{mapstocharLeftarrow}

      begin{document}

      $aRightarrowbar b$

      $aLeftarrowbar b$

      end{document}


      enter image description here



      If stmaryrd is not an option for you, it's possible to reflect mapstochar:



      documentclass{article}
      usepackage{amsmath}
      usepackage{graphicx}

      newcommand{fakedmapsfromchar}{%
      mathrel{mathpalettereflectmathcharmapstochar}%
      }
      makeatletter
      newcommand{reflectmathchar}[2]{%
      reflectbox{$m@th#1#2$}%
      }
      makeatother

      newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
      newcommand{Leftarrowbar}{mapstocharLeftarrow}

      begin{document}

      $aRightarrowbar b$

      $aLeftarrowbar b$

      end{document}





      share|improve this answer




























        14














        The stmaryrd font has mapsfromchar:



        documentclass{article}
        usepackage{amsmath}
        usepackage{stmaryrd}

        newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
        newcommand{Leftarrowbar}{mapstocharLeftarrow}

        begin{document}

        $aRightarrowbar b$

        $aLeftarrowbar b$

        end{document}


        enter image description here



        If stmaryrd is not an option for you, it's possible to reflect mapstochar:



        documentclass{article}
        usepackage{amsmath}
        usepackage{graphicx}

        newcommand{fakedmapsfromchar}{%
        mathrel{mathpalettereflectmathcharmapstochar}%
        }
        makeatletter
        newcommand{reflectmathchar}[2]{%
        reflectbox{$m@th#1#2$}%
        }
        makeatother

        newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
        newcommand{Leftarrowbar}{mapstocharLeftarrow}

        begin{document}

        $aRightarrowbar b$

        $aLeftarrowbar b$

        end{document}





        share|improve this answer


























          14












          14








          14







          The stmaryrd font has mapsfromchar:



          documentclass{article}
          usepackage{amsmath}
          usepackage{stmaryrd}

          newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
          newcommand{Leftarrowbar}{mapstocharLeftarrow}

          begin{document}

          $aRightarrowbar b$

          $aLeftarrowbar b$

          end{document}


          enter image description here



          If stmaryrd is not an option for you, it's possible to reflect mapstochar:



          documentclass{article}
          usepackage{amsmath}
          usepackage{graphicx}

          newcommand{fakedmapsfromchar}{%
          mathrel{mathpalettereflectmathcharmapstochar}%
          }
          makeatletter
          newcommand{reflectmathchar}[2]{%
          reflectbox{$m@th#1#2$}%
          }
          makeatother

          newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
          newcommand{Leftarrowbar}{mapstocharLeftarrow}

          begin{document}

          $aRightarrowbar b$

          $aLeftarrowbar b$

          end{document}





          share|improve this answer













          The stmaryrd font has mapsfromchar:



          documentclass{article}
          usepackage{amsmath}
          usepackage{stmaryrd}

          newcommand{Rightarrowbar}{Rightarrowmapsfromchar}
          newcommand{Leftarrowbar}{mapstocharLeftarrow}

          begin{document}

          $aRightarrowbar b$

          $aLeftarrowbar b$

          end{document}


          enter image description here



          If stmaryrd is not an option for you, it's possible to reflect mapstochar:



          documentclass{article}
          usepackage{amsmath}
          usepackage{graphicx}

          newcommand{fakedmapsfromchar}{%
          mathrel{mathpalettereflectmathcharmapstochar}%
          }
          makeatletter
          newcommand{reflectmathchar}[2]{%
          reflectbox{$m@th#1#2$}%
          }
          makeatother

          newcommand{Rightarrowbar}{Rightarrowfakedmapsfromchar}
          newcommand{Leftarrowbar}{mapstocharLeftarrow}

          begin{document}

          $aRightarrowbar b$

          $aLeftarrowbar b$

          end{document}






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 15 hours ago









          egregegreg

          729k8819263237




          729k8819263237























              10














              Something like this?



              documentclass{article}
              usepackage{mathtools}

              newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}

              begin{document}

              $ A myRightarrow B$

              end{document}


              enter image description here






              share|improve this answer






























                10














                Something like this?



                documentclass{article}
                usepackage{mathtools}

                newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}

                begin{document}

                $ A myRightarrow B$

                end{document}


                enter image description here






                share|improve this answer




























                  10












                  10








                  10







                  Something like this?



                  documentclass{article}
                  usepackage{mathtools}

                  newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}

                  begin{document}

                  $ A myRightarrow B$

                  end{document}


                  enter image description here






                  share|improve this answer















                  Something like this?



                  documentclass{article}
                  usepackage{mathtools}

                  newcommand{myRightarrow}{mathrel{{Longrightarrow}!vcenter{hbox{$scriptscriptstyle|$}}}}

                  begin{document}

                  $ A myRightarrow B$

                  end{document}


                  enter image description here







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited 15 hours ago

























                  answered 16 hours ago









                  BernardBernard

                  174k776207




                  174k776207























                      8














                      One can always build a symbol by himself (thanks to samcarter, this is a scalable version):



                      documentclass[margin=1mm]{standalone}
                      usepackage{graphicx}
                      usepackage{amssymb}
                      newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
                      begin{document}
                      $1yoursymbol2$ {Huge $1yoursymbol2$}
                      end{document}


                      enter image description here




                      Caution: This doesn't work in subscript. I'm trying to find some solution...







                      share|improve this answer





















                      • 2





                        If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                        – samcarter
                        16 hours ago













                      • @samcarter Added! Thank you very much!

                        – JouleV
                        16 hours ago
















                      8














                      One can always build a symbol by himself (thanks to samcarter, this is a scalable version):



                      documentclass[margin=1mm]{standalone}
                      usepackage{graphicx}
                      usepackage{amssymb}
                      newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
                      begin{document}
                      $1yoursymbol2$ {Huge $1yoursymbol2$}
                      end{document}


                      enter image description here




                      Caution: This doesn't work in subscript. I'm trying to find some solution...







                      share|improve this answer





















                      • 2





                        If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                        – samcarter
                        16 hours ago













                      • @samcarter Added! Thank you very much!

                        – JouleV
                        16 hours ago














                      8












                      8








                      8







                      One can always build a symbol by himself (thanks to samcarter, this is a scalable version):



                      documentclass[margin=1mm]{standalone}
                      usepackage{graphicx}
                      usepackage{amssymb}
                      newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
                      begin{document}
                      $1yoursymbol2$ {Huge $1yoursymbol2$}
                      end{document}


                      enter image description here




                      Caution: This doesn't work in subscript. I'm trying to find some solution...







                      share|improve this answer















                      One can always build a symbol by himself (thanks to samcarter, this is a scalable version):



                      documentclass[margin=1mm]{standalone}
                      usepackage{graphicx}
                      usepackage{amssymb}
                      newcommand{yoursymbol}{mathbin{Rightarrowhspace{-0.45em}vcenter{hbox{scalebox{0.8}{$shortmid$}}}}}
                      begin{document}
                      $1yoursymbol2$ {Huge $1yoursymbol2$}
                      end{document}


                      enter image description here




                      Caution: This doesn't work in subscript. I'm trying to find some solution...








                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited 15 hours ago

























                      answered 16 hours ago









                      JouleVJouleV

                      8,15222153




                      8,15222153








                      • 2





                        If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                        – samcarter
                        16 hours ago













                      • @samcarter Added! Thank you very much!

                        – JouleV
                        16 hours ago














                      • 2





                        If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                        – samcarter
                        16 hours ago













                      • @samcarter Added! Thank you very much!

                        – JouleV
                        16 hours ago








                      2




                      2





                      If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                      – samcarter
                      16 hours ago







                      If you use a unit that scales with the font, this will also work with other font sizes. For example hspace{-0.45em} instead of hspace{-4.3pt}

                      – samcarter
                      16 hours ago















                      @samcarter Added! Thank you very much!

                      – JouleV
                      16 hours ago





                      @samcarter Added! Thank you very much!

                      – JouleV
                      16 hours ago










                      CXB is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      CXB is a new contributor. Be nice, and check out our Code of Conduct.













                      CXB is a new contributor. Be nice, and check out our Code of Conduct.












                      CXB is a new contributor. Be nice, and check out our Code of Conduct.
















                      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%2f481480%2fhow-do-i-define-a-right-arrow-with-bar-in-latex%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