How to add superscript on summation symbolMore aesthetic (perhaps shallower) superscript check symbolError...
How can I ensure my trip to the UK will not have to be cancelled because of Brexit?
What problems would a superhuman have whose skin is constantly hot?
Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?
Error during using callback start_page_number in lualatex
Difference on montgomery curve equation between EFD and RFC7748
Virginia employer terminated employee and wants signing bonus returned
What was the Kree's motivation in Captain Marvel?
How to secure an aircraft at a transient parking space?
Should I tell my boss the work he did was worthless
List elements digit difference sort
What Happens when Passenger Refuses to Fly Boeing 737 Max?
Is "history" a male-biased word ("his+story")?
Can one live in the U.S. and not use a credit card?
Accepted offer letter, position changed
Do f-stop and exposure time perfectly cancel?
Is it possible to avoid unpacking when merging Association?
Can I pump my MTB tire to max (55 psi / 380 kPa) without the tube inside bursting?
Vocabulary for giving just numbers, not a full answer
Accountant/ lawyer will not return my call
Does a warlock using the Darkness/Devil's Sight combo still have advantage on ranged attacks against a target outside the Darkness?
Is it "Vierergruppe" or "Viergruppe", or is there a distinction?
Are all players supposed to be able to see each others' character sheets?
Motivation for Zeta Function of an Algebraic Variety
Find longest word in a string: are any of these algorithms good?
How to add superscript on summation symbol
More aesthetic (perhaps shallower) superscript check symbolError using lrtimesHow to replace parentheses with symbol of other font so that they are expandable?How to make circle with colored halves?bot like symbol with two horizontal linesLaTeX Symbols do not work any moreAdd code syntax (like @data) to indexHow to get ^{i} working in math enviromentRecursive symbolsUse a superscript prime symbol in Bibtex
I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.
Here is the code:
begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}
symbols
New contributor
add a comment |
I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.
Here is the code:
begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}
symbols
New contributor
1
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,textsuperscript
is not valid in math mode. And the&
is out of place.
– egreg
2 hours ago
You might look at thesideset
command fromamsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally viatexdoc amsldoc
at a command prompt.
– barbara beeton
2 hours ago
add a comment |
I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.
Here is the code:
begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}
symbols
New contributor
I'd like to add superscript on summation symbol, but I get an error message: Please, use mathaccent for accents in math mode. I can't use ^ symbol to add superscript.
Here is the code:
begin{equation}
y & = beta_{0}+sumˆ{2}_{j=1}beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}beta_{jj}X_{j}textsuperscript{2}
label{equation1}
end{equation}
symbols
symbols
New contributor
New contributor
edited 2 hours ago
koleygr
12.4k11038
12.4k11038
New contributor
asked 2 hours ago
Luciana GuedesLuciana Guedes
111
111
New contributor
New contributor
1
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,textsuperscript
is not valid in math mode. And the&
is out of place.
– egreg
2 hours ago
You might look at thesideset
command fromamsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally viatexdoc amsldoc
at a command prompt.
– barbara beeton
2 hours ago
add a comment |
1
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,textsuperscript
is not valid in math mode. And the&
is out of place.
– egreg
2 hours ago
You might look at thesideset
command fromamsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally viatexdoc amsldoc
at a command prompt.
– barbara beeton
2 hours ago
1
1
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,
textsuperscript
is not valid in math mode. And the &
is out of place.– egreg
2 hours ago
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,
textsuperscript
is not valid in math mode. And the &
is out of place.– egreg
2 hours ago
You might look at the
sideset
command from amsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc
at a command prompt.– barbara beeton
2 hours ago
You might look at the
sideset
command from amsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally via texdoc amsldoc
at a command prompt.– barbara beeton
2 hours ago
add a comment |
1 Answer
1
active
oldest
votes
You have a wrong ^
character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.
Your code with the correct character is something like:
documentclass{article}
begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}
And gives:
PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^
.
PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.
add a comment |
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
});
}
});
Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.
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%2f478998%2fhow-to-add-superscript-on-summation-symbol%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
You have a wrong ^
character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.
Your code with the correct character is something like:
documentclass{article}
begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}
And gives:
PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^
.
PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.
add a comment |
You have a wrong ^
character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.
Your code with the correct character is something like:
documentclass{article}
begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}
And gives:
PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^
.
PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.
add a comment |
You have a wrong ^
character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.
Your code with the correct character is something like:
documentclass{article}
begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}
And gives:
PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^
.
PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.
You have a wrong ^
character that is not a ascii character but possibly something with similar appearance and this is what causes the whole problem.
Your code with the correct character is something like:
documentclass{article}
begin{document}
begin{equation}
y = beta_{0}+sum_{j=1}^{2} beta_{j}X_{j}+sumsum_{i<j}beta_{ij}X_{i}X{j}+sum_{j=1}^2beta_{jj}X_{j}^2
label{equation1}
end{equation}
end{document}
And gives:
PS1: Not sure about the last power and the last upper limit of the sum, but you will see it works if you just delete your bad character and replace with the original keyboard's ^
.
PS2: For readability never start a sum by its upper limit, but use first its lower limit instead.
edited 2 hours ago
answered 2 hours ago
koleygrkoleygr
12.4k11038
12.4k11038
add a comment |
add a comment |
Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.
Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.
Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.
Luciana Guedes is a new contributor. Be nice, and check out our Code of Conduct.
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%2f478998%2fhow-to-add-superscript-on-summation-symbol%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
1
Welcome to TeX.SX! It's not at all clear where the superscript is meant to go. Besides,
textsuperscript
is not valid in math mode. And the&
is out of place.– egreg
2 hours ago
You might look at the
sideset
command fromamsmath
. If you have a tex installation based on TeX Live, tyou shoyuld be able to look at this documentation locally viatexdoc amsldoc
at a command prompt.– barbara beeton
2 hours ago