summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/ppt-slides/ppt-slides.sty17
1 files changed, 9 insertions, 8 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 7d335432b76..6ae3831e556 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,8 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ppt-slides}
-[2022-12-03 0.2.0 Slide Decks a la Power Point]
+[2022-12-04 0.2.1 Slide Decks a la Power Point]
+
@@ -95,9 +96,9 @@
\RequirePackage[inline]{enumitem} % for lists in crumbs
\RequirePackage{crumbs} % for crumbs
-\newcommand\pptMiddle[1]{%
- \vspace*{\fill}#1\vspace*{\fill}%
-}
+\newenvironment{pptMiddle}
+ {\vspace*{\fill}}
+ {\vspace*{\fill}}
\newcommand\pptBanner[2][green]{%
\par%
@@ -108,11 +109,11 @@
\newcommand\pptChapter[2][]{%
\crumbection[#1]{#2}%
- \pptMiddle{%
+ \begin{pptMiddle}%
{\large\ttfamily Chapter \#\the\value{section}:}%
\newline%
\rotatebox{1}{\pptBanner[blue]{\LARGE#2}}%
- }%
+ \end{pptMiddle}%
}
\newcommand\pptSection[2][]{%
@@ -210,7 +211,7 @@
}
\newcommand\pptThought[1]{%
- \pptMiddle{%
+ \begin{pptMiddle}%
\tikz{%
\node [inner sep=18pt] (z) {%
\begin{varwidth}{0.8\textwidth}
@@ -220,7 +221,7 @@
};
\path [draw=green,line width=8pt] (z.north west) -- (z.south west);
}%
- }%
+ \end{pptMiddle}%
}
\newcommand\pptSnippet[2][\small]{%