Open main menu

Hiding Content

Revision as of 00:56, 4 August 2005 by 171.64.119.38 (talk) (Clarified language, added another example for comparison.)

< Visuals | Presentations | Layers >

Probably for your slides, probably for some animation or for whatever reason you may want it: you can hide some content from the document, while leaving exactly the same amount of space as that content would need if typeset in the usual way. This is done by placing the content on a layer that is not normally visible when the document is displayed.

You can try something like:

\defineproperty[my-secrets][layer][state=top]

I don't tell this to everybody:
%
\startproperty[my-secrets]%
\quotation{\ConTeXt\ goes beyond the limits of imagination, that's why I love it!}
\stopproperty
%
You'll understand that once you get to know it better.

which results in

This can be compared to the non-hidden version, which is:

Just as a hint: Don't ever think about hiding your secrets or solutions to the problems for your students that way!
If you happen to have Adobe Acrobat Professional, you can select Layers on the left and switch the hidden layer on again.
YOU HAVE BEEN WARNED!

[[1]]