Math & ScienceDouble spacing in equations

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Double spacing in equations

Post by hbaromega »

How can I set default double-spacing between each equation line (i.e. vertical spacing) for anytime I use equations?

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Double spacing in equations

Post by Stefan Kottwitz »

It depends. Do you mean equations made with the equation environment, or do you mean double spacing in multiline equations such as with align, gather, or multline of amsmath?

Stefan
LaTeX.org admin
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Double spacing in equations

Post by hbaromega »

Stefan_K wrote:It depends. Do you mean equations made with the equation environment, or do you mean double spacing in multiline equations such as with align, gather, or multline of amsmath?

Stefan
Yes in multiline equations. Need to change the space between two such lines.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Double spacing in equations

Post by Stefan Kottwitz »

You could make the length \jot larger. Have a look at vertical spacing in math for an example.

Stefan
LaTeX.org admin
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Double spacing in equations

Post by hbaromega »

Stefan_K wrote:You could make the length \jot larger. Have a look at vertical spacing in math for an example.

Stefan
Seems working fine! Thanks. :)

Can we figure out whether it is double or triple of the usual spacing?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Double spacing in equations

Post by Stefan Kottwitz »

I would measure or estimate. Or compare \jot and \baselineskip. Equations may have different height, you know, because of indexes, stacked indexes, fractions, and more. That's why double spacing has no consistent meaning here. I would raise \jot until it seems to match the spacing in the text lines.

Stefan
LaTeX.org admin
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Double spacing in equations

Post by hbaromega »

Stefan_K wrote:I would measure or estimate. Or compare \jot and \baselineskip. Equations may have different height, you know, because of indexes, stacked indexes, fractions, and more. That's why double spacing has no consistent meaning here. I would raise \jot until it seems to match the spacing in the text lines.

Stefan
I thought spacing between two = signs in two consecutive lines could be considered. Anyway, thanks a lot.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Double spacing in equations

Post by Stefan Kottwitz »

hbaromega wrote:I thought spacing between two = signs in two consecutive lines could be considered.
It could, but this can be different between each equation row. Have a look what I mean - would you like do double the first distance, or the second distance?
equations.png
equations.png (5.68 KiB) Viewed 6445 times
Stefan
LaTeX.org admin
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Double spacing in equations

Post by hbaromega »

Stefan_K wrote:
hbaromega wrote:I thought spacing between two = signs in two consecutive lines could be considered.
It could, but this can be different between each equation row. Have a look what I mean - would you like do double the first distance, or the second distance?
equations.png
Stefan
Yeah understood your point now. Better if I manually double the second distance and leave the first distance as it is.
Post Reply