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
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 
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
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.
|
show 1 more comment
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 
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
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
Changehspace1cmtohfill. 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
|
show 1 more comment
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 
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
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 
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
vertical-alignment
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.
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
Changehspace1cmtohfill. 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
|
show 1 more comment
1
Changehspace1cmtohfill. 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
|
show 1 more comment
2 Answers
2
active
oldest
votes
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

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?.
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 usingalignfor one-line equations? It's not meant for that; it's meant for multi-line equations. Better to useequation.
– barbara beeton
27 mins ago
add a comment |
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

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
);
);
K.M 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%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
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

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?.
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 usingalignfor one-line equations? It's not meant for that; it's meant for multi-line equations. Better to useequation.
– barbara beeton
27 mins ago
add a comment |
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

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?.
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 usingalignfor one-line equations? It's not meant for that; it's meant for multi-line equations. Better to useequation.
– barbara beeton
27 mins ago
add a comment |
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

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?.
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

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?.
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 usingalignfor one-line equations? It's not meant for that; it's meant for multi-line equations. Better to useequation.
– barbara beeton
27 mins ago
add a comment |
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 usingalignfor one-line equations? It's not meant for that; it's meant for multi-line equations. Better to useequation.
– 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
add a comment |
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

add a comment |
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

add a comment |
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

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

answered 2 hours ago
Vinccool96Vinccool96
41211
41211
add a comment |
add a comment |
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.
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.
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%2f482302%2fhow-do-i-align-1-and-2%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
Change
hspace1cmtohfill. 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