General ⇒ Space between rows in a shortenumerate
Space between rows in a shortenumerate
I know how to add space between items horizontally, but I can't figure out how to adjust the row spacing when you have more items than fit on a single row so that there end up multiple rows.
Can someone explain to me how to do this? Thanks.
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
Re: Space between rows in a shortenumerate
So you might define a new environment in the following wey, that uses the setspace package :
\newenvironment{myshortenum}[1][default value for setstretch] {\setstretch{#1}\begin{shortenumerate}}{\end{shortenumerate}}
B.A.
Re: Space between rows in a shortenumerate
One more problem I am having though. I am using a shortenumerate inside of a normal enumerate and for some reason there is much more space above the shortenumerate list than under it (it is "attached" to the enumerate item above it as sub numbering, so there should be less space above it and more under to indicate this more clearly).
Is there something simple I can do to fix this issue?
Re: Space between rows in a shortenumerate
I don't know which ones are used inside a list, before a sublist but you can play with them, making changes on entering in the 'myshortenum' environment (put them in the definition of myshortenum, so as to make the changes local).
What I did in the myshortenum environment was just to modify the \baselineskip (vertical distance between successive lines in ordinary text) by a factor. Btw, the usual \baselineskip is, in the opinion of many people, too small ; one can change this by setting, e.g. \linespread{#1}, in the preamble. A value between 1.05 and 1.1 is usally correct, but that depends on the font.
B.A.