TransWikia.com

Error: Extra }, or forgotten right in split equation

TeX - LaTeX Asked on January 19, 2021

I am getting an error in this equation. There is a missing ] at the end.

documentclass[5p,preprint,authoryear]{elsarticle}
setcitestyle{square}
usepackage{times}
usepackage{graphicx}
usepackage{amsmath}
usepackage{circuitikz}

begin{document}


begin{equation}
begin{split}
left
|B_{mathrm{d}}right|&=frac{B_{mathrm{r}}}{pi}left[tan ^{-1}left(frac{l w}{2 d sqrt{4 d^{2}+l^{2}+w^{2}}}right)
right.

left.&-tan ^{-1}left(frac{l w}{2left(t_{mathrm{m}}+dright) sqrt{4left(t_{mathrm{m}}+dright)^{2}+l^{2}+w^{2}}}right)
right] 
end{split}
end{equation}



end{document}

endinput

One Answer

I have delete the old package times

usepackage{times}

and I have changed with newtxtext. After I have used to not have the errors of compilations Biggland Biggr when the formula has a split.

enter image description here

documentclass[5p,preprint,authoryear]{elsarticle}
setcitestyle{square}
usepackage{newtxtext}
usepackage{graphicx}
usepackage{amsmath}
usepackage{circuitikz}

begin{document}


begin{equation}
begin{split}
bigl|B_{mathrm{d}}bigr|&=frac{B_{mathrm{r}}}{pi}Biggl[tan^{-1}left(frac{l w}{2 d sqrt{4 d^{2}+l^{2}+w^{2}}}right)
&-tan ^{-1}Biggl(frac{l w}{2left(t_{mathrm{m}}+dright)sqrt{4left(t_{mathrm{m}}+dright)^{2}+l^{2}+w^{2}}}Biggr)
Biggr]
end{split}
end{equation}

end{document}

Answered by Sebastiano on January 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP