From dcba1e5ca64da1ded5806a02969813037581be1d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 13 Sep 2022 20:43:50 +0000 Subject: ppt-slides (13sep22) git-svn-id: svn://tug.org/texlive/trunk@64378 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt | 4 +-- Master/texmf-dist/doc/latex/ppt-slides/README.md | 3 ++- .../texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf | Bin 227781 -> 227754 bytes .../texmf-dist/doc/latex/ppt-slides/ppt-slides.tex | 2 +- .../doc/latex/ppt-slides/ppt-templates/ppt-9x6.tex | 28 ++++++--------------- .../texmf-dist/tex/latex/ppt-slides/ppt-slides.sty | 24 +++++++++--------- 6 files changed, 25 insertions(+), 36 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt b/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt index 32dfe012e6c..db184dd2634 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt +++ b/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt @@ -1,5 +1,7 @@ hard pgfopts hard xcolor +hard ifthen +hard href-ul hard pagecolor hard varwidth hard qrcode @@ -8,6 +10,4 @@ hard tikzpagenodes hard enumitem hard crumbs hard tabularx -hard ifthen hard seqsplit -hard hyperref diff --git a/Master/texmf-dist/doc/latex/ppt-slides/README.md b/Master/texmf-dist/doc/latex/ppt-slides/README.md index 91d4058c894..9543ebc462d 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/README.md +++ b/Master/texmf-dist/doc/latex/ppt-slides/README.md @@ -1,4 +1,5 @@ [![make](https://github.com/yegor256/ppt-slides/actions/workflows/latexmk.yml/badge.svg)](https://github.com/yegor256/ppt-slides/actions/workflows/latexmk.yml) +[![CTAN](https://img.shields.io/ctan/v/ppt-slides)](https://ctan.org/pkg/ppt-slides) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/ppt-slides/blob/master/LICENSE.txt) This LaTeX package helps you create slide decks as good looking @@ -14,7 +15,7 @@ and then use in preamble: ```tex \documentclass{article} \usepackage{clicks} -\usepackage[template=dark]{ppt-slides} +\usepackage[template,scheme=dark]{ppt-slides} \begin{document} \plick{\pptBanner{This Is My First Slide}} \plick{The slide tells you an interesting story...} diff --git a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf index 42df3d6dff0..f845668cc9e 100644 Binary files a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf and b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf differ diff --git a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.tex b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.tex index f126acfcffb..13b771cc754 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.tex +++ b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.tex @@ -29,7 +29,7 @@ \usepackage{textcomp} \title{\LaTeX{} Package for Slide Decks \`a la PowerPoint\texttrademark} \author{Yegor Bugayenko} -\date{0.0.1 2022/09/11} +\date{0.1.2 2022/09/12} \pptLeft{\thetitle} \pptRight{\href{https://github.com/yegor256}{@yegor256}} diff --git a/Master/texmf-dist/doc/latex/ppt-slides/ppt-templates/ppt-9x6.tex b/Master/texmf-dist/doc/latex/ppt-slides/ppt-templates/ppt-9x6.tex index 3466d8d85f5..d80db063fda 100644 --- a/Master/texmf-dist/doc/latex/ppt-slides/ppt-templates/ppt-9x6.tex +++ b/Master/texmf-dist/doc/latex/ppt-slides/ppt-templates/ppt-9x6.tex @@ -24,26 +24,15 @@ \geometry{paperwidth=16in, paperheight=9in, left=4in, right=2in, top=1.5in, bottom=1.5in} \RequirePackage[absolute]{textpos} \TPGrid{16}{16} - -\RequirePackage[tt=false,type1=true]{libertine} -\RequirePackage{microtype} -\RequirePackage{anyfontsize} -\RequirePackage{multicol} +\RequirePackage[tt=false,type1=true]{libertine} % the font we use +\RequirePackage{microtype} % just to make rendering smooth +\RequirePackage{anyfontsize} % to support all sizes +\RequirePackage{multicol} % for pptWide environment \RequirePackage[fontsize=24pt]{fontsize} % to make fonts larger -\RequirePackage{changepage} -\RequirePackage{soul} -\RequirePackage{href-ul} - -\RequirePackage{tikz} - \usetikzlibrary{arrows} - \usetikzlibrary{decorations} - \usetikzlibrary{decorations.pathmorphing} - \usetikzlibrary{intersections} - \usetikzlibrary{positioning} - \usetikzlibrary{backgrounds} - \usetikzlibrary{calc} - \usetikzlibrary{shapes.arrows} -\RequirePackage{tikzpagenodes} +\RequirePackage{changepage} % to use 'adjustwidth' environment in pptWide +\RequirePackage{soul} % for underscores in crumbs +\RequirePackage{tikz} % for drawing circles +\RequirePackage{lastpage} % to count pages and show total \RequirePackage{crumbs} \renewcommand\crumb[2]{% @@ -80,7 +69,6 @@ \end{textblock}% \fi } - \RequirePackage{lastpage} \fancyhead[R]{% \ifnum\value{page}=1\else% \begin{textblock}{4}[1,0](15,1)% diff --git a/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty index 6b05d253038..026ee0abce0 100644 --- a/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty +++ b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty @@ -21,7 +21,7 @@ % SOFTWARE. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ppt-slides}[2022/09/11 0.0.1 Slide Decks à la Power Point] +\ProvidesPackage{ppt-slides}[2022/09/12 0.1.2 Slide Decks à la Power Point] \RequirePackage{pgfopts} \makeatletter @@ -51,13 +51,15 @@ \message{^^Jppt: No color scheme is loaded, because 'scheme' option is not specified} \fi\makeatother -\RequirePackage{pagecolor} -\RequirePackage{varwidth} -\RequirePackage{qrcode} -\RequirePackage{tikz} -\RequirePackage{tikzpagenodes} -\RequirePackage[inline]{enumitem} -\RequirePackage{crumbs} +\RequirePackage{ifthen} % for if/then/else in LaTeX +\RequirePackage{href-ul} % for nice hyperlinks +\RequirePackage{pagecolor} % to change page color +\RequirePackage{varwidth} % for pptWide +\RequirePackage{qrcode} % to print QR codes +\RequirePackage{tikz} % for drawings in TOC +\RequirePackage{tikzpagenodes} % for pptPin +\RequirePackage[inline]{enumitem} % for lists in crumbs +\RequirePackage{crumbs} % for crumbs \newcommand\pptMiddle[1]{% \vspace*{\fill}#1\vspace*{\fill}% @@ -117,12 +119,12 @@ }% \begin{@empty}% \renewcommand\crumb[2]{% - \ifx\pptTOC\empty\else\click[0]\fi + \ifx\pptTOC\empty\else\ifdefined\click\click[0]\fi\fi \gappto\pptTOC{\item ##2} } \crumbs \end{@empty}% - \flush[1]% + \ifdefined\flush\flush[1]\fi% } \RequirePackage{tabularx} @@ -151,7 +153,6 @@ }% } -\RequirePackage{ifthen} \newcommand\pptPin[2][right]{% \begin{tikzpicture}[remember picture,overlay]% \ifthenelse{\equal{#1}{left}} @@ -203,7 +204,6 @@ } \RequirePackage{seqsplit} -\RequirePackage{hyperref} \newcommand\pptPinQR[2][right]{% \pptPin[#1]{% \begin{minipage}{1.4in}% -- cgit v1.2.3