How do I define a right arrow with bar in LaTeX? Announcing the arrival of Valued Associate...

How do you cope with tons of web fonts when copying and pasting from web pages?

One-one communication

Is there a verb for listening stealthily?

The Nth Gryphon Number

Why do C and C++ allow the expression (int) + 4*5;

How can I list files in reverse time order by a command and pass them as arguments to another command?

How to achieve cat-like agility?

The test team as an enemy of development? And how can this be avoided?

Table formatting with tabularx?

How to make an animal which can only breed for a certain number of generations?

Random body shuffle every night—can we still function?

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Did any compiler fully use 80-bit floating point?

Can gravitational waves pass through a black hole?

Do i imagine the linear (straight line) homotopy in a correct way?

Improvising over quartal voicings

What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

3D Masyu - A Die

Russian equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Fit odd number of triplets in a measure?

Any stored/leased 737s that could substitute for grounded MAXs?

How do I say "this must not happen"?



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



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Not greater than with vertical bar instead of slanted barWedge with vertical barNot equal sign (≠) with a vertical barLaTeX bar in tableBar symbol with subscriptDifferent Arrow in LaTeXTypesetting a function restriction with a bar shorter than bigWhat is this symbol, and how to reproduce it? (vertical bar with small footer)How to write “conditional one” in LatexHow to type this symbol like a 'V' in Latex












7















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

























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

    – sab hoque
    Mar 26 at 8:13











  • 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
    Mar 26 at 8:21
















7















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

























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

    – sab hoque
    Mar 26 at 8:13











  • 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
    Mar 26 at 8:21














7












7








7


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
















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















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 16:15









Davislor

7,5091433




7,5091433










asked Mar 26 at 8:12









CXBCXB

704




704













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

    – sab hoque
    Mar 26 at 8:13











  • 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
    Mar 26 at 8:21



















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

    – sab hoque
    Mar 26 at 8:13











  • 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
    Mar 26 at 8:21

















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

– sab hoque
Mar 26 at 8:13





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

– sab hoque
Mar 26 at 8:13













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
Mar 26 at 8:21





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
Mar 26 at 8:21










3 Answers
3






active

oldest

votes


















15














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































    12














    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



    Edit:
    If you want the final bar to have the same width as the Rightarrow, you can use two consecutive | with some kerning between them:



    newcommand{myvarRightarrow}{mathrel{{ =⇒ }!vcenter{hbox{$ scriptscriptstyle|mkern-5.4mu|$}}}}


    enter image description here






    share|improve this answer


























    • Doesn't this have uneven stroke widths due to scaling the bar part?

      – Joey
      Mar 27 at 9:41











    • That's right. I propose a work-around in my update.

      – Bernard
      Mar 27 at 10:55



















    9














    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}

      – user36296
      Mar 26 at 9:55













    • @samcarter Added! Thank you very much!

      – JouleV
      Mar 26 at 9:59












    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%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









    15














    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




























      15














      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


























        15












        15








        15







        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 Mar 26 at 10:04









        egregegreg

        736k8919353261




        736k8919353261























            12














            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



            Edit:
            If you want the final bar to have the same width as the Rightarrow, you can use two consecutive | with some kerning between them:



            newcommand{myvarRightarrow}{mathrel{{ =⇒ }!vcenter{hbox{$ scriptscriptstyle|mkern-5.4mu|$}}}}


            enter image description here






            share|improve this answer


























            • Doesn't this have uneven stroke widths due to scaling the bar part?

              – Joey
              Mar 27 at 9:41











            • That's right. I propose a work-around in my update.

              – Bernard
              Mar 27 at 10:55
















            12














            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



            Edit:
            If you want the final bar to have the same width as the Rightarrow, you can use two consecutive | with some kerning between them:



            newcommand{myvarRightarrow}{mathrel{{ =⇒ }!vcenter{hbox{$ scriptscriptstyle|mkern-5.4mu|$}}}}


            enter image description here






            share|improve this answer


























            • Doesn't this have uneven stroke widths due to scaling the bar part?

              – Joey
              Mar 27 at 9:41











            • That's right. I propose a work-around in my update.

              – Bernard
              Mar 27 at 10:55














            12












            12








            12







            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



            Edit:
            If you want the final bar to have the same width as the Rightarrow, you can use two consecutive | with some kerning between them:



            newcommand{myvarRightarrow}{mathrel{{ =⇒ }!vcenter{hbox{$ scriptscriptstyle|mkern-5.4mu|$}}}}


            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



            Edit:
            If you want the final bar to have the same width as the Rightarrow, you can use two consecutive | with some kerning between them:



            newcommand{myvarRightarrow}{mathrel{{ =⇒ }!vcenter{hbox{$ scriptscriptstyle|mkern-5.4mu|$}}}}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 27 at 10:54

























            answered Mar 26 at 9:27









            BernardBernard

            177k778210




            177k778210













            • Doesn't this have uneven stroke widths due to scaling the bar part?

              – Joey
              Mar 27 at 9:41











            • That's right. I propose a work-around in my update.

              – Bernard
              Mar 27 at 10:55



















            • Doesn't this have uneven stroke widths due to scaling the bar part?

              – Joey
              Mar 27 at 9:41











            • That's right. I propose a work-around in my update.

              – Bernard
              Mar 27 at 10:55

















            Doesn't this have uneven stroke widths due to scaling the bar part?

            – Joey
            Mar 27 at 9:41





            Doesn't this have uneven stroke widths due to scaling the bar part?

            – Joey
            Mar 27 at 9:41













            That's right. I propose a work-around in my update.

            – Bernard
            Mar 27 at 10:55





            That's right. I propose a work-around in my update.

            – Bernard
            Mar 27 at 10:55











            9














            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}

              – user36296
              Mar 26 at 9:55













            • @samcarter Added! Thank you very much!

              – JouleV
              Mar 26 at 9:59
















            9














            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}

              – user36296
              Mar 26 at 9:55













            • @samcarter Added! Thank you very much!

              – JouleV
              Mar 26 at 9:59














            9












            9








            9







            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 Mar 26 at 10:06

























            answered Mar 26 at 9:28









            JouleVJouleV

            14.8k22666




            14.8k22666








            • 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}

              – user36296
              Mar 26 at 9:55













            • @samcarter Added! Thank you very much!

              – JouleV
              Mar 26 at 9:59














            • 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}

              – user36296
              Mar 26 at 9:55













            • @samcarter Added! Thank you very much!

              – JouleV
              Mar 26 at 9:59








            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}

            – user36296
            Mar 26 at 9:55







            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}

            – user36296
            Mar 26 at 9:55















            @samcarter Added! Thank you very much!

            – JouleV
            Mar 26 at 9:59





            @samcarter Added! Thank you very much!

            – JouleV
            Mar 26 at 9:59


















            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%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

            Nidaros erkebispedøme

            Birsay

            Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?