diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-03 20:27:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-03 20:27:15 +0000 |
commit | df1626bce3096a07014893241d417fde7df28ee7 (patch) | |
tree | 16a77d81b4e078a40725915a76fb244879cb805c /Master/texmf-dist/tex/latex/clicks | |
parent | f7f5fd25ef890918b2dbc14c7bd47c0865d42d59 (diff) |
clicks (3oct22)
git-svn-id: svn://tug.org/texlive/trunk@64592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/clicks')
-rw-r--r-- | Master/texmf-dist/tex/latex/clicks/clicks.sty | 80 |
1 files changed, 47 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/latex/clicks/clicks.sty b/Master/texmf-dist/tex/latex/clicks/clicks.sty index b2aa13ff699..ee29f813a53 100644 --- a/Master/texmf-dist/tex/latex/clicks/clicks.sty +++ b/Master/texmf-dist/tex/latex/clicks/clicks.sty @@ -1,33 +1,53 @@ -% (The MIT License) -% -% Copyright (c) 2021-2022 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. +%% +%% This is file `clicks.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% clicks.dtx (with options: `package') +%% (The MIT License) +%% +%% Copyright (c) 2021-2022 Yegor Bugayenko +%% +%% Permission is hereby granted, free of charge, to any person obtaining a copy +%% of this software and associated documentation files (the 'Software'), to deal +%% in the Software without restriction, including without limitation the rights +%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +%% copies of the Software, and to permit persons to whom the Software is +%% furnished to do so, subject to the following conditions: +%% +%% The above copyright notice and this permission notice shall be included in all +%% copies or substantial portions of the Software. +%% +%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +%% SOFTWARE. + + \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{clicks}[2022/09/13 0.3.1 Clicks] +\ProvidesPackage{clicks} +[2022-10-03 0.4.1 Slide Deck Animation] + + + + + + + + \RequirePackage{xkeyval} \RequirePackage{etoolbox} -\makeatletter\newif\ifclicks@static\makeatother -\makeatletter\DeclareOption{static}{\clicks@statictrue}\makeatother +\makeatletter +\newif\ifclicks@static +\DeclareOption{static}{\clicks@statictrue} +\makeatother \ProcessOptions\relax \makeatletter\newcommand*\clicks@body{}\makeatother @@ -37,12 +57,10 @@ \newcounter{minutes} -% Print the content as is. \makeatletter\newcommand\print[1]{% \gappto\clicks@body{{#1\par}}% }\makeatother -% Flush the page: print the entire content. \makeatletter\newcommand\flush[1][1]{% \ifx\clicks@body\empty\else% \clicks@flush% @@ -53,7 +71,6 @@ \fi% } -% Print the content and wait for more. \makeatletter\newcommand\click[1][0]{% \ifclicks@static\else% \addtocounter{minutes}{#1}% @@ -63,20 +80,17 @@ \fi% }\makeatother -% Print and flush -% [1]: How many minutes to stay here -% {1}: The content to print \newcommand\plush[2][1]{% \print{#2}% \flush[#1]% } -% Print and click -% [1]: How many minutes to stay here -% {1}: The content to print \newcommand\plick[2][1]{% \print{#2}% \click[#1]% } + \endinput +%% +%% End of file `clicks.sty'. |