How to set letter above or below the symbol? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How can I make an overset symbol at the same size and height as bar except with a different symbol?Write above the symbol math “subset”Superimpose letter on integral symbolDecrease vertical whitespace when stacking above and below arrowChange vertical space in oversetSymbol: “maps isomorphically”adjusting symbols above letter in mathmodedouble tilde symbol under letterLetter with circle above — not a dot — in math modeHow to print “~” in order to put text above it

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

How to write the following sign?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

What is the difference between globalisation and imperialism?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

Is there any word for a place full of confusion?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

What do you call the main part of a joke?

Can a new player join a group only when a new campaign starts?

Did Deadpool rescue all of the X-Force?

Do I really need to have a message in a novel to appeal to readers?

What does it mean that physics no longer uses mechanical models to describe phenomena?

Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?

How do living politicians protect their readily obtainable signatures from misuse?

What is this clumpy 20-30cm high yellow-flowered plant?

Why wasn't DOSKEY integrated with COMMAND.COM?

Why weren't discrete x86 CPUs ever used in game hardware?

What was the first language to use conditional keywords?

Why aren't air breathing engines used as small first stages?

Why should I vote and accept answers?

How do I find out the mythology and history of my Fortress?

Why is my ESD wriststrap failing with nitrile gloves on?

Most bit efficient text communication method?



How to set letter above or below the symbol?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)How can I make an overset symbol at the same size and height as bar except with a different symbol?Write above the symbol math “subset”Superimpose letter on integral symbolDecrease vertical whitespace when stacking above and below arrowChange vertical space in oversetSymbol: “maps isomorphically”adjusting symbols above letter in mathmodedouble tilde symbol under letterLetter with circle above — not a dot — in math modeHow to print “~” in order to put text above it










4















I have known oversetK to set above. However how to do like this:



enter image description here










share|improve this question









New contributor




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
























    4















    I have known oversetK to set above. However how to do like this:



    enter image description here










    share|improve this question









    New contributor




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






















      4












      4








      4


      1






      I have known oversetK to set above. However how to do like this:



      enter image description here










      share|improve this question









      New contributor




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












      I have known oversetK to set above. However how to do like this:



      enter image description here







      stacking-symbols






      share|improve this question









      New contributor




      Z Mario 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




      Z Mario 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 Apr 15 at 3:53









      JouleV

      14k22664




      14k22664






      New contributor




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









      asked Apr 15 at 3:06









      Z MarioZ Mario

      262




      262




      New contributor




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





      New contributor





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






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




















          2 Answers
          2






          active

          oldest

          votes


















          8














          The same vertical size as sum:



          documentclassarticle
          usepackageamsmath

          makeatletter
          newcommandnnnDOTSBnnn@slimits@
          newcommandnnn@mathop
          newcommandnnn@@[2]%
          vphantomsum%
          ifx#1displaystylebig#2else#2fi

          makeatother

          begindocument

          [
          nnn_k=1^Kquad sum_k=1^K
          ]
          begincenter% just to show inline math below displaystyle
          $nnn_k=1^K$quad$sum_k=1^K$
          endcenter

          enddocument


          enter image description here






          share|improve this answer






























            8














            Currently, the width of the widest compnent (k=1) determines the width of the stack. If it is needed so that the width of K or the vertical bars determines the width of the stack, please let me know.



            It was not clear (to me) from the context of the question whether the baseline is aligned with the K or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum:



            documentclassarticle
            usepackagestackengine,scalerel,mathtools
            DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
            stackMath
            parskip1ex
            begindocument
            K baseline:
            $stackunder[2pt]Kstackunder[2pt]%
            rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$

            bigskip
            Rule baseline:


            $vbars^K_k=1$ (textstyle)

            $displaystylevbars^K_k=1$ (displaystyle)
            enddocument


            enter image description here



            In the latter case (vbars math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars, merely change scalerel to stretchrel.






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



              );






              Z Mario 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%2f484872%2fhow-to-set-letter-above-or-below-the-symbol%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









              8














              The same vertical size as sum:



              documentclassarticle
              usepackageamsmath

              makeatletter
              newcommandnnnDOTSBnnn@slimits@
              newcommandnnn@mathop
              newcommandnnn@@[2]%
              vphantomsum%
              ifx#1displaystylebig#2else#2fi

              makeatother

              begindocument

              [
              nnn_k=1^Kquad sum_k=1^K
              ]
              begincenter% just to show inline math below displaystyle
              $nnn_k=1^K$quad$sum_k=1^K$
              endcenter

              enddocument


              enter image description here






              share|improve this answer



























                8














                The same vertical size as sum:



                documentclassarticle
                usepackageamsmath

                makeatletter
                newcommandnnnDOTSBnnn@slimits@
                newcommandnnn@mathop
                newcommandnnn@@[2]%
                vphantomsum%
                ifx#1displaystylebig#2else#2fi

                makeatother

                begindocument

                [
                nnn_k=1^Kquad sum_k=1^K
                ]
                begincenter% just to show inline math below displaystyle
                $nnn_k=1^K$quad$sum_k=1^K$
                endcenter

                enddocument


                enter image description here






                share|improve this answer

























                  8












                  8








                  8







                  The same vertical size as sum:



                  documentclassarticle
                  usepackageamsmath

                  makeatletter
                  newcommandnnnDOTSBnnn@slimits@
                  newcommandnnn@mathop
                  newcommandnnn@@[2]%
                  vphantomsum%
                  ifx#1displaystylebig#2else#2fi

                  makeatother

                  begindocument

                  [
                  nnn_k=1^Kquad sum_k=1^K
                  ]
                  begincenter% just to show inline math below displaystyle
                  $nnn_k=1^K$quad$sum_k=1^K$
                  endcenter

                  enddocument


                  enter image description here






                  share|improve this answer













                  The same vertical size as sum:



                  documentclassarticle
                  usepackageamsmath

                  makeatletter
                  newcommandnnnDOTSBnnn@slimits@
                  newcommandnnn@mathop
                  newcommandnnn@@[2]%
                  vphantomsum%
                  ifx#1displaystylebig#2else#2fi

                  makeatother

                  begindocument

                  [
                  nnn_k=1^Kquad sum_k=1^K
                  ]
                  begincenter% just to show inline math below displaystyle
                  $nnn_k=1^K$quad$sum_k=1^K$
                  endcenter

                  enddocument


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 15 at 6:31









                  egregegreg

                  735k8919343257




                  735k8919343257





















                      8














                      Currently, the width of the widest compnent (k=1) determines the width of the stack. If it is needed so that the width of K or the vertical bars determines the width of the stack, please let me know.



                      It was not clear (to me) from the context of the question whether the baseline is aligned with the K or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum:



                      documentclassarticle
                      usepackagestackengine,scalerel,mathtools
                      DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
                      stackMath
                      parskip1ex
                      begindocument
                      K baseline:
                      $stackunder[2pt]Kstackunder[2pt]%
                      rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$

                      bigskip
                      Rule baseline:


                      $vbars^K_k=1$ (textstyle)

                      $displaystylevbars^K_k=1$ (displaystyle)
                      enddocument


                      enter image description here



                      In the latter case (vbars math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars, merely change scalerel to stretchrel.






                      share|improve this answer





























                        8














                        Currently, the width of the widest compnent (k=1) determines the width of the stack. If it is needed so that the width of K or the vertical bars determines the width of the stack, please let me know.



                        It was not clear (to me) from the context of the question whether the baseline is aligned with the K or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum:



                        documentclassarticle
                        usepackagestackengine,scalerel,mathtools
                        DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
                        stackMath
                        parskip1ex
                        begindocument
                        K baseline:
                        $stackunder[2pt]Kstackunder[2pt]%
                        rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$

                        bigskip
                        Rule baseline:


                        $vbars^K_k=1$ (textstyle)

                        $displaystylevbars^K_k=1$ (displaystyle)
                        enddocument


                        enter image description here



                        In the latter case (vbars math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars, merely change scalerel to stretchrel.






                        share|improve this answer



























                          8












                          8








                          8







                          Currently, the width of the widest compnent (k=1) determines the width of the stack. If it is needed so that the width of K or the vertical bars determines the width of the stack, please let me know.



                          It was not clear (to me) from the context of the question whether the baseline is aligned with the K or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum:



                          documentclassarticle
                          usepackagestackengine,scalerel,mathtools
                          DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
                          stackMath
                          parskip1ex
                          begindocument
                          K baseline:
                          $stackunder[2pt]Kstackunder[2pt]%
                          rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$

                          bigskip
                          Rule baseline:


                          $vbars^K_k=1$ (textstyle)

                          $displaystylevbars^K_k=1$ (displaystyle)
                          enddocument


                          enter image description here



                          In the latter case (vbars math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars, merely change scalerel to stretchrel.






                          share|improve this answer















                          Currently, the width of the widest compnent (k=1) determines the width of the stack. If it is needed so that the width of K or the vertical bars determines the width of the stack, please let me know.



                          It was not clear (to me) from the context of the question whether the baseline is aligned with the K or the vertical bars. Thus, I offer both possibilities. In the latter, the bars will be sized the same as sum:



                          documentclassarticle
                          usepackagestackengine,scalerel,mathtools
                          DeclareMathOperator*vbarsscalerel*rule.6pt10ptmkern2murule.6pt10ptsum
                          stackMath
                          parskip1ex
                          begindocument
                          K baseline:
                          $stackunder[2pt]Kstackunder[2pt]%
                          rule.6pt15ptmkern2murule.6pt15ptscriptstyle k=1$

                          bigskip
                          Rule baseline:


                          $vbars^K_k=1$ (textstyle)

                          $displaystylevbars^K_k=1$ (displaystyle)
                          enddocument


                          enter image description here



                          In the latter case (vbars math operator), if one wishes the rule thickness and gap to remain the same in both text and display styles, then, in the definition of vbars, merely change scalerel to stretchrel.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Apr 15 at 10:22

























                          answered Apr 15 at 3:09









                          Steven B. SegletesSteven B. Segletes

                          163k9206419




                          163k9206419




















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









                              draft saved

                              draft discarded


















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












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











                              Z Mario 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%2f484872%2fhow-to-set-letter-above-or-below-the-symbol%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

                              Sum ergo cogito? 1 nng

                              三茅街道4182Guuntc Dn precexpngmageondP