Math & ScienceMulti-line in-line math equation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
abhijit_becs
Posts: 4
Joined: Wed Jul 14, 2010 6:43 pm

Multi-line in-line math equation

Post by abhijit_becs »

Hi everyone,

Is it possible to break multi-line inline equation so that it does not over flow the margins? I found that for display equation we can use \begin{multiline} etc. But, how inline equations can break evenly with the line? Some inline equations break automatically but some of them are not and they are overflowing the margins.

Any idea please?
I got a solution for this. Just to write the inline equation without the {} parenthesis. Then Latex automatically break the inline equations. Although any other idea would be appreciable.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Multi-line in-line math equation

Post by Stefan Kottwitz »

Hi,

normally inline formulas are broken. LaTeX breaks at relation symbols or binary operation symbols. The curly braces prevent that.
You could insert \allowbreak at some places. Further you could insert $ $ to split the formula.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Multi-line in-line math equation

Post by localghost »

For longer expressions it is worth considering to choose a displayed math environment.


Best regards
Thorsten
Post Reply