TeX - LaTeX Asked by Morten Nissov on August 2, 2020
I am using some equations that are auto-generated from a script and they are typeset using breqn
functions.
Using dgroup
is causing my equation number to be on the left side instead of right. I call the packages in this order, which should be correct as far as I could see from the documentation.
usepackage{amsmath}
usepackage{flexisym}
usepackage{breqn}
usepackage{bm}
usepackage{amsfonts}
The equations being typeset are
begin{dgroup}
begin{dmath*}
0=frac{partial }{partial t} y_{2}left(tright)-frac{sinleft(y_{3}left(tright)right)cdot y_{5}left(tright)}{6371}
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{3}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{3}left(tright)right)cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{3}left(tright)right)}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-y_{5}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{3}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{1}left(tright)}{cosleft(y_{3}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{4}left(tright)-y_{3}left(tright)
end{dmath*}
begin{dmath*}
0=frac{sinleft(y_{4}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{2}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{4}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{4}left(tright)right)cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{4}left(tright)right)}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{4}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{1}left(tright)}{cosleft(y_{4}left(tright)right)}
end{dmath*}
end{dgroup}
Not a solution, but this seems to be a known bug in breqn
, see page 5 of the package manual:
So, for now you can't achieve exactly what you want the way you do it. I will check if I can come back with a workaround.
O.K, here is a not-so-elegant workaround:
documentclass{article}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{flexisym}
usepackage{breqn}
usepackage{bm}
begin{document}
begin{equation}
parbox{.9linewidth}{%
begin{dgroup*}
begin{dmath*}
0=frac{partial }{partial t} y_{2}left(tright)-frac{sinleft(y_{3}left(tright)right)cdot y_{5}left(tright)}{6371}
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{3}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{3}left(tright)right)cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{3}left(tright)right)}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-y_{5}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{3}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{1}left(tright)}{cosleft(y_{3}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{4}left(tright)-y_{3}left(tright)
end{dmath*}
begin{dmath*}
0=frac{sinleft(y_{4}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{2}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{4}left(tright)right)cdot y_{5}left(tright)}{6371}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=frac{cosleft(y_{4}left(tright)right)cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{4}left(tright)right)}-frac{partial }{partial t} y_{1}left(tright)
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{2}left(tright)}{sinleft(y_{4}left(tright)right)}
end{dmath*}
begin{dmath*}
0=y_{6}left(tright)-frac{6371cdot frac{partial }{partial t} y_{1}left(tright)}{cosleft(y_{4}left(tright)right)}
end{dmath*}
end{dgroup*}
}
end{equation}
end{document}
Answered by AboAmmar on August 2, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP