summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-09 22:08:14 +0000
committerKarl Berry <karl@freefriends.org>2023-11-09 22:08:14 +0000
commit9c3181c81430ce2c86a4966aaaa319958d529896 (patch)
tree40098e7ca8b60aae0d210a26102875b16a0828f0
parent29f59720fc903252c857a6963139bd0dfe5da56a (diff)
ppt-slides (9nov23)
git-svn-id: svn://tug.org/texlive/trunk@68764 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt2
-rw-r--r--Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdfbin932902 -> 934686 bytes
-rw-r--r--Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx29
-rw-r--r--Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty25
4 files changed, 40 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt b/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt
index 6607b6fe614..9234b174c79 100644
--- a/Master/texmf-dist/doc/latex/ppt-slides/DEPENDS.txt
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf
index 7b23a4fc987..9e22a9e1aae 100644
--- a/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf
+++ b/Master/texmf-dist/doc/latex/ppt-slides/ppt-slides.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx b/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx
index 515a43cd9b2..54abab106f5 100644
--- a/Master/texmf-dist/source/latex/ppt-slides/ppt-slides.dtx
+++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty
index f9583bb984a..84cedfdf7d9 100644
--- a/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty
+++ b/Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty
@@ -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);