Mike Cooper schrieb am 01.07.2020 um 22:30:
-----Original Message----- From: ntg-context [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Henning Hraban Ramm Sent: Wednesday, July 01, 2020 1:30 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] something between packed and "small"??
Am 01.07.2020 um 21:04 schrieb Mike Cooper
: Me again… I’ve got an itemize that needs to fit on one page. I’ve been using inbetween={\blank[small]} for all the other analogous lists but this one is longer and with that spacing, it goes about one inch onto the next page. But if I use packed, the list is way too crammed together and there’s about 2.5 inches of extra space on the page! How do I go smaller than small? Is there a “lightly packed”? Or other degrees?
I’ve tried \blank[1mm] and other dimensions but nothing will go smaller than small… :-(
\blank understands an arbitrary measure, e.g. \blank[3pt] or \blank[0.25em]
Probably also \blank[0.5*small] works (didn’t check, but \blank[3*big] works).
Otherwise see https://wiki.contextgarden.net/Command/blank
Hraban
Thanks Hraban,
These don't work though... It appears that a decimal will work with a dimension (like em) but not with small. \blank[0.5*small] causes this "fatal error":
["lasttexerror"]="! Illegal unit of measure (pt inserted)", The number before the asterisk is a multiplier to repeat the value n times. I had tried em then pt, then mm. But it won't get any smaller than small = 3mm = 10pt = 0.9em = small. Except packed, that is...
Surely there is something in between small and packed?? The value for small is font dependent which results with the default font and size. When you check the value you can see it is slightly smaller than 1mm which means when you use \blank[1mm] your manual setting is too large.
\starttext \the\smallskipamount \PtToCm{\the\dimexpr\smallskipamount\relax} \the\dimexpr0.5ex\relax \stoptext
I looked at the Command/blank page multiple times and searched the wiki and the web in every way I could think of. I only ask the list when I absolutely can't find anything. (Of course, at least once, it was there where I had already looked but I didn't understand enough to realize it!) I even gave searching the mailing list archives a shot.
\starttext \startitemize \startitem First item \stopitem \startitem Second item \stopitem \startitem Third item \stopitem \stopitemize \startitemize[inbetween={\blank[small]}] \startitem First item \stopitem \startitem Second item \stopitem \startitem Third item \stopitem \stopitemize \startitemize[inbetween={\blank[1.5pt]}] \startitem First item \stopitem \startitem Second item \stopitem \startitem Third item \stopitem \stopitemize \stoptext Wolfgang