summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
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 /Master/texmf-dist/tex
parent29f59720fc903252c857a6963139bd0dfe5da56a (diff)
ppt-slides (9nov23)
git-svn-id: svn://tug.org/texlive/trunk@68764 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty25
1 files changed, 18 insertions, 7 deletions
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);