\visible[from number1 to number2]
Ranousse <[email protected]> Thu, 7 Aug 2014 13:29:11 +0200
| Newsgroups | gmane.comp.tex.texpower.user |
|---|---|
| Message-ID | <[email protected]> |
\parstepwise{%
\step[][\value{step}=1\or\value{step}=2]{a -- on 1 and 2}\\
\step[][\value{step}=2\or\value{step}=3]{b -- on 2 and 3}\\
\step[][\value{step}=3\or\value{step}=4]{c -- on 3 and 4}%
}
The previous code does not work as intented.
The last step is shown when step=3 but not when step=4
because totalsteps=3.
Is there a way to force totalsteps to be 4 ?
More generally I would like to write a macro \visible that could be
used like this :
\visible[3, 5]{text} % text is shown on step 3, 4 and 5 only.
Without the problem shown above, such a macro could be :
\def\visible[#1,#2]{\step[\value{step}=#1][\not\value{step}<#1\and\not\value{step}>#2]}
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk