[NTG-context] vertical interactionbar?
Willi Egger
w.egger at boede.nl
Fri Mar 9 15:33:26 CET 2007
Hi Johan,
The following code was used to move a picture along the right margin,
depending on the
pagenumber... - I hope this inspires you for your own presentation.
\def\Gag%
{\bgroup
\vbox to \vsize%
{\ifnum\totalnumberofpages=\realpageno
\vfil
{\externalfigure[yourpicture-finish][width=\rightedgewidth]}
\else
\scratchcounter=\realpageno
\advance \scratchcounter by -1
\vskip 0pt plus \scratchcounter fil
{\externalfigure[yourpicture][width=\rightedgewidth]}
\scratchcounter=\totalnumberofpages
\advance \scratchcounter by -\realpageno
\vskip 0pt plus \scratchcounter fil
\fi}
\egroup}
\defineoverlay[MoveDown][\Gag]
\setupbackgrounds[state=repeat]
\setupbackgrounds
[page]
[background=PageBackground]
\setupbackgrounds[text][rightedge][background=MoveDown
Kind regards
Willi
On Mar 8, 2007, at 4:06 PM, Johan Sandblom wrote:
> I am trying to make a presentation with a progress bar. I want it
> along the right edge of the screen. I remember seeing something like
> that but cannot find it now, and all the alternatives for
> interactionbar seem to require a horizontal one.
>
> How can I make a vertical progress bar?
>
> Regards, Johan
>
> --
> Johan Sandblom N8, MRC, Karolinska sjh
> t +46851776108 17176 Stockholm
> m +46735521477 Sweden
> "What is wanted is not the will to believe, but the
> will to find out, which is the exact opposite"
> - Bertrand Russell
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
Willi Egger
w.egger at boede.nl
More information about the ntg-context
mailing list