What the error in writing this equation by latex?












4















begin{eqnarray*}
f(lambda x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}


What the error in writing this equation by latex?



the oregenal equation










share|improve this question




















  • 5





    please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

    – David Carlisle
    Mar 8 at 21:00






  • 1





    @Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

    – koleygr
    Mar 8 at 21:28











  • @Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

    – David Carlisle
    Mar 8 at 21:48
















4















begin{eqnarray*}
f(lambda x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}


What the error in writing this equation by latex?



the oregenal equation










share|improve this question




















  • 5





    please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

    – David Carlisle
    Mar 8 at 21:00






  • 1





    @Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

    – koleygr
    Mar 8 at 21:28











  • @Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

    – David Carlisle
    Mar 8 at 21:48














4












4








4








begin{eqnarray*}
f(lambda x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}


What the error in writing this equation by latex?



the oregenal equation










share|improve this question
















begin{eqnarray*}
f(lambda x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}


What the error in writing this equation by latex?



the oregenal equation







equations






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 21:48









David Carlisle

499k4111451894




499k4111451894










asked Mar 8 at 20:59









H MH M

212




212








  • 5





    please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

    – David Carlisle
    Mar 8 at 21:00






  • 1





    @Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

    – koleygr
    Mar 8 at 21:28











  • @Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

    – David Carlisle
    Mar 8 at 21:48














  • 5





    please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

    – David Carlisle
    Mar 8 at 21:00






  • 1





    @Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

    – koleygr
    Mar 8 at 21:28











  • @Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

    – David Carlisle
    Mar 8 at 21:48








5




5





please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

– David Carlisle
Mar 8 at 21:00





please always post a complete small document that produces the error and show the error you got. eqnarray should have more than one row, and each row should have two & but not doing that does not generate an error, just bad output.

– David Carlisle
Mar 8 at 21:00




1




1





@Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

– koleygr
Mar 8 at 21:28





@Mico... Actually for Greeks the typo is inside lambda and not the opposite... So, it is a bug in the name... But you are right.

– koleygr
Mar 8 at 21:28













@Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

– David Carlisle
Mar 8 at 21:48





@Mico also it's a typo added since I posted my answer, otherwise the error I showed would be different, I'll revert :(

– David Carlisle
Mar 8 at 21:48










1 Answer
1






active

oldest

votes


















7














documentclass{article}

begin{document}
begin{eqnarray*}
f(q x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}
end{document}


produces the error



! Package inputenc Error: Unicode character − (U+2212)
(inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.5 f(q x+(1−
lambda)y)leq lambda f(x)+(1−lambda)f(y)
?


use an ascii minus sign - not −



Also you should use [...] not eqnarray* for a single line equation with no alignment points.






share|improve this answer



















  • 1





    thanks a lot it run with me ...............................................................................................................thanks

    – H M
    Mar 8 at 21:20






  • 2





    @HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

    – bradrn
    Mar 9 at 1: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',
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%2f478484%2fwhat-the-error-in-writing-this-equation-by-latex%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









7














documentclass{article}

begin{document}
begin{eqnarray*}
f(q x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}
end{document}


produces the error



! Package inputenc Error: Unicode character − (U+2212)
(inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.5 f(q x+(1−
lambda)y)leq lambda f(x)+(1−lambda)f(y)
?


use an ascii minus sign - not −



Also you should use [...] not eqnarray* for a single line equation with no alignment points.






share|improve this answer



















  • 1





    thanks a lot it run with me ...............................................................................................................thanks

    – H M
    Mar 8 at 21:20






  • 2





    @HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

    – bradrn
    Mar 9 at 1:23
















7














documentclass{article}

begin{document}
begin{eqnarray*}
f(q x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}
end{document}


produces the error



! Package inputenc Error: Unicode character − (U+2212)
(inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.5 f(q x+(1−
lambda)y)leq lambda f(x)+(1−lambda)f(y)
?


use an ascii minus sign - not −



Also you should use [...] not eqnarray* for a single line equation with no alignment points.






share|improve this answer



















  • 1





    thanks a lot it run with me ...............................................................................................................thanks

    – H M
    Mar 8 at 21:20






  • 2





    @HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

    – bradrn
    Mar 9 at 1:23














7












7








7







documentclass{article}

begin{document}
begin{eqnarray*}
f(q x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}
end{document}


produces the error



! Package inputenc Error: Unicode character − (U+2212)
(inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.5 f(q x+(1−
lambda)y)leq lambda f(x)+(1−lambda)f(y)
?


use an ascii minus sign - not −



Also you should use [...] not eqnarray* for a single line equation with no alignment points.






share|improve this answer













documentclass{article}

begin{document}
begin{eqnarray*}
f(q x+(1−lambda)y)leq lambda f(x)+(1−lambda)f(y)
end{eqnarray*}
end{document}


produces the error



! Package inputenc Error: Unicode character − (U+2212)
(inputenc) not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...

l.5 f(q x+(1−
lambda)y)leq lambda f(x)+(1−lambda)f(y)
?


use an ascii minus sign - not −



Also you should use [...] not eqnarray* for a single line equation with no alignment points.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 21:05









David CarlisleDavid Carlisle

499k4111451894




499k4111451894








  • 1





    thanks a lot it run with me ...............................................................................................................thanks

    – H M
    Mar 8 at 21:20






  • 2





    @HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

    – bradrn
    Mar 9 at 1:23














  • 1





    thanks a lot it run with me ...............................................................................................................thanks

    – H M
    Mar 8 at 21:20






  • 2





    @HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

    – bradrn
    Mar 9 at 1:23








1




1





thanks a lot it run with me ...............................................................................................................thanks

– H M
Mar 8 at 21:20





thanks a lot it run with me ...............................................................................................................thanks

– H M
Mar 8 at 21:20




2




2





@HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

– bradrn
Mar 9 at 1:23





@HM If this response answers your question, could you accept it? (Press the green checkbox next to the voting buttons to do that.)

– bradrn
Mar 9 at 1:23


















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%2f478484%2fwhat-the-error-in-writing-this-equation-by-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

Index of /

Tribalistas

Várzea Paulista