LaTeX multi-character subscript











up vote
0
down vote

favorite












I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax



I managed to get LaTeX to do this using this syntax:



[
vec{V} = vec{N_t_0} * M cdots vec{N_t_m_a_x} * M
]


This syntax throws multiple Double subscript errors.



Although it produced the intended results despite these errors, eventually these errors cause weird behaviors in the document, such as the bibliography dropping references, etc. What is the correct syntax to produce the result I need without throwing errors?










share|improve this question













migrated from stackoverflow.com Nov 11 at 14:44


This question came from our site for professional and enthusiast programmers.















  • note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
    – David Carlisle
    Nov 11 at 14:55

















up vote
0
down vote

favorite












I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax



I managed to get LaTeX to do this using this syntax:



[
vec{V} = vec{N_t_0} * M cdots vec{N_t_m_a_x} * M
]


This syntax throws multiple Double subscript errors.



Although it produced the intended results despite these errors, eventually these errors cause weird behaviors in the document, such as the bibliography dropping references, etc. What is the correct syntax to produce the result I need without throwing errors?










share|improve this question













migrated from stackoverflow.com Nov 11 at 14:44


This question came from our site for professional and enthusiast programmers.















  • note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
    – David Carlisle
    Nov 11 at 14:55















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax



I managed to get LaTeX to do this using this syntax:



[
vec{V} = vec{N_t_0} * M cdots vec{N_t_m_a_x} * M
]


This syntax throws multiple Double subscript errors.



Although it produced the intended results despite these errors, eventually these errors cause weird behaviors in the document, such as the bibliography dropping references, etc. What is the correct syntax to produce the result I need without throwing errors?










share|improve this question













I am including a formula in a LaTeX document that includes subscript that consists of more than one character: N sub t0 and N sub tmax



I managed to get LaTeX to do this using this syntax:



[
vec{V} = vec{N_t_0} * M cdots vec{N_t_m_a_x} * M
]


This syntax throws multiple Double subscript errors.



Although it produced the intended results despite these errors, eventually these errors cause weird behaviors in the document, such as the bibliography dropping references, etc. What is the correct syntax to produce the result I need without throwing errors?







subscripts






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 10 at 2:15









Chan Bulgin

1




1




migrated from stackoverflow.com Nov 11 at 14:44


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Nov 11 at 14:44


This question came from our site for professional and enthusiast programmers.














  • note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
    – David Carlisle
    Nov 11 at 14:55




















  • note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
    – David Carlisle
    Nov 11 at 14:55


















note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
– David Carlisle
Nov 11 at 14:55






note that even for a single character the official syntax would be N_{t} so multiple characters just go in the argument group in the same way: N_{t_{0}}
– David Carlisle
Nov 11 at 14:55












1 Answer
1






active

oldest

votes

















up vote
0
down vote













If you wish to have multiple entries in a single subscript (or superscript), you need to group them using {...}. Below is an update to your equation, with appropriate use of vec and other elements:



enter image description here



documentclass{article}

begin{document}

[
vec{V} = vec{N}_{t_0} times M cdots vec{N}_{t_{mathrm{max}}} times M
]

end{document}





share|improve this answer





















  • This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
    – Chan Bulgin
    Nov 12 at 14:23











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',
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%2f459471%2flatex-multi-character-subscript%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote













If you wish to have multiple entries in a single subscript (or superscript), you need to group them using {...}. Below is an update to your equation, with appropriate use of vec and other elements:



enter image description here



documentclass{article}

begin{document}

[
vec{V} = vec{N}_{t_0} times M cdots vec{N}_{t_{mathrm{max}}} times M
]

end{document}





share|improve this answer





















  • This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
    – Chan Bulgin
    Nov 12 at 14:23















up vote
0
down vote













If you wish to have multiple entries in a single subscript (or superscript), you need to group them using {...}. Below is an update to your equation, with appropriate use of vec and other elements:



enter image description here



documentclass{article}

begin{document}

[
vec{V} = vec{N}_{t_0} times M cdots vec{N}_{t_{mathrm{max}}} times M
]

end{document}





share|improve this answer





















  • This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
    – Chan Bulgin
    Nov 12 at 14:23













up vote
0
down vote










up vote
0
down vote









If you wish to have multiple entries in a single subscript (or superscript), you need to group them using {...}. Below is an update to your equation, with appropriate use of vec and other elements:



enter image description here



documentclass{article}

begin{document}

[
vec{V} = vec{N}_{t_0} times M cdots vec{N}_{t_{mathrm{max}}} times M
]

end{document}





share|improve this answer












If you wish to have multiple entries in a single subscript (or superscript), you need to group them using {...}. Below is an update to your equation, with appropriate use of vec and other elements:



enter image description here



documentclass{article}

begin{document}

[
vec{V} = vec{N}_{t_0} times M cdots vec{N}_{t_{mathrm{max}}} times M
]

end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 11 at 6:10









Werner

432k609511632




432k609511632












  • This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
    – Chan Bulgin
    Nov 12 at 14:23


















  • This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
    – Chan Bulgin
    Nov 12 at 14:23
















This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
– Chan Bulgin
Nov 12 at 14:23




This absolutely fixed the problem and in retrospect enclosing the entire string in braces makes complete sense. Thank you very much!
– Chan Bulgin
Nov 12 at 14:23


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459471%2flatex-multi-character-subscript%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

Coverage of Google Street View

Full-time equivalent

Surfing