How to get rid of space around itemize?
Hello, I'm trying to remove space before (and after) items in the following example, but the only way I have managed to do that was by using \vskip-\lineheight, which I'm not particulary proud of. Any ideas? \setupwhitespace [big] \setupitemize [joinedup] \setuplayout [grid=yes] \showgrid \starttext How to reduce the space here? \startitemize \item a \item b \stopitemize And here? \stoptext Thanks a lot, Mojca
Mojca Miklavec wrote:
[joinedup,nowhite]
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, Sep 25, 2008 at 8:07 AM, Hans Hagen wrote:
Wow! Interesting, thanks. The following keywords are also still missing in xml: nofit fit margin columns text Just one more question. Some time ago, I have a feeling that \setupitemize [paragraph] was indeed working, so that one could get ---------------- This is a list: - first - second - third And a new paragraph started after that. ------- Now I have seen the \startitemize[joinedup,nowhite,after] in sources which does that, but I still don't quite understand the "paragraph" keyword. To my understanding (as described in the manual), one should need both "packed" and "joinedup" in order to achive what joinedup does now, and I have some fain momeries that that has been the case. Now it seem to me as if joinedup would be doing did packed was supposed to do. But I'm confused about all those options anyway. Thanks again, Mojca
Mojca Miklavec wrote:
\startitemize[paragraph] \item oeps \startitemize[paragraph] \item oeps \item oeps \stopitemize \item oeps \startitemize[paragraph] \item oeps \item oeps \stopitemize \stopitemize \startitemize \item oeps \startitemize[paragraph] \item oeps \item oeps \stopitemize \item oeps \startitemize[paragraph] \item oeps \item oeps \stopitemize \stopitemize \page \startitemize[packed] \item oeps \startitemize[packed] \item oeps \item oeps \stopitemize \item oeps \startitemize[packed] \item oeps \item oeps \stopitemize \stopitemize \startitemize \item oeps \startitemize[packed] \item oeps \item oeps \stopitemize \item oeps \startitemize[packed] \item oeps \item oeps \stopitemize \stopitemize ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thu, Sep 25, 2008 at 6:56 PM, Hans Hagen wrote:
OK .... I need some fresh air. "paragraph" indeed works (I knew I saw it working), but only in the inner level (starting with the second one) of itemize. The first (outer) level indeed needs to be tuned with "nowhite" - paragraph has only a partial effect of squeezing items, but does not prevent whitespace. The desired effect only starts with inner items. That has been completely confusing to me, but now I know how to use properly it at least. Thanks a lot, Mojca
participants (2)
-
Hans Hagen
-
Mojca Miklavec