



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This doc a project of beamer miketex
Typology: Lecture notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Luis R´andez & Juan I. Montijano
IUMA Universidad de Zaragoza
February 24, 2014
Luis R´andez & Juan I. Montijano (IUMA) An example of using Ticking Digital Clock in Beamer February 24, 2014 1 / 7
We are putting here a clock with the macro \tdclock:
Before that, the macro \initclock must have been used (only one time !).
This document uses the option resetatpages=2. This means that the crono is reset to zero at page 2. Below you can see a crono advancing. Every time you access to this page, the crono should be reset to 0 (the output is updated every 10 seconds, as indicated with the option timeinterval=10, so it could appear some non zero seconds, not greater than 10)
Crono:
Wait some seconds until you see the crono advancing, then go to the next page, go back to this page again and wait some seconds to see how the crono is reset.
Luis R´andez & Juan I. Montijano (IUMA) An example of using Ticking Digital Clock in Beamer February 24, 2014 2 / 7
Next, we have inserted a button to toggle between clock and stopwatch, and a button to reset the stopwatch to zero.
toggle reset
Click at the left button, see what happens (you must wait 10 seconds), then click at the right button and see the result. Finally, click at the left button again to recover the current time
To do that, we have used
\toggleclock{\beamerbutton{toggle}} \tdtime \resetcrono{\beamerbutton{reset}}
Here we change the color and size of the clock with standard LATEXcommands.
Here a huge yellow clock showing only hours and minutes, inside a red box \hhmm \factorclockfont{6.0} \tdtime
Formatting macros \hhmm format time \hhmmss format time \mmddyyyy format date \ddmmyyyy format date \dateseparator – – separator for date \timeseparator.. separator for time \pdfslash slash in pdf font \pdfcolon colon in pdf font
\factorclockfont{factor} format date