Strange behaviour with spacing in itemization using "columns" vs "horizontal".
Hi folks, I noticed a difference in how spacing is set after an itemization. I have the following example: ----------------------------- \starttext \startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space? \startitemize[packed, joinedup, horizontal, two] \startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space? \stoptext --------------------------------- Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something? Greetings, Sebastian
On 3/29/2017 1:34 AM, cryo shock wrote:
Hi folks,
I noticed a difference in how spacing is set after an itemization. I have the following example:
----------------------------- \starttext
\startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\startitemize[packed, joinedup, horizontal, two] \startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\stoptext ---------------------------------
Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something?
they use different mechanisms - columns switches to columns mode so there we have two columns with a distance and items can span multiple lines - horizontal divides the width in (in this case) two equal sized boxes so there is no distance involved and no breaking across lines (a mixed variant is probably not too hard to implement) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 3/29/2017 1:34 AM, cryo shock wrote:
Hi folks,
I noticed a difference in how spacing is set after an itemization. I have the following example:
----------------------------- \starttext
\startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
btw, you get better vertical spacing with: \setupitemgroup[grid=yes] i'll fix that
\startitemize[packed, joinedup, horizontal, two] \startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\stoptext ---------------------------------
Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something?
Greetings, Sebastian
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Thanks Hans,
one could also \blank[medium] after the first (columns) variant but then
again the items seem not to sit on the grid which you can check with
\showgrid:
\showgrid
\startitemize[packed, joinedup, columns, two]
\startitem
top left item
\stopitem
\startitem
bottom left item
\stopitem
\startitem
top right item
\stopitem
\startitem
bottom right item
\stopitem
\stopitemize
\blank[medium]
Notice the size of the blank space?
\startitemize[packed, joinedup, horizontal, two]
\startitem
top left item
\stopitem
\startitem
top right item
\stopitem
\startitem
bottom left item
\stopitem
\startitem
bottom right item
\stopitem
\stopitemize
Notice the size of the blank space?
\stoptext
I'm just trying to make sure that you are aware of that
Cheers, Sebastian
2017-03-29 19:31 GMT+02:00 Hans Hagen
On 3/29/2017 1:34 AM, cryo shock wrote:
Hi folks,
I noticed a difference in how spacing is set after an itemization. I have the following example:
----------------------------- \starttext
\startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
btw, you get better vertical spacing with:
\setupitemgroup[grid=yes]
i'll fix that
\startitemize[packed, joinedup, horizontal, two]
\startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\stoptext ---------------------------------
Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something?
Greetings, Sebastian
____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
Thank you very much for fixing it. It looks good.
2017-03-29 21:37 GMT+02:00 cryo shock
Thanks Hans,
one could also \blank[medium] after the first (columns) variant but then again the items seem not to sit on the grid which you can check with \showgrid:
\showgrid
\startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize \blank[medium] Notice the size of the blank space?
\startitemize[packed, joinedup, horizontal, two] \startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\stoptext
I'm just trying to make sure that you are aware of that
Cheers, Sebastian
2017-03-29 19:31 GMT+02:00 Hans Hagen
: On 3/29/2017 1:34 AM, cryo shock wrote:
Hi folks,
I noticed a difference in how spacing is set after an itemization. I have the following example:
----------------------------- \starttext
\startitemize[packed, joinedup, columns, two] \startitem top left item \stopitem \startitem bottom left item \stopitem \startitem top right item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
btw, you get better vertical spacing with:
\setupitemgroup[grid=yes]
i'll fix that
\startitemize[packed, joinedup, horizontal, two]
\startitem top left item \stopitem \startitem top right item \stopitem \startitem bottom left item \stopitem \startitem bottom right item \stopitem \stopitemize Notice the size of the blank space?
\stoptext ---------------------------------
Both itemizations are the same except item order and using "columns" in the first one and "horizontal" in the second. Yet the spacing after the first itemization seems not right. Or do I oversee something?
Greetings, Sebastian
____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
--
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/list info/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________
participants (2)
-
cryo shock
-
Hans Hagen