How do I align (1) and (2)? The Next CEO of Stack OverflowWhat are good learning resources for a LaTeX beginner?What are the differences between $$, [, align, equation and displaymath?Table and graph do not alignAlign text and logoHow do you align equations parts vertically?How to vertically align column membersHow to align author names?How do I align piecewise functions?How to vertically align undersets?Align section numbers and titleHow can I align?nomencl - right align abbreviation and left align descriptions followed by units

Why does standard notation not preserve intervals (visually)

Where do students learn to solve polynomial equations these days?

How do I align (1) and (2)?

Chain wire methods together in Lightning Web Components

If Nick Fury and Coulson already knew about aliens (Kree and Skrull) why did they wait until Thor's appearance to start making weapons?

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

What was the first Unix version to run on a microcomputer?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Received an invoice from my ex-employer billing me for training; how to handle?

Won the lottery - how do I keep the money?

Why is my new battery behaving weirdly?

What happened in Rome, when the western empire "fell"?

Can we say or write : "No, it'sn't"?

What steps are necessary to read a Modern SSD in Medieval Europe?

Why the difference in type-inference over the as-pattern in two similar function definitions?

If the heap is zero-initialized for security, then why is the stack merely uninitialized?

What did we know about the Kessel run before the prologues?

Solving system of ODEs with extra parameter

Newlines in BSD sed vs gsed

Beveled cylinder cutout

Does increasing your ability score affect your main stat?

Which one is the true statement?

Is this "being" usage is essential?

Make solar eclipses exceedingly rare, but still have new moons



How do I align (1) and (2)?



The Next CEO of Stack OverflowWhat are good learning resources for a LaTeX beginner?What are the differences between $$, [, align, equation and displaymath?Table and graph do not alignAlign text and logoHow do you align equations parts vertically?How to vertically align column membersHow to align author names?How do I align piecewise functions?How to vertically align undersets?Align section numbers and titleHow can I align?nomencl - right align abbreviation and left align descriptions followed by units










1















The following code



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark


begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series

$$f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n hspace1cm(1)$$

is called the Taylor series for f around $z_0$.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
$$f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )$$ hfill (2)
endtheoremhrulefill


produces enter image description here



How can I align the (1) and (2), and also get (2) to be on the same line as (n=1,2,3,...)?










share|improve this question









New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

    – Kurt
    2 hours ago











  • Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

    – daleif
    2 hours ago











  • @daleif: What do I use instead? Also, I edited and added the preamble.

    – K.M
    2 hours ago











  • @Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

    – K.M
    2 hours ago






  • 2





    Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

    – daleif
    2 hours ago















1















The following code



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark


begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series

$$f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n hspace1cm(1)$$

is called the Taylor series for f around $z_0$.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
$$f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )$$ hfill (2)
endtheoremhrulefill


produces enter image description here



How can I align the (1) and (2), and also get (2) to be on the same line as (n=1,2,3,...)?










share|improve this question









New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

    – Kurt
    2 hours ago











  • Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

    – daleif
    2 hours ago











  • @daleif: What do I use instead? Also, I edited and added the preamble.

    – K.M
    2 hours ago











  • @Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

    – K.M
    2 hours ago






  • 2





    Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

    – daleif
    2 hours ago













1












1








1








The following code



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark


begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series

$$f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n hspace1cm(1)$$

is called the Taylor series for f around $z_0$.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
$$f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )$$ hfill (2)
endtheoremhrulefill


produces enter image description here



How can I align the (1) and (2), and also get (2) to be on the same line as (n=1,2,3,...)?










share|improve this question









New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












The following code



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark


begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series

$$f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n hspace1cm(1)$$

is called the Taylor series for f around $z_0$.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
$$f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )$$ hfill (2)
endtheoremhrulefill


produces enter image description here



How can I align the (1) and (2), and also get (2) to be on the same line as (n=1,2,3,...)?







vertical-alignment






share|improve this question









New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 hours ago







K.M













New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









K.MK.M

1084




1084




New contributor




K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






K.M is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1





    Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

    – Kurt
    2 hours ago











  • Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

    – daleif
    2 hours ago











  • @daleif: What do I use instead? Also, I edited and added the preamble.

    – K.M
    2 hours ago











  • @Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

    – K.M
    2 hours ago






  • 2





    Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

    – daleif
    2 hours ago












  • 1





    Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

    – Kurt
    2 hours ago











  • Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

    – daleif
    2 hours ago











  • @daleif: What do I use instead? Also, I edited and added the preamble.

    – K.M
    2 hours ago











  • @Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

    – K.M
    2 hours ago






  • 2





    Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

    – daleif
    2 hours ago







1




1





Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

– Kurt
2 hours ago





Change hspace1cm to hfill. Better you use the automatic numbering than doing it by your own ...

– Kurt
2 hours ago













Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

– daleif
2 hours ago





Show your full work not just sniplet, we need a full but minimal example. Also you should not ude $$... $$ syntax in a latex document. It does not follow latex configurations.

– daleif
2 hours ago













@daleif: What do I use instead? Also, I edited and added the preamble.

– K.M
2 hours ago





@daleif: What do I use instead? Also, I edited and added the preamble.

– K.M
2 hours ago













@Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

– K.M
2 hours ago





@Kurt: For whatever reason that makes (1) shift to the left. How would I incorporate the automatic numbering?

– K.M
2 hours ago




2




2





Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

– daleif
2 hours ago





Never even noticed you're setting the equation numbers by hand. You really should read a proper introduction to latex. You're already using amsmath, it provides many useful math constructions. Plus latex it self provides the equation environment which does exactly what you want here, automatically!

– daleif
2 hours ago










2 Answers
2






active

oldest

votes


















2














I highly suggest to use a different approach:



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry% I do not recommend to use this naiv canons of page construction for typographic reasons.
usepackage[noabbrev]cleveref%new package


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark


begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series
beginalign%observe that empty line is removed
f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n labeleq:Taylor
endalign%observe that empty line is removed
is called the emphTaylor series for f around $z_0$.%The definition is not in italics here to emphasize the term.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
beginalign
f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots ).%every parenthesis should be ended with a dot.
endalign
endtheorem

noindenthrulefill %alternative: hrule

You can use refer to the equation by: eqrefeq:Taylor or crefeq:Taylor.

enddocument


enter image description here



Please read the comments in the code and What are the differences between $$, [, align, equation and displaymath?. Other useful staff is written in https://ctan.org/pkg/short-math-guide, https://ctan.org/pkg/lshort-english, and What are good learning resources for a LaTeX beginner?.






share|improve this answer

























  • Can the downvoter please explain what is bad about this solution?

    – CampanIgnis
    2 hours ago











  • +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

    – Zarko
    2 hours ago












  • Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

    – barbara beeton
    27 mins ago


















3














Use another approach, with the equation environment:



documentclassarticle
usepackage[utf8]inputenc
usepackage[english]babel

usepackageamsthm
usepackageamsmath
usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


newtheoremdefinitionDefinition
newtheoremtheoremTheorem
theoremstyleremark

begindocument
titleExtra Credit
maketitle

begindefinition
If f is analytic at $z_0$, then the series

beginequation
f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n
endequation

is called the Taylor series for f around $z_0$.
enddefinition

begintheorem
If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
beginequation
f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )
endequation
endtheorem
hrulefill
enddocument







share|improve this answer























    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
    );



    );






    K.M is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482302%2fhow-do-i-align-1-and-2%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I highly suggest to use a different approach:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackage[english]babel

    usepackageamsthm
    usepackageamsmath
    usepackage[left=1.5in, right=1.5in, top=0.5in]geometry% I do not recommend to use this naiv canons of page construction for typographic reasons.
    usepackage[noabbrev]cleveref%new package


    newtheoremdefinitionDefinition
    newtheoremtheoremTheorem
    theoremstyleremark


    begindocument
    titleExtra Credit
    maketitle

    begindefinition
    If f is analytic at $z_0$, then the series
    beginalign%observe that empty line is removed
    f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n labeleq:Taylor
    endalign%observe that empty line is removed
    is called the emphTaylor series for f around $z_0$.%The definition is not in italics here to emphasize the term.
    enddefinition

    begintheorem
    If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
    beginalign
    f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots ).%every parenthesis should be ended with a dot.
    endalign
    endtheorem

    noindenthrulefill %alternative: hrule

    You can use refer to the equation by: eqrefeq:Taylor or crefeq:Taylor.

    enddocument


    enter image description here



    Please read the comments in the code and What are the differences between $$, [, align, equation and displaymath?. Other useful staff is written in https://ctan.org/pkg/short-math-guide, https://ctan.org/pkg/lshort-english, and What are good learning resources for a LaTeX beginner?.






    share|improve this answer

























    • Can the downvoter please explain what is bad about this solution?

      – CampanIgnis
      2 hours ago











    • +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

      – Zarko
      2 hours ago












    • Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

      – barbara beeton
      27 mins ago















    2














    I highly suggest to use a different approach:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackage[english]babel

    usepackageamsthm
    usepackageamsmath
    usepackage[left=1.5in, right=1.5in, top=0.5in]geometry% I do not recommend to use this naiv canons of page construction for typographic reasons.
    usepackage[noabbrev]cleveref%new package


    newtheoremdefinitionDefinition
    newtheoremtheoremTheorem
    theoremstyleremark


    begindocument
    titleExtra Credit
    maketitle

    begindefinition
    If f is analytic at $z_0$, then the series
    beginalign%observe that empty line is removed
    f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n labeleq:Taylor
    endalign%observe that empty line is removed
    is called the emphTaylor series for f around $z_0$.%The definition is not in italics here to emphasize the term.
    enddefinition

    begintheorem
    If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
    beginalign
    f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots ).%every parenthesis should be ended with a dot.
    endalign
    endtheorem

    noindenthrulefill %alternative: hrule

    You can use refer to the equation by: eqrefeq:Taylor or crefeq:Taylor.

    enddocument


    enter image description here



    Please read the comments in the code and What are the differences between $$, [, align, equation and displaymath?. Other useful staff is written in https://ctan.org/pkg/short-math-guide, https://ctan.org/pkg/lshort-english, and What are good learning resources for a LaTeX beginner?.






    share|improve this answer

























    • Can the downvoter please explain what is bad about this solution?

      – CampanIgnis
      2 hours ago











    • +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

      – Zarko
      2 hours ago












    • Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

      – barbara beeton
      27 mins ago













    2












    2








    2







    I highly suggest to use a different approach:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackage[english]babel

    usepackageamsthm
    usepackageamsmath
    usepackage[left=1.5in, right=1.5in, top=0.5in]geometry% I do not recommend to use this naiv canons of page construction for typographic reasons.
    usepackage[noabbrev]cleveref%new package


    newtheoremdefinitionDefinition
    newtheoremtheoremTheorem
    theoremstyleremark


    begindocument
    titleExtra Credit
    maketitle

    begindefinition
    If f is analytic at $z_0$, then the series
    beginalign%observe that empty line is removed
    f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n labeleq:Taylor
    endalign%observe that empty line is removed
    is called the emphTaylor series for f around $z_0$.%The definition is not in italics here to emphasize the term.
    enddefinition

    begintheorem
    If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
    beginalign
    f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots ).%every parenthesis should be ended with a dot.
    endalign
    endtheorem

    noindenthrulefill %alternative: hrule

    You can use refer to the equation by: eqrefeq:Taylor or crefeq:Taylor.

    enddocument


    enter image description here



    Please read the comments in the code and What are the differences between $$, [, align, equation and displaymath?. Other useful staff is written in https://ctan.org/pkg/short-math-guide, https://ctan.org/pkg/lshort-english, and What are good learning resources for a LaTeX beginner?.






    share|improve this answer















    I highly suggest to use a different approach:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackage[english]babel

    usepackageamsthm
    usepackageamsmath
    usepackage[left=1.5in, right=1.5in, top=0.5in]geometry% I do not recommend to use this naiv canons of page construction for typographic reasons.
    usepackage[noabbrev]cleveref%new package


    newtheoremdefinitionDefinition
    newtheoremtheoremTheorem
    theoremstyleremark


    begindocument
    titleExtra Credit
    maketitle

    begindefinition
    If f is analytic at $z_0$, then the series
    beginalign%observe that empty line is removed
    f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n labeleq:Taylor
    endalign%observe that empty line is removed
    is called the emphTaylor series for f around $z_0$.%The definition is not in italics here to emphasize the term.
    enddefinition

    begintheorem
    If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
    beginalign
    f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots ).%every parenthesis should be ended with a dot.
    endalign
    endtheorem

    noindenthrulefill %alternative: hrule

    You can use refer to the equation by: eqrefeq:Taylor or crefeq:Taylor.

    enddocument


    enter image description here



    Please read the comments in the code and What are the differences between $$, [, align, equation and displaymath?. Other useful staff is written in https://ctan.org/pkg/short-math-guide, https://ctan.org/pkg/lshort-english, and What are good learning resources for a LaTeX beginner?.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 2 hours ago

























    answered 2 hours ago









    CampanIgnisCampanIgnis

    3,08221034




    3,08221034












    • Can the downvoter please explain what is bad about this solution?

      – CampanIgnis
      2 hours ago











    • +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

      – Zarko
      2 hours ago












    • Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

      – barbara beeton
      27 mins ago

















    • Can the downvoter please explain what is bad about this solution?

      – CampanIgnis
      2 hours ago











    • +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

      – Zarko
      2 hours ago












    • Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

      – barbara beeton
      27 mins ago
















    Can the downvoter please explain what is bad about this solution?

    – CampanIgnis
    2 hours ago





    Can the downvoter please explain what is bad about this solution?

    – CampanIgnis
    2 hours ago













    +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

    – Zarko
    2 hours ago






    +1 for the answer, however you should mentioned in it that op approach to numbering of equations should be as you used in your answers.

    – Zarko
    2 hours ago














    Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

    – barbara beeton
    27 mins ago





    Why are you using align for one-line equations? It's not meant for that; it's meant for multi-line equations. Better to use equation.

    – barbara beeton
    27 mins ago











    3














    Use another approach, with the equation environment:



    documentclassarticle
    usepackage[utf8]inputenc
    usepackage[english]babel

    usepackageamsthm
    usepackageamsmath
    usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


    newtheoremdefinitionDefinition
    newtheoremtheoremTheorem
    theoremstyleremark

    begindocument
    titleExtra Credit
    maketitle

    begindefinition
    If f is analytic at $z_0$, then the series

    beginequation
    f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n
    endequation

    is called the Taylor series for f around $z_0$.
    enddefinition

    begintheorem
    If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
    beginequation
    f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )
    endequation
    endtheorem
    hrulefill
    enddocument







    share|improve this answer



























      3














      Use another approach, with the equation environment:



      documentclassarticle
      usepackage[utf8]inputenc
      usepackage[english]babel

      usepackageamsthm
      usepackageamsmath
      usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


      newtheoremdefinitionDefinition
      newtheoremtheoremTheorem
      theoremstyleremark

      begindocument
      titleExtra Credit
      maketitle

      begindefinition
      If f is analytic at $z_0$, then the series

      beginequation
      f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n
      endequation

      is called the Taylor series for f around $z_0$.
      enddefinition

      begintheorem
      If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
      beginequation
      f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )
      endequation
      endtheorem
      hrulefill
      enddocument







      share|improve this answer

























        3












        3








        3







        Use another approach, with the equation environment:



        documentclassarticle
        usepackage[utf8]inputenc
        usepackage[english]babel

        usepackageamsthm
        usepackageamsmath
        usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


        newtheoremdefinitionDefinition
        newtheoremtheoremTheorem
        theoremstyleremark

        begindocument
        titleExtra Credit
        maketitle

        begindefinition
        If f is analytic at $z_0$, then the series

        beginequation
        f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n
        endequation

        is called the Taylor series for f around $z_0$.
        enddefinition

        begintheorem
        If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
        beginequation
        f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )
        endequation
        endtheorem
        hrulefill
        enddocument







        share|improve this answer













        Use another approach, with the equation environment:



        documentclassarticle
        usepackage[utf8]inputenc
        usepackage[english]babel

        usepackageamsthm
        usepackageamsmath
        usepackage[left=1.5in, right=1.5in, top=0.5in]geometry


        newtheoremdefinitionDefinition
        newtheoremtheoremTheorem
        theoremstyleremark

        begindocument
        titleExtra Credit
        maketitle

        begindefinition
        If f is analytic at $z_0$, then the series

        beginequation
        f(z_0) + f'(z_0)(z-z_0) + fracf''(z_0)2!(z-z_0)^2 + cdots = sum_n=0^infty fracf^(n)(z_0)n!(z-z_0)^n
        endequation

        is called the Taylor series for f around $z_0$.
        enddefinition

        begintheorem
        If f is analytic inside and on the simple closed positively oriented contour $Gamma$ and if $z_0$ is any point inside $Gamma$, then
        beginequation
        f^(n)(z_0) = fracn!2pi i int_Gamma fracf(zeta)(zeta - z_0)^n+1dzeta hspace1cm (n=1,2,3, cdots )
        endequation
        endtheorem
        hrulefill
        enddocument








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        Vinccool96Vinccool96

        41211




        41211




















            K.M is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            K.M is a new contributor. Be nice, and check out our Code of Conduct.












            K.M is a new contributor. Be nice, and check out our Code of Conduct.











            K.M 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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482302%2fhow-do-i-align-1-and-2%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

            Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

            Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

            Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»