MAE equation in latex











up vote
0
down vote

favorite
1












begin{equation} label{equ:mae}
begin{tabulary} {18cm}{L R @{} >{${}}c<{{}$} @{} L}
& MAE &= &$displaystylefrac{1}{n}sum_{i=1}^{n}|p_i-r_i|$ \
end{tabulary}
end{equation}


I have error in the equation number that comes next to the equation










share|improve this question




















  • 1




    Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
    – Andrew
    Nov 19 at 22:38










  • BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
    – Andrew
    Nov 19 at 22:40








  • 1




    Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
    – Mico
    Nov 19 at 22:43








  • 3




    why are you using tabulary here? (or any table at all) You just have a single single line equation
    – David Carlisle
    Nov 19 at 22:45















up vote
0
down vote

favorite
1












begin{equation} label{equ:mae}
begin{tabulary} {18cm}{L R @{} >{${}}c<{{}$} @{} L}
& MAE &= &$displaystylefrac{1}{n}sum_{i=1}^{n}|p_i-r_i|$ \
end{tabulary}
end{equation}


I have error in the equation number that comes next to the equation










share|improve this question




















  • 1




    Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
    – Andrew
    Nov 19 at 22:38










  • BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
    – Andrew
    Nov 19 at 22:40








  • 1




    Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
    – Mico
    Nov 19 at 22:43








  • 3




    why are you using tabulary here? (or any table at all) You just have a single single line equation
    – David Carlisle
    Nov 19 at 22:45













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





begin{equation} label{equ:mae}
begin{tabulary} {18cm}{L R @{} >{${}}c<{{}$} @{} L}
& MAE &= &$displaystylefrac{1}{n}sum_{i=1}^{n}|p_i-r_i|$ \
end{tabulary}
end{equation}


I have error in the equation number that comes next to the equation










share|improve this question















begin{equation} label{equ:mae}
begin{tabulary} {18cm}{L R @{} >{${}}c<{{}$} @{} L}
& MAE &= &$displaystylefrac{1}{n}sum_{i=1}^{n}|p_i-r_i|$ \
end{tabulary}
end{equation}


I have error in the equation number that comes next to the equation







equations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 19 at 22:46









David Carlisle

477k3811061841




477k3811061841










asked Nov 19 at 22:34









G.alshammari

202




202








  • 1




    Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
    – Andrew
    Nov 19 at 22:38










  • BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
    – Andrew
    Nov 19 at 22:40








  • 1




    Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
    – Mico
    Nov 19 at 22:43








  • 3




    why are you using tabulary here? (or any table at all) You just have a single single line equation
    – David Carlisle
    Nov 19 at 22:45














  • 1




    Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
    – Andrew
    Nov 19 at 22:38










  • BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
    – Andrew
    Nov 19 at 22:40








  • 1




    Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
    – Mico
    Nov 19 at 22:43








  • 3




    why are you using tabulary here? (or any table at all) You just have a single single line equation
    – David Carlisle
    Nov 19 at 22:45








1




1




Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
– Andrew
Nov 19 at 22:38




Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. It is much easier to help you if we can start with some compilable code that illustrates your problem. A MWE should start with a documentclass command, include any necessary packages and be as small as possible to demonstrate your problem. You can highlight code in your post using back-ticks. To highlight code-blocks, either indent them by four spaces or use the {} on the gui.
– Andrew
Nov 19 at 22:38












BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
– Andrew
Nov 19 at 22:40






BTW, your code compiles fine for me. Do you have usepackage{tabulary} in your preamble? Also, I would not use tabulary here anyway and would instead use begin{equation} label{equ:mae} textrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}.
– Andrew
Nov 19 at 22:40






1




1




Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
– Mico
Nov 19 at 22:43






Just out of idle curiosity, why don't you write begin{equation} label{equ:mae} mathrm{MAE} = frac{1}{n}sum_{i=1}^{n}|p_i-r_i| end{equation}? Put differently, what's the (typographic) purpose of encasing the equation in a tabulary environment? And why is the width of the tabulary environment set to 18cm?
– Mico
Nov 19 at 22:43






3




3




why are you using tabulary here? (or any table at all) You just have a single single line equation
– David Carlisle
Nov 19 at 22:45




why are you using tabulary here? (or any table at all) You just have a single single line equation
– David Carlisle
Nov 19 at 22:45















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',
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%2f460838%2fmae-equation-in-latex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460838%2fmae-equation-in-latex%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 to send String Array data to Server using php in android

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Is anime1.com a legal site for watching anime?