left and right subscript and arrow beneath variable











up vote
0
down vote

favorite












Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve :



desired output



Now this is the code that I came up with :



 documentclass{article}
usepackage{amsmath}
begin{document}
$P_{CB}$ (ou ${}_{B}stackrel{P}{scriptsize{leftarrow}}_{C}$) telle que
end{document}


And this is the result of it :



Output



Now as in the picture, I would like to have the capital P inline with the word "ou" and the arrow to be a smaller size and to have the B and C (left and right) of the capital P as subscripts (maybe?)










share|improve this question


























    up vote
    0
    down vote

    favorite












    Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve :



    desired output



    Now this is the code that I came up with :



     documentclass{article}
    usepackage{amsmath}
    begin{document}
    $P_{CB}$ (ou ${}_{B}stackrel{P}{scriptsize{leftarrow}}_{C}$) telle que
    end{document}


    And this is the result of it :



    Output



    Now as in the picture, I would like to have the capital P inline with the word "ou" and the arrow to be a smaller size and to have the B and C (left and right) of the capital P as subscripts (maybe?)










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve :



      desired output



      Now this is the code that I came up with :



       documentclass{article}
      usepackage{amsmath}
      begin{document}
      $P_{CB}$ (ou ${}_{B}stackrel{P}{scriptsize{leftarrow}}_{C}$) telle que
      end{document}


      And this is the result of it :



      Output



      Now as in the picture, I would like to have the capital P inline with the word "ou" and the arrow to be a smaller size and to have the B and C (left and right) of the capital P as subscripts (maybe?)










      share|improve this question













      Alright, here goes, first I know that my title is somewhat vague, but an image is worth a thousand words, here's what I'm trying to achieve :



      desired output



      Now this is the code that I came up with :



       documentclass{article}
      usepackage{amsmath}
      begin{document}
      $P_{CB}$ (ou ${}_{B}stackrel{P}{scriptsize{leftarrow}}_{C}$) telle que
      end{document}


      And this is the result of it :



      Output



      Now as in the picture, I would like to have the capital P inline with the word "ou" and the arrow to be a smaller size and to have the B and C (left and right) of the capital P as subscripts (maybe?)







      amsmath subscripts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      Sephya

      1209




      1209






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          Why don't you use underset?



          documentclass{article}
          usepackage{amsmath}

          begin{document}

          With verb|underset|:
          $P_{CB}$ (ou $underset{Bleftarrow C}{P}$) telle que

          end{document}


          enter image description here






          share|improve this answer























          • Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
            – Sephya
            yesterday


















          up vote
          1
          down vote













          Use provided command myfrac mentioned in your preamble part.
          documentclass{article}
          usepackage{amsmath}



          newcommandmyfrac[2]{genfrac{}{}{0pt}{}{#1}{#2}}


          defbc{B leftarrow C}

          begin{document}

          $P_{CB}$ (ou $myfrac{P}{scriptsizebc}$) telle que

          end{document}


          enter image description here






          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',
            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%2f460689%2fleft-and-right-subscript-and-arrow-beneath-variable%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








            up vote
            5
            down vote



            accepted










            Why don't you use underset?



            documentclass{article}
            usepackage{amsmath}

            begin{document}

            With verb|underset|:
            $P_{CB}$ (ou $underset{Bleftarrow C}{P}$) telle que

            end{document}


            enter image description here






            share|improve this answer























            • Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
              – Sephya
              yesterday















            up vote
            5
            down vote



            accepted










            Why don't you use underset?



            documentclass{article}
            usepackage{amsmath}

            begin{document}

            With verb|underset|:
            $P_{CB}$ (ou $underset{Bleftarrow C}{P}$) telle que

            end{document}


            enter image description here






            share|improve this answer























            • Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
              – Sephya
              yesterday













            up vote
            5
            down vote



            accepted







            up vote
            5
            down vote



            accepted






            Why don't you use underset?



            documentclass{article}
            usepackage{amsmath}

            begin{document}

            With verb|underset|:
            $P_{CB}$ (ou $underset{Bleftarrow C}{P}$) telle que

            end{document}


            enter image description here






            share|improve this answer














            Why don't you use underset?



            documentclass{article}
            usepackage{amsmath}

            begin{document}

            With verb|underset|:
            $P_{CB}$ (ou $underset{Bleftarrow C}{P}$) telle que

            end{document}


            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited yesterday









            egreg

            698k8518573126




            698k8518573126










            answered yesterday









            CarLaTeX

            27.5k445120




            27.5k445120












            • Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
              – Sephya
              yesterday


















            • Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
              – Sephya
              yesterday
















            Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
            – Sephya
            yesterday




            Ooooh, I love the output from the underset, didn't know about that one, thanks 😊
            – Sephya
            yesterday










            up vote
            1
            down vote













            Use provided command myfrac mentioned in your preamble part.
            documentclass{article}
            usepackage{amsmath}



            newcommandmyfrac[2]{genfrac{}{}{0pt}{}{#1}{#2}}


            defbc{B leftarrow C}

            begin{document}

            $P_{CB}$ (ou $myfrac{P}{scriptsizebc}$) telle que

            end{document}


            enter image description here






            share|improve this answer

























              up vote
              1
              down vote













              Use provided command myfrac mentioned in your preamble part.
              documentclass{article}
              usepackage{amsmath}



              newcommandmyfrac[2]{genfrac{}{}{0pt}{}{#1}{#2}}


              defbc{B leftarrow C}

              begin{document}

              $P_{CB}$ (ou $myfrac{P}{scriptsizebc}$) telle que

              end{document}


              enter image description here






              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                Use provided command myfrac mentioned in your preamble part.
                documentclass{article}
                usepackage{amsmath}



                newcommandmyfrac[2]{genfrac{}{}{0pt}{}{#1}{#2}}


                defbc{B leftarrow C}

                begin{document}

                $P_{CB}$ (ou $myfrac{P}{scriptsizebc}$) telle que

                end{document}


                enter image description here






                share|improve this answer












                Use provided command myfrac mentioned in your preamble part.
                documentclass{article}
                usepackage{amsmath}



                newcommandmyfrac[2]{genfrac{}{}{0pt}{}{#1}{#2}}


                defbc{B leftarrow C}

                begin{document}

                $P_{CB}$ (ou $myfrac{P}{scriptsizebc}$) telle que

                end{document}


                enter image description here







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                Saravanan

                998112




                998112






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460689%2fleft-and-right-subscript-and-arrow-beneath-variable%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

                    サソリ

                    広島県道265号伴広島線

                    Accessing regular linux commands in Huawei's Dopra Linux