Changes

Jump to navigation Jump to search
53 bytes removed ,  18:36, 13 February 2010
m
</texcode>
<codecmd>\startmode</codecmd> and <codecmd>\startnotmode</codecmd> can check for multiple modes. Thearguments to <codecmd>\startmode</codecmd> and <codecmd>\startnotmode</codecmd> can be a list of modes.<codecmd>\startmode</codecmd> processes its contents (everything until the next<codecmd>\stopmode</codecmd> which means that <codecmd>\startmode</codecmd> cannot be nested)
if any of the modes are enabled, otherwise (i.e., when all the modes are
disabled) <codecmd>\startmode</codecmd> ignores it contents. <codecmd>\startnotmode</codecmd> is the
opposite. It processes its contents (everything until the next
<codecmd>\stopnotmode</codecmd> if any of the modes are disabled, otherwise (i.e., when allthe mods are enabled) <codecmd>\startnotmode</codecmd> ignores its contents.
<codecmd>\startmode</codecmd> and <codecmd>\startnotmode</codecmd> are <em>or</em> environments. They
process their contents if any of the modes satisfy the required condition. Their
<em>and</em> counterparts are <codecmd>\startallmodes</codecmd> and <codecmd>\startnotallmodes</codecmd>,
which process their contents only if all the modes satisfy the required
condition. For example, suppose you want to enable interaction (hyperlinks) etc.
only when both <codett>screen</codett> and <codett>solution</codett> modes are enabled. Then you can
use:
<texcode>

Navigation menu