How to redefine the exponent command The Next CEO of Stack Overflow

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Does the Brexit deal have to be agreed by both Houses?

What makes a siege story/plot interesting?

Increase performance creating Mandelbrot set in python

Why did we only see the N-1 starfighters in one film?

Trouble understanding the speech of overseas colleagues

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

How to be diplomatic in refusing to write code that breaches the privacy of our users

The King's new dress

What is the difference between "behavior" and "behaviour"?

How can I quit an app using Terminal?

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

How do I go from 300 unfinished/half written blog posts, to published posts?

Natural language into sentence logic

Is it safe to use c_str() on a temporary string?

Unreliable Magic - Is it worth it?

Can I equip Skullclamp on a creature I am sacrificing?

Why do remote companies require working in the US?

Is HostGator storing my password in plaintext?

How do we know the LHC results are robust?

What does "Its cash flow is deeply negative" mean?

Is a stroke of luck acceptable after a series of unfavorable events?

Does it take more energy to get to Venus or to Mars?



How to redefine the exponent command



The Next CEO of Stack Overflow










0















I prepare a package that defines a special environment, let us call it myenv, and within the myenv a command, let us call it mycom that stacks its arguments the one above the other. So mycomx[y] stacks x above the optional y (if y is not given the command considers y to be ).



In myenv math makes no sense so I want to simplify the typing by writing y^x (or y^x) in textmode to mean mycomx[y].
When the myenv closes the meaning of ^ must return to normal.



How can I do this?









share


























    0















    I prepare a package that defines a special environment, let us call it myenv, and within the myenv a command, let us call it mycom that stacks its arguments the one above the other. So mycomx[y] stacks x above the optional y (if y is not given the command considers y to be ).



    In myenv math makes no sense so I want to simplify the typing by writing y^x (or y^x) in textmode to mean mycomx[y].
    When the myenv closes the meaning of ^ must return to normal.



    How can I do this?









    share
























      0












      0








      0








      I prepare a package that defines a special environment, let us call it myenv, and within the myenv a command, let us call it mycom that stacks its arguments the one above the other. So mycomx[y] stacks x above the optional y (if y is not given the command considers y to be ).



      In myenv math makes no sense so I want to simplify the typing by writing y^x (or y^x) in textmode to mean mycomx[y].
      When the myenv closes the meaning of ^ must return to normal.



      How can I do this?









      share














      I prepare a package that defines a special environment, let us call it myenv, and within the myenv a command, let us call it mycom that stacks its arguments the one above the other. So mycomx[y] stacks x above the optional y (if y is not given the command considers y to be ).



      In myenv math makes no sense so I want to simplify the typing by writing y^x (or y^x) in textmode to mean mycomx[y].
      When the myenv closes the meaning of ^ must return to normal.



      How can I do this?







      macros





      share












      share










      share



      share










      asked 1 min ago









      AntonisAntonis

      111




      111




















          0






          active

          oldest

          votes












          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%2f482061%2fhow-to-redefine-the-exponent-command%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f482061%2fhow-to-redefine-the-exponent-command%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

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm