texlive[68764] Master/texmf-dist: ppt-slides (9nov23)

commits+karl at tug.org commits+karl at tug.org
Thu Nov 9 23:08:15 CET 2023


Revision: 68764
          https://tug.org/svn/texlive?view=revision&revision=68764
Author:   karl
Date:     2023-11-09 23:08:14 +0100 (Thu, 09 Nov 2023)
Log Message:
-----------
ppt-slides (9nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt
    trunk/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf
    trunk/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx
    trunk/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty

Modified: trunk/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt	2023-11-09 22:08:03 UTC (rev 68763)
+++ trunk/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt	2023-11-09 22:08:14 UTC (rev 68764)
@@ -1,4 +1,3 @@
-
 hard anyfontsize
 hard changepage
 hard crumbs
@@ -40,6 +39,7 @@
 soft newtx
 soft pdfcrop
 soft qrcode
+soft upquote
 soft scheme-basic
 soft setspace
 soft standalone

Modified: trunk/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx	2023-11-09 22:08:03 UTC (rev 68763)
+++ trunk/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx	2023-11-09 22:08:14 UTC (rev 68764)
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\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]
 %</package>
 %<*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);

Modified: trunk/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty	2023-11-09 22:08:03 UTC (rev 68763)
+++ trunk/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty	2023-11-09 22:08:14 UTC (rev 68764)
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{ppt-slides}
-[2023-09-08 0.2.3 Slide Decks a la Power Point]
+[2023-11-08 0.3.0 Slide Decks a la Power Point]
 
 
 
@@ -167,16 +167,27 @@
 }
 
 \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}%
@@ -218,7 +229,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);



More information about the tex-live-commits mailing list.