LyX ⇒ Decrease spacing before/after section titles and figures
Decrease spacing before/after section titles and figures
The default spacing before and after section/subsection titles are too large. The default spacing after figure floats are also large.
My questions are: (1) how do I control these spacings? I tried many things in the document settings and preferences, but could only figure out how to set line spacing in paragraphs. (2) Generic question related to question 1: I am "guessing" that there will be some kind of userpackages that I need to use to resolve question number 1 above. There is a plethora of these packages online. What do I need to do to use these TEX packages in Lex? Is it that so called "Preamble"?
Thank you very much.
Al
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Decrease spacing before/after section titles and figures
welcome to the forum!
I guess you already learnt more about LyX in the meantime. I'm not a LyX user, but I know this and that about it. And LaTeX of course. So, if you got any question, let us know.
Regarding packages: LyX already loads packages, depending on document settings. You can always add further packages via
\usepackage{packagename}
in the document preamble. The latter can be edited if you open "Document settings" in the LyX main menu, and look for the preamble.In the document settings you can also decide the document class. I recommend to choose a


Stefan