Reducing vertical space in stackrelHow can i shrink (or expand) the vertical spacing in stackrel?aligning a...

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Does a semiconductor follow Ohm's law?

Why does nature favour the Laplacian?

Packing rectangles: Does rotation ever help?

Why do games have consumables?

Is it possible to determine the symmetric encryption method used by output size?

Why was Germany not as successful as other Europeans in establishing overseas colonies?

Why other Westeros houses don't use wildfire?

Examples of subgroups where it's nontrivial to show closure under multiplication?

Document starts having heaps of errors in the middle, but the code doesn't have any problems in it

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

What language was spoken in East Asia before Proto-Turkic?

Are Boeing 737-800’s grounded?

How to pronounce 'C++' in Spanish

Mac Pro install disk keep ejecting itself please help

Combinable filters

How to stop co-workers from teasing me because I know Russian?

Is there an official tutorial for installing Ubuntu 18.04+ on a device with an SSD and an additional internal hard drive?

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Why is it that the natural deduction method can't test for invalidity?

What is the relationship between spectral sequences and obstruction theory?

How could Tony Stark make this in Endgame?

Why do Computer Science majors learn Calculus?



Reducing vertical space in stackrel


How can i shrink (or expand) the vertical spacing in stackrel?aligning a multiline formula with the bullet of itemizeAberrant vertical spacing with {align} and friends?Vertical alignment of multiple consecutive tablesFloating parameter [H] streches table verticallyVertical alignment of marginnote and section headingVertical space in bmatrixWhich vertical bar scales properly?Tables and vertical text alignmentDifferent spacing between single- and multi-line intertext in alignProblem with vertical alignment of a multicolumn listing in a tcolorbox













4















I often use the stackrel command within an equation in the following way



documentclass{article}
begin{document}
%
begin{equation}
e^{ipi} + 1 stackrel{footnotemark}{=} 0
end{equation}
footnotetext{this is Euler's identity.}
%
end{document}


I'd like to reduce the vertical distance between the footnotemark and the equal sign by default. How can I do it?










share|improve this question



























    4















    I often use the stackrel command within an equation in the following way



    documentclass{article}
    begin{document}
    %
    begin{equation}
    e^{ipi} + 1 stackrel{footnotemark}{=} 0
    end{equation}
    footnotetext{this is Euler's identity.}
    %
    end{document}


    I'd like to reduce the vertical distance between the footnotemark and the equal sign by default. How can I do it?










    share|improve this question

























      4












      4








      4








      I often use the stackrel command within an equation in the following way



      documentclass{article}
      begin{document}
      %
      begin{equation}
      e^{ipi} + 1 stackrel{footnotemark}{=} 0
      end{equation}
      footnotetext{this is Euler's identity.}
      %
      end{document}


      I'd like to reduce the vertical distance between the footnotemark and the equal sign by default. How can I do it?










      share|improve this question














      I often use the stackrel command within an equation in the following way



      documentclass{article}
      begin{document}
      %
      begin{equation}
      e^{ipi} + 1 stackrel{footnotemark}{=} 0
      end{equation}
      footnotetext{this is Euler's identity.}
      %
      end{document}


      I'd like to reduce the vertical distance between the footnotemark and the equal sign by default. How can I do it?







      vertical-alignment






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      noibenoibe

      581113




      581113






















          2 Answers
          2






          active

          oldest

          votes


















          3














          My answer is based from a bit change of the code by the excellent user @egreg at this link:
          How can i shrink (or expand) the vertical spacing in stackrel?



          See the result:



          enter image description here



          documentclass{article}
          newcommand{nstackrel}{%
          mathrel{vbox{offinterlineskipialign{%
          hfil##hfilcr
          $scriptscriptstylefootnotemark$cr
          noalign{kern-.3ex}
          $=$cr
          }}}}
          begin{document}
          %
          begin{equation}
          e^{ipi} + 1 nstackrel 0
          end{equation}
          footnotetext{this is Euler's identity.}
          %
          end{document}





          share|improve this answer































            3














            A stackengine approach. You can adjust the 1st argument of stackengine from -1pt to get the desired spacing.



            You can use ftmk before other symbols, as well, e.g., + and -.



            documentclass{article}
            usepackage{stackengine}
            newcommandftmk[1]{addtocounter{footnote}{-1}ensurestackMath{%
            stackengine{-1pt}{{}#1{}}{footnotemark}{O}{c}{F}{F}{S}}}
            begin{document}
            begin{equation}
            e^{ipi} + 1 ftmk= 0
            end{equation}
            footnotetext{this is Euler's identity.}
            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',
              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%2f487963%2freducing-vertical-space-in-stackrel%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









              3














              My answer is based from a bit change of the code by the excellent user @egreg at this link:
              How can i shrink (or expand) the vertical spacing in stackrel?



              See the result:



              enter image description here



              documentclass{article}
              newcommand{nstackrel}{%
              mathrel{vbox{offinterlineskipialign{%
              hfil##hfilcr
              $scriptscriptstylefootnotemark$cr
              noalign{kern-.3ex}
              $=$cr
              }}}}
              begin{document}
              %
              begin{equation}
              e^{ipi} + 1 nstackrel 0
              end{equation}
              footnotetext{this is Euler's identity.}
              %
              end{document}





              share|improve this answer




























                3














                My answer is based from a bit change of the code by the excellent user @egreg at this link:
                How can i shrink (or expand) the vertical spacing in stackrel?



                See the result:



                enter image description here



                documentclass{article}
                newcommand{nstackrel}{%
                mathrel{vbox{offinterlineskipialign{%
                hfil##hfilcr
                $scriptscriptstylefootnotemark$cr
                noalign{kern-.3ex}
                $=$cr
                }}}}
                begin{document}
                %
                begin{equation}
                e^{ipi} + 1 nstackrel 0
                end{equation}
                footnotetext{this is Euler's identity.}
                %
                end{document}





                share|improve this answer


























                  3












                  3








                  3







                  My answer is based from a bit change of the code by the excellent user @egreg at this link:
                  How can i shrink (or expand) the vertical spacing in stackrel?



                  See the result:



                  enter image description here



                  documentclass{article}
                  newcommand{nstackrel}{%
                  mathrel{vbox{offinterlineskipialign{%
                  hfil##hfilcr
                  $scriptscriptstylefootnotemark$cr
                  noalign{kern-.3ex}
                  $=$cr
                  }}}}
                  begin{document}
                  %
                  begin{equation}
                  e^{ipi} + 1 nstackrel 0
                  end{equation}
                  footnotetext{this is Euler's identity.}
                  %
                  end{document}





                  share|improve this answer













                  My answer is based from a bit change of the code by the excellent user @egreg at this link:
                  How can i shrink (or expand) the vertical spacing in stackrel?



                  See the result:



                  enter image description here



                  documentclass{article}
                  newcommand{nstackrel}{%
                  mathrel{vbox{offinterlineskipialign{%
                  hfil##hfilcr
                  $scriptscriptstylefootnotemark$cr
                  noalign{kern-.3ex}
                  $=$cr
                  }}}}
                  begin{document}
                  %
                  begin{equation}
                  e^{ipi} + 1 nstackrel 0
                  end{equation}
                  footnotetext{this is Euler's identity.}
                  %
                  end{document}






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  SebastianoSebastiano

                  11.7k42366




                  11.7k42366























                      3














                      A stackengine approach. You can adjust the 1st argument of stackengine from -1pt to get the desired spacing.



                      You can use ftmk before other symbols, as well, e.g., + and -.



                      documentclass{article}
                      usepackage{stackengine}
                      newcommandftmk[1]{addtocounter{footnote}{-1}ensurestackMath{%
                      stackengine{-1pt}{{}#1{}}{footnotemark}{O}{c}{F}{F}{S}}}
                      begin{document}
                      begin{equation}
                      e^{ipi} + 1 ftmk= 0
                      end{equation}
                      footnotetext{this is Euler's identity.}
                      end{document}


                      enter image description here






                      share|improve this answer




























                        3














                        A stackengine approach. You can adjust the 1st argument of stackengine from -1pt to get the desired spacing.



                        You can use ftmk before other symbols, as well, e.g., + and -.



                        documentclass{article}
                        usepackage{stackengine}
                        newcommandftmk[1]{addtocounter{footnote}{-1}ensurestackMath{%
                        stackengine{-1pt}{{}#1{}}{footnotemark}{O}{c}{F}{F}{S}}}
                        begin{document}
                        begin{equation}
                        e^{ipi} + 1 ftmk= 0
                        end{equation}
                        footnotetext{this is Euler's identity.}
                        end{document}


                        enter image description here






                        share|improve this answer


























                          3












                          3








                          3







                          A stackengine approach. You can adjust the 1st argument of stackengine from -1pt to get the desired spacing.



                          You can use ftmk before other symbols, as well, e.g., + and -.



                          documentclass{article}
                          usepackage{stackengine}
                          newcommandftmk[1]{addtocounter{footnote}{-1}ensurestackMath{%
                          stackengine{-1pt}{{}#1{}}{footnotemark}{O}{c}{F}{F}{S}}}
                          begin{document}
                          begin{equation}
                          e^{ipi} + 1 ftmk= 0
                          end{equation}
                          footnotetext{this is Euler's identity.}
                          end{document}


                          enter image description here






                          share|improve this answer













                          A stackengine approach. You can adjust the 1st argument of stackengine from -1pt to get the desired spacing.



                          You can use ftmk before other symbols, as well, e.g., + and -.



                          documentclass{article}
                          usepackage{stackengine}
                          newcommandftmk[1]{addtocounter{footnote}{-1}ensurestackMath{%
                          stackengine{-1pt}{{}#1{}}{footnotemark}{O}{c}{F}{F}{S}}}
                          begin{document}
                          begin{equation}
                          e^{ipi} + 1 ftmk= 0
                          end{equation}
                          footnotetext{this is Euler's identity.}
                          end{document}


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 1 hour ago









                          Steven B. SegletesSteven B. Segletes

                          163k9208421




                          163k9208421






























                              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%2f487963%2freducing-vertical-space-in-stackrel%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

                              “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                              How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                              變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...