Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/latex/contrib/cntdwn

The cntdwn package
Dated: 2014/11/26

Version v.6 fixes a problem brought on by hyperref. The latter package
removes underscores from field names. We have a workaround for that.

New: The original version, v.3, had a simple way of calculating the number
of years (based on 365 days to the year) for a long countdown.  This was
not a problem for counts less than one year, or for counts that spanned
several years that did not include leap years. This version, v.5, takes
into account the presence of leap years and now gives a correct year, day,
hour, minute, and second representation of the time difference between the
current time and the target event. In v.5a, a new key-value
pair,autorunenabled, is added; for the long countdown,
autorunenabled=false suppresses the autorun feature and can be
dynamically turned on or off using JavaScript.

The cntdwn package provides three sets of timers:

1.  A short countdown (or count up) to an event. (Short being defined as
    less than a day.) The short countdown is designed for talks or
    presentations. There are three notification times, to announce to the
    speaker and audience that time is running out.
2. A long countdown to an event in the (distant) future. There are three
    notifications leading up to the main event (when counter reaches 0 seconds), and
    three notifications following the main event.
3. Clock counters. The cntdwn package allows you to create a clocks that
    display time and date. Clocks can show local time or time in any
    foreign time zone.

Extensive customizations are possible, either by redefining commands, or
creating your own JavaScript functions (using the eforms package) to
handler the various notification time events.

Requirements: The eforms and hyperref packages.

Simple examples of each type accompany the distribution, advanced examples
have been published on my AeB Blog site

Now, I simply must get back to my retirement.

Dr. D. P. Story


Name Notes


Name Size Date Notes
README 2058 2014-11-26 06:05
cnt­dwn.dtx 52680 2014-11-26 05:58
cnt­dwn.ins 2123 2010-08-10 09:17
lngcnt.def 20260 2014-11-26 05:58
shrtcnt.def 11099 2014-11-26 05:58

Down­load the con­tents of this pack­age in one zip archive (118.9k).

cnt­dwn – Sup­port for count­downs, and for clocks in any time­zone

The pack­age pro­vides three sets of timers:

  • A short count­down (or count up) to an event. (Short be­ing de­fined as less than a day.) The short count­down is de­signed for talks or pre­sen­ta­tions. There are three no­ti­fi­ca­tion times, to an­nounce to the speaker and au­di­ence that time is run­ning out;
  • A long count­down to an event in the (dis­tant) fu­ture. There are three no­ti­fi­ca­tions up to the main event (when counter reaches 0 sec­onds), and three no­ti­fi­ca­tions fol­low­ing 0 sec­onds;
  • Clock coun­ters. The pack­age al­lows you to cre­ate clocks that dis­play time and date. Clocks can show lo­cal time or time in any for­eign time zone.

Pack­age De­tailscnt­dwn
Home pagehttp://www.math.uakron.edu/~dp­story/cnt­dwn.html
Ver­sion0.6 2014-11-26
Li­censeThe LaTeX Project Public Li­cense 1
Main­tainerD. P. Story
Con­tained inMiKTeX as cnt­dwn
Topics ac­cess PDF fea­tures
ma­nip­u­late dates and/or times
Guest Book Sitemap Contact Contact Author