Graphics, Figures & Tables ⇒ Auto break long math equation
-
- Posts: 7
- Joined: Thu Sep 19, 2019 2:23 pm
Auto break long math equation
Hi all, i am new to latex development. Is it possible to auto break a long math equation in latex.? Is there any suitable package/commands? Kindly share if any!
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Auto break long math equation
LaTeX.org admin
-
- Posts: 7
- Joined: Thu Sep 19, 2019 2:23 pm
Auto break long math equation
Dear Stefan Kottwitz,
Thanks for your reply. I have tried it, and it never break down any equation. Here, we are using double column job and the following eqn not fit and auto break in single column. I simply wrote a math eqn for your reference.
\usepackage[]{breqn}
\begin{equation*}
CFA=\frac{\partial \left(CTh(D)\right)}{\partial z} \mathop{\int} \limits_{0}^{D} \left(\uplambda _{234} \times Def(z)\right)dz+\uplambda _{234} \times Def(D)\times CTh(D)
\end{equation*}
Thanks for your reply. I have tried it, and it never break down any equation. Here, we are using double column job and the following eqn not fit and auto break in single column. I simply wrote a math eqn for your reference.
\usepackage[]{breqn}
\begin{equation*}
CFA=\frac{\partial \left(CTh(D)\right)}{\partial z} \mathop{\int} \limits_{0}^{D} \left(\uplambda _{234} \times Def(z)\right)dz+\uplambda _{234} \times Def(D)\times CTh(D)
\end{equation*}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Auto break long math equation
Take a look at the manual, it provides new environments dmath and dmath* for equation and equation*, simply replace:
Stefan
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage[hmargin=6cm]{geometry}\usepackage{amsmath}\usepackage{upgreek}\usepackage{breqn}\begin{document}\begin{dmath*}CFA=\frac{\partial \left(CTh(D)\right)}{\partial z} \mathop{\int} \limits_{0}^{D} \left(\uplambda _{234} \times Def(z)\right)dz+\uplambda _{234} \times Def(D)\times CTh(D)\end{dmath*}\end{document}
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Auto break long math equation
By the way, math operators are usually written upright. I would use
and then use
Stefan
Code: Select all
Code, edit and compile here:
\usepackage{amsmath}\DeclareMathOperator{\Def}{Def}\DeclareMathOperator{\CTh}{CTh}
\Def
and \CTh
in the equations.Stefan
LaTeX.org admin
-
- Posts: 7
- Joined: Thu Sep 19, 2019 2:23 pm
Auto break long math equation
Thank you, working fine.