What is the correct way to typeset a vector when there are subscripts or superscript? The Next CEO of Stack OverflowWhat is the correct way to write the abbreviation of “the first”?When I add a “hat” to a character, I cannot get a gap before the superscriptConfigurable and Extensible Accents (Arrows, Dots, Vectors)Subscript not aligned when there is superscriptAdding vertical padding to characters in mathCorrect typesetting for vectors with subscriptWhen there are successive terms with subscripts in a formula, the subscript size is smaller in the earlier termConTeXt : equivalent to LaTeX esvectIs there any way that I can put the subscript and superscript at the back of a symbol?Simple way to typeset vector going in and out of the plane in tikz

Compilation of a 2d array and a 1d array

What day is it again?

It it possible to avoid kiwi.com's automatic online check-in and instead do it manually by yourself?

Is it possible to make a 9x9 table fit within the default margins?

Is a distribution that is normal, but highly skewed, considered Gaussian?

What does it mean 'exit 1' for a job status after rclone sync

Another proof that dividing by 0 does not exist -- is it right?

Why did Batya get tzaraat?

How should I connect my cat5 cable to connectors having an orange-green line?

Why does freezing point matter when picking cooler ice packs?

Does int main() need a declaration on C++?

Cannot restore registry to default in Windows 10?

Gauss' Posthumous Publications?

How do I keep Mac Emacs from trapping M-`?

Create custom note boxes

Salesforce opportunity stages

How exploitable/balanced is this homebrew spell: Spell Permanency?

How dangerous is XSS

That's an odd coin - I wonder why

My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?

Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?

Could a dragon use its wings to swim?

Is it okay to majorly distort historical facts while writing a fiction story?

Is there a rule of thumb for determining the amount one should accept for of a settlement offer?



What is the correct way to typeset a vector when there are subscripts or superscript?



The Next CEO of Stack OverflowWhat is the correct way to write the abbreviation of “the first”?When I add a “hat” to a character, I cannot get a gap before the superscriptConfigurable and Extensible Accents (Arrows, Dots, Vectors)Subscript not aligned when there is superscriptAdding vertical padding to characters in mathCorrect typesetting for vectors with subscriptWhen there are successive terms with subscripts in a formula, the subscript size is smaller in the earlier termConTeXt : equivalent to LaTeX esvectIs there any way that I can put the subscript and superscript at the back of a symbol?Simple way to typeset vector going in and out of the plane in tikz










0















Consider this MWE:



documentclassarticle

begindocument

[vecv_12345^12345678]

[overrightarrowP_12345P_12345^12345678]

enddocument


MWE output



As you can see, vec is designed to typeset a vector with an arrow above the argument.



However, when we do not have a unary symbol to represent a vector (e.g. the difference between the coordinates of two points) then we can use overrightarrow. But this notation has two problems:



  1. When we are working with long chain of numbers overrightarrow collides with it, as shown in the example.

  2. And I think the most important: it is not consistent with vec. Why? Because vec stops the arrow before the subscript/superscript, but overrightarrow continues the arrow to the end regardless of the existence or not of subscript/superscript.

Remember that we are writing vectors, no matter the length of the text that represents the vector.



What I want



With your huge help, I would like to write the following:



Example of what I want



Example 2 of what I want



Example 3 of what I want



Thanks!!









share




























    0















    Consider this MWE:



    documentclassarticle

    begindocument

    [vecv_12345^12345678]

    [overrightarrowP_12345P_12345^12345678]

    enddocument


    MWE output



    As you can see, vec is designed to typeset a vector with an arrow above the argument.



    However, when we do not have a unary symbol to represent a vector (e.g. the difference between the coordinates of two points) then we can use overrightarrow. But this notation has two problems:



    1. When we are working with long chain of numbers overrightarrow collides with it, as shown in the example.

    2. And I think the most important: it is not consistent with vec. Why? Because vec stops the arrow before the subscript/superscript, but overrightarrow continues the arrow to the end regardless of the existence or not of subscript/superscript.

    Remember that we are writing vectors, no matter the length of the text that represents the vector.



    What I want



    With your huge help, I would like to write the following:



    Example of what I want



    Example 2 of what I want



    Example 3 of what I want



    Thanks!!









    share


























      0












      0








      0








      Consider this MWE:



      documentclassarticle

      begindocument

      [vecv_12345^12345678]

      [overrightarrowP_12345P_12345^12345678]

      enddocument


      MWE output



      As you can see, vec is designed to typeset a vector with an arrow above the argument.



      However, when we do not have a unary symbol to represent a vector (e.g. the difference between the coordinates of two points) then we can use overrightarrow. But this notation has two problems:



      1. When we are working with long chain of numbers overrightarrow collides with it, as shown in the example.

      2. And I think the most important: it is not consistent with vec. Why? Because vec stops the arrow before the subscript/superscript, but overrightarrow continues the arrow to the end regardless of the existence or not of subscript/superscript.

      Remember that we are writing vectors, no matter the length of the text that represents the vector.



      What I want



      With your huge help, I would like to write the following:



      Example of what I want



      Example 2 of what I want



      Example 3 of what I want



      Thanks!!









      share
















      Consider this MWE:



      documentclassarticle

      begindocument

      [vecv_12345^12345678]

      [overrightarrowP_12345P_12345^12345678]

      enddocument


      MWE output



      As you can see, vec is designed to typeset a vector with an arrow above the argument.



      However, when we do not have a unary symbol to represent a vector (e.g. the difference between the coordinates of two points) then we can use overrightarrow. But this notation has two problems:



      1. When we are working with long chain of numbers overrightarrow collides with it, as shown in the example.

      2. And I think the most important: it is not consistent with vec. Why? Because vec stops the arrow before the subscript/superscript, but overrightarrow continues the arrow to the end regardless of the existence or not of subscript/superscript.

      Remember that we are writing vectors, no matter the length of the text that represents the vector.



      What I want



      With your huge help, I would like to write the following:



      Example of what I want



      Example 2 of what I want



      Example 3 of what I want



      Thanks!!







      arrows subscripts superscripts vector





      share














      share












      share



      share








      edited 2 mins ago







      manooooh

















      asked 8 mins ago









      manoooohmanooooh

      1,1631517




      1,1631517




















          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%2f482665%2fwhat-is-the-correct-way-to-typeset-a-vector-when-there-are-subscripts-or-supersc%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%2f482665%2fwhat-is-the-correct-way-to-typeset-a-vector-when-there-are-subscripts-or-supersc%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

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"