What is the correct way to typeset a vector when there are subscripts or superscript? The Next...
How do I secure a TV wall mount?
Is it possible to create a QR code using text?
Finitely generated matrix groups whose eigenvalues are all algebraic
Physiological effects of huge anime eyes
Strange use of "whether ... than ..." in official text
How to pronounce fünf in 45
What steps are necessary to read a Modern SSD in Medieval Europe?
It it possible to avoid kiwi.com's automatic online check-in and instead do it manually by yourself?
Does int main() need a declaration on C++?
Direct Implications Between USA and UK in Event of No-Deal Brexit
That's an odd coin - I wonder why
Is it possible to make a 9x9 table fit within the default margins?
Compensation for working overtime on Saturdays
Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?
Is it correct to say moon starry nights?
A hang glider, sudden unexpected lift to 25,000 feet altitude, what could do this?
Find the majority element, which appears more than half the time
Are British MPs missing the point, with these 'Indicative Votes'?
What are the unusually-enlarged wing sections on this P-38 Lightning?
Mathematica command that allows it to read my intentions
Incomplete cube
How can I prove that a state of equilibrium is unstable?
How to find if SQL server backup is encrypted with TDE without restoring the backup
Create custom note boxes
What is the correct way to typeset a vector when there are subscripts or superscript?
The Next CEO of Stack Overflow
Consider this MWE:
documentclass{article}
begin{document}
[vec{v}_{12345}^{12345678}]
[overrightarrow{P_{12345}P_{12345}^{12345678}}]
end{document}

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:
- When we are working with long chain of numbers
overrightarrowcollides with it. as shown in the example. - And I think the most important: it is not consistent with
vec. Why? Becausevecstop the arrow before the subscript/superscript, butoverrightarrowcontinues the arrow at 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:



Thanks!!
arrows subscripts superscripts vector
add a comment |
Consider this MWE:
documentclass{article}
begin{document}
[vec{v}_{12345}^{12345678}]
[overrightarrow{P_{12345}P_{12345}^{12345678}}]
end{document}

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:
- When we are working with long chain of numbers
overrightarrowcollides with it. as shown in the example. - And I think the most important: it is not consistent with
vec. Why? Becausevecstop the arrow before the subscript/superscript, butoverrightarrowcontinues the arrow at 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:



Thanks!!
arrows subscripts superscripts vector
add a comment |
Consider this MWE:
documentclass{article}
begin{document}
[vec{v}_{12345}^{12345678}]
[overrightarrow{P_{12345}P_{12345}^{12345678}}]
end{document}

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:
- When we are working with long chain of numbers
overrightarrowcollides with it. as shown in the example. - And I think the most important: it is not consistent with
vec. Why? Becausevecstop the arrow before the subscript/superscript, butoverrightarrowcontinues the arrow at 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:



Thanks!!
arrows subscripts superscripts vector
Consider this MWE:
documentclass{article}
begin{document}
[vec{v}_{12345}^{12345678}]
[overrightarrow{P_{12345}P_{12345}^{12345678}}]
end{document}

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:
- When we are working with long chain of numbers
overrightarrowcollides with it. as shown in the example. - And I think the most important: it is not consistent with
vec. Why? Becausevecstop the arrow before the subscript/superscript, butoverrightarrowcontinues the arrow at 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:



Thanks!!
arrows subscripts superscripts vector
arrows subscripts superscripts vector
asked 2 mins ago
manoooohmanooooh
1,1631517
1,1631517
add a comment |
add a comment |
0
active
oldest
votes
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
