Using \phantom to hide an itemized item does not reserve the (vertical) space for the item as I expect. That is, in the following example \starttext \startitemize \item Foo \phantom{\item Bar} \item Boo \stopitemize \stoptext the second item is hidden, but in fact, the space for that item has not been allocated at all. Why is this, and more importantly to me, how can I get the space allocated without using hackish transparent colors? Thanks in advance, Troy Henderson
On Fri, Apr 27 2012, Troy Henderson wrote:
the second item is hidden, but in fact, the space for that item has not been allocated at all.
Did you try the methods here: http://wiki.contextgarden.net/Hiding_Content ?
Why is this, and more importantly to me, how can I get the space allocated without using hackish transparent colors?
Or hackish white... -- Peter
On 27-4-2012 22:04, Troy Henderson wrote:
\starttext \startitemize \item Foo \phantom{\item Bar} \item Boo \stopitemize \stoptext
\starttext \startitemize \item Foo \starteffect[hidden] \item Bar \stopeffect \item Boo \stopitemize \stoptext works ok for text -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Münster
-
Troy Henderson