\documentclass{article} \usepackage[designi,usesf]{web} \usepackage{eforms} \usepackage{cntdwn} \title{The \texttt{cntdwn} Package \texorpdfstring{\\[6pt]}{: }Short Countdown} \author{D. P. Story} \subject{Demo file illustrating the short countdown of the cntdwn package} \keywords{AeB, AcroTeX, clocks, countdown, cntdwn package} \university{Acro\negthinspace\TeX.Net} \email{dpstory@acrotex.net} \version{1.0} \copyrightyears{2010} \revisionLabel{} \thispagestyle{empty} \parindent0pt\parskip6pt \setShortCntDwn{CntDwnTimer} {% autorun, length=1*\minutes, notify1=45*\seconds, notify2=30*\seconds, notify3=15*\seconds } \setShortCntDwn{CntUpTimer} {% stopwatch, length=1*\minutes, notify1=15*\seconds, notify2=30*\seconds, notify3=45*\seconds, endmsg=Thank you for trying the cntdwn package from AcroTeX!, onfinish=continue, } \begin{document} \maketitle Counting down: Length 1 minute, \texttt{notify1} at 45 seconds, \texttt{notify2} at 30 seconds, and \texttt{notify3} at 15 seconds. Time Remaining: \cntdwnDisplay{CntDwnTimer}{.5in}{11bp} \cntdwnStartT{CntDwnTimer}{11bp}{11bp} \cntdwnPauseT{CntDwnTimer}{11bp}{11bp} \cntdwnStopT{CntDwnTimer}{11bp}{11bp} \begin{center} \cntdwnEndTarget[\BC{}\textSize{20}\textColor{blue}\Q{1}]{CntDwnTimer}{.67\linewidth}{1in} \end{center} \newpage Counting up: Length 1 minute, \texttt{notify1} at 15 seconds, \texttt{notify2} at 30 seconds, and \texttt{notify3} at 45 seconds. This counter set to start manually, press the Start button (second from left). Time Remaining: \cntdwnDisplay{CntUpTimer}{.5in}{11bp} \cntdwnStartT{CntUpTimer}{11bp}{11bp} \cntdwnPauseT{CntUpTimer}{11bp}{11bp} \cntdwnStopT{CntUpTimer}{11bp}{11bp} You can optionally have explicit buttons instead of, or in addition to, the three right most buttons: \cntdwnStart[\CA{Start}\textSize{7}]{CntUpTimer}{}{9bp} \cntdwnPause[\CA{Pause}\textSize{7}]{CntUpTimer}{}{9bp} \cntdwnStop[\CA{Stop}\textSize{7}]{CntUpTimer}{}{9bp} \begin{center} \cntdwnEndTarget[\BC{}\textSize{20}\textColor{blue}\Q{1}]{CntUpTimer}{.67\linewidth}{1in} \end{center} \end{document}