LyXHow to adjust the distance bewteen a line and a formula?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

How to adjust the distance bewteen a line and a formula?

Post by lyxrocks »

I can adjust the layout of texts under document->settings, but when it comes to math formulas, i do not know what to do.

currently, the spacing between a line of text and a math formula (an eqnarray formula) is too big...

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

lyxrocks
Posts: 91
Joined: Sat Oct 23, 2010 5:59 pm

Re: How to adjust the distance bewteen a line and a formula?

Post by lyxrocks »

This is strange, I play around with it for 1~2 hours trying to change the spacing and indentation, couldn't figure it out, then the moment I post the question on this forum, I get it sorted out...

basically the problem is: I accidentally put the equations into a new paragraph.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Re: How to adjust the distance bewteen a line and a formula?

Post by Stefan Kottwitz »

That's a small mistake which is often made. Not only with LyX, but also with LaTeX: people like to have an empty line around for readability, however it adds a paragraph space, while the displayed math environment brings its own space.

Stefan
LaTeX.org admin
Post Reply