texlive[60539] Master/texmf-dist: clicks (18sep21)
commits+karl at tug.org
commits+karl at tug.org
Sat Sep 18 22:16:44 CEST 2021
Revision: 60539
http://tug.org/svn/texlive?view=revision&revision=60539
Author: karl
Date: 2021-09-18 22:16:44 +0200 (Sat, 18 Sep 2021)
Log Message:
-----------
clicks (18sep21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/clicks/clicks.pdf
trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex
trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty
Modified: trunk/Master/texmf-dist/doc/latex/clicks/clicks.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex 2021-09-18 20:16:30 UTC (rev 60538)
+++ trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex 2021-09-18 20:16:44 UTC (rev 60539)
@@ -28,7 +28,7 @@
\title{\ff{clicks}: \LaTeX{} Package \\ for Slide Deck Animation}
\author{Yegor Bugayenko}
-\date{0.1.1 2021/09/13}
+\date{0.2.0 2021/09/18}
\begin{document}
\pagenumbering{gobble}
@@ -65,10 +65,10 @@
\documentclass{article}
\usepackage{clicks}
\begin{document}
-\plick{Here is your wedding plan:}
-\plick{1. Buy a ring}
-\plick{2. Propose}
-\plush{3. Get married}
+\plick[2]{Here is your wedding plan:}
+\plick[3]{1. Buy a ring}
+\plick[5]{2. Propose}
+\plush[1]{3. Get married}
\end{document}
\end{ffcode}
@@ -75,6 +75,14 @@
If you need to render the document without animation, just
use the \ff{static} package option.
+The optional parameters at \ff{\char`\\plick\{\}} and \ff{\char`\\plush\{\}}
+are the minutes: how much you are planning to stay at this animation.
+The minutes are accumulated in the \ff{minutes} counter, which
+you can show, for example, at your header. This will help you track
+time during the presentation. The commands
+\ff{\char`\\click\{\}} and \ff{\char`\\flush\{\}} also have the
+same optional arguments.
+
More details about this package you can find
in the \ff{yegor256/clicks} GitHub repository.
Modified: trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty 2021-09-18 20:16:30 UTC (rev 60538)
+++ trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty 2021-09-18 20:16:44 UTC (rev 60539)
@@ -21,7 +21,7 @@
% SOFTWARE.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{clicks}[2021/09/13 0.1.1 Clicks]
+\ProvidesPackage{clicks}[2021/09/18 0.2.0 Clicks]
\RequirePackage{xkeyval}
\RequirePackage{etoolbox}
@@ -50,8 +50,11 @@
\fi%
}
-\makeatletter\newcommand\click{%
+\makeatletter\newcommand\click[1][1]{%
\ifclicks at static\else%
+ \addtocounter{minutes}{#1}%
+ \fi%
+ \ifclicks at static\else%
\clicks at flush%
\fi%
}\makeatother
@@ -65,10 +68,11 @@
}
% Print and click
+% [1]: How many minutes to stay here
% {1}: The content to print
-\newcommand\plick[1]{%
- \print{#1}%
- \click%
+\newcommand\plick[2][1]{%
+ \print{#2}%
+ \click[#1]%
}
\endinput
More information about the tex-live-commits
mailing list.