From 3425ad695d75cc781b0fe3412db3aa2ad5985959 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 9 Nov 2023 03:02:39 +0000 Subject: CTAN sync 202311090302 --- macros/latex/contrib/ppt-slides/DEPENDS.txt | 2 +- macros/latex/contrib/ppt-slides/ppt-slides.dtx | 29 ++++++++++++++++++------- macros/latex/contrib/ppt-slides/ppt-slides.pdf | Bin 932902 -> 934686 bytes 3 files changed, 22 insertions(+), 9 deletions(-) (limited to 'macros/latex/contrib/ppt-slides') diff --git a/macros/latex/contrib/ppt-slides/DEPENDS.txt b/macros/latex/contrib/ppt-slides/DEPENDS.txt index 6607b6fe61..9234b174c7 100644 --- a/macros/latex/contrib/ppt-slides/DEPENDS.txt +++ b/macros/latex/contrib/ppt-slides/DEPENDS.txt @@ -1,4 +1,3 @@ - hard anyfontsize hard changepage hard crumbs @@ -40,6 +39,7 @@ soft microtype soft newtx soft pdfcrop soft qrcode +soft upquote soft scheme-basic soft setspace soft standalone diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.dtx b/macros/latex/contrib/ppt-slides/ppt-slides.dtx index 515a43cd9b..54abab106f 100644 --- a/macros/latex/contrib/ppt-slides/ppt-slides.dtx +++ b/macros/latex/contrib/ppt-slides/ppt-slides.dtx @@ -50,7 +50,7 @@ %\NeedsTeXFormat{LaTeX2e} %\ProvidesPackage{ppt-slides} %<*package> -[2023-09-08 0.2.3 Slide Decks a la Power Point] +[2023-11-08 0.3.0 Slide Decks a la Power Point] % %<*driver> \documentclass{ltxdoc} @@ -533,19 +533,31 @@ % \end{macro} % \begin{macro}{\pptQuote} -% Then, we define the |\pptQuote| command: +% Then, we define the |\pptQuote| command, with one optional and three mandatory arguments: +% \changes{0.3.0}{2023/11/08}{The \texttt{\char`\\pptQuote} command has got an optional parameter, where the name of the person on the photo can be specified.} % \begin{macrocode} \RequirePackage{tabularx} -\newcommand\pptQuote[3]{% +\newcommand\pptQuote[4][]{% \begin{tabularx}{\columnwidth}{c>{\raggedright\arraybackslash}X}% - \raisebox{\dimexpr-\height+\ht\strutbox}{\pptPic{0.25}{#1}}% + \raisebox{\dimexpr-\height+\ht\strutbox}{ + \parbox{0.25\textwidth+2pt}{% + \raggedright% + \pptPic{0.25}{#2}% + \def\person{#1}% + \ifx\person\empty\else% + \par% + \small% + \person% + \fi% + }% + }% &% - ``#2''% - \def\param{#3}% + ``#3''% + \def\param{#4}% \ifx\param\empty\else% \newline\newline% \small% - --- #3% + --- \param% \fi% \\% \end{tabularx}% @@ -595,6 +607,7 @@ % \end{macro} % \begin{macro}{\pptThought} +% \changes{0.3.0}{2023/09/19}{The \texttt{\char`\\pptThought} command aligns text to the left.} % Then, we define the |\pptThought| command: % \begin{macrocode} \newcommand\pptThought[1]{% @@ -602,7 +615,7 @@ \tikz{% \node [inner sep=18pt] (z) {% \begin{varwidth}{0.8\textwidth}% - \Large #1% + \raggedright\Large #1% \end{varwidth}% }; \path [draw=green,line width=8pt] (z.north west) -- (z.south west); diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.pdf b/macros/latex/contrib/ppt-slides/ppt-slides.pdf index 7b23a4fc98..9e22a9e1aa 100644 Binary files a/macros/latex/contrib/ppt-slides/ppt-slides.pdf and b/macros/latex/contrib/ppt-slides/ppt-slides.pdf differ -- cgit v1.2.3