TeX - LaTeX Asked on June 14, 2021
I have this
begin{align} label{computation-one}
&langle tilde{overline{nabla}}_{tilde{e}_i} tilde{textbf{S}}, tilde{e}_j rangle^2 +
langle tilde{overline{nabla}}_{e^{-f}tilde{e}_0} tilde{textbf{S}}, e^{-f}tilde{e}_0
rangle^2 + sumlimits_{i=1}^n tilde{R}(tilde{e}_i, tilde{textbf{S}}, tilde{textbf{S}},
tilde{e}_i) + tilde{R}(e^{-f}tilde{e}_0, tilde{textbf{S}}, tilde{textbf{S}}, e^{-
f}tilde{e}_0)
&= langle overline{nabla}_{e_i} textbf{S}, e_j rangle^2 + sumlimits_{i=1}^n R(e_i,
textbf{S}, textbf{S}, e_i) - sumlimits_{alpha,beta=n+1}^{n+p} S^{alpha}S^{beta}
overline{nabla}_{alpha} overline{nabla}_{beta} f + e^{-4f} left(
sumlimits_{alpha=n+1}^{n+p} S^{alpha} tilde{h}^{alpha}_{00} right)^2
&- sumlimits_{alpha,beta=n+1}^{n+p} S^{alpha}S^{beta} overline{nabla}_{alpha} f
overline{nabla}_{beta} f.
end{align}
which gives
but I would like to have this
How can I do this?
Thanks in advance!
I would like to suggest that you nest an aligned
environment inside an equation
environment. That way, if you ever decide that you would prefer to place the equation number at the bottom instead of at the top, all you'd have to change is replace begin{aligned}[t]
with begin{aligned}[b]
.
I would also like to suggest you load the mathtools
package and use its smashoperator
macro to tighten up the spacing around some of the sum
terms.
documentclass{article}
usepackage{mathtools,amssymb}
usepackage{newtxtext,newtxmath} %optional (Times Roman font)
begin{document}
begin{equation}label{computation-one}
begin{aligned}[t]
&langle tilde{overline{nabla}}_{!tilde{e}_i}
tilde{mathbf{S}}, tilde{e}_j rangle^2
+langle tilde{overline{nabla}}_{!e^{-f}!tilde{e}_0}
tilde{mathbf{S}}, e^{-f}!tilde{e}_0 rangle^2
+ sum_{i=1}^n tilde{R}
(tilde{e}_i, tilde{mathbf{S}}, tilde{mathbf{S}}, tilde{e}_i)
+ tilde{R}
(e^{-f}!tilde{e}_0, tilde{mathbf{S}}, tilde{mathbf{S}}, e^{-f}!tilde{e}_0)
&quad= langle overline{nabla}_{!e_i} mathbf{S}, e_j rangle^2
+ sum_{i=1}^n R(e_i, mathbf{S}, mathbf{S}, e_i) -
smashoperator{sum_{alpha,beta=n+1}^{n+p}} S^{alpha}S^{beta}
overline{nabla}_{!alpha} overline{nabla}_{!beta} f
+ e^{-4f} biggl( smashoperator[r]{sum_{alpha=n+1}^{n+p}}
S^{alpha} tilde{h}^{alpha}_{00} biggr)^2
&qquad- smashoperator{sum_{alpha,beta=n+1}^{n+p}}
S^{alpha}S^{beta} ,
overline{nabla}_{!alpha} f, overline{nabla}_{!beta} f,.
end{aligned}
end{equation}
end{document}
Answered by Mico on June 14, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP