summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ppt-slides
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-09 03:02:39 +0000
committerNorbert Preining <norbert@preining.info>2023-11-09 03:02:39 +0000
commit3425ad695d75cc781b0fe3412db3aa2ad5985959 (patch)
tree9ec65bca1de4085db47511e67369ea2b71a488fa /macros/latex/contrib/ppt-slides
parentdada699771828d1aa3c78ecf55a2131e5f5799f3 (diff)
CTAN sync 202311090302
Diffstat (limited to 'macros/latex/contrib/ppt-slides')
-rw-r--r--macros/latex/contrib/ppt-slides/DEPENDS.txt2
-rw-r--r--macros/latex/contrib/ppt-slides/ppt-slides.dtx29
-rw-r--r--macros/latex/contrib/ppt-slides/ppt-slides.pdfbin932902 -> 934686 bytes
3 files changed, 22 insertions, 9 deletions
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 @@
%<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);
diff --git a/macros/latex/contrib/ppt-slides/ppt-slides.pdf b/macros/latex/contrib/ppt-slides/ppt-slides.pdf
index 7b23a4fc98..9e22a9e1aa 100644
--- a/macros/latex/contrib/ppt-slides/ppt-slides.pdf
+++ b/macros/latex/contrib/ppt-slides/ppt-slides.pdf
Binary files differ