summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/practicalreports/practicalreports.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-27 03:00:59 +0000
committerNorbert Preining <norbert@preining.info>2019-09-27 03:00:59 +0000
commit5827a950592f8a91468bcd0b5963d1df8d3518d8 (patch)
treecc7de4d173aa3c2c42e0099e0d6ce358ad969ff3 /macros/latex/contrib/practicalreports/practicalreports.sty
parent55b9d356c616c30b8a2892babf47015ca39fb549 (diff)
CTAN sync 201909270300
Diffstat (limited to 'macros/latex/contrib/practicalreports/practicalreports.sty')
-rw-r--r--macros/latex/contrib/practicalreports/practicalreports.sty37
1 files changed, 35 insertions, 2 deletions
diff --git a/macros/latex/contrib/practicalreports/practicalreports.sty b/macros/latex/contrib/practicalreports/practicalreports.sty
index 3f81259621..174892e902 100644
--- a/macros/latex/contrib/practicalreports/practicalreports.sty
+++ b/macros/latex/contrib/practicalreports/practicalreports.sty
@@ -2,8 +2,8 @@
%%License: LPPL 1.3c
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{practicalreports}[25/09/2019 v2.0.0 Practical Report Package]
-\RequirePackage{mathtools, array, longtable, scrextend, float, fancyhdr, lastpage}
+\ProvidesPackage{practicalreports}[26/09/2019 v2.0.1 Practical Report Package]
+\RequirePackage{mathtools, array, longtable, scrextend, float, fancyhdr, lastpage, tikzducks}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -154,6 +154,39 @@
\newcommand*{\goodfoot}{
\cfoot{Page \thepage \ of \pageref{LastPage}}
+\newcommand{\duckfoot}{
+\cfoot{
+\begin{tikzpicture}[scale=0.6]
+\duck[lightsaber=red,cape=black!85!white,
+body=black!70!white,darthvader=black!85!white, speech={Page},bubblecolour=cyan!20!white,laughing]
+\end{tikzpicture}
+\begin{tikzpicture}[scale=0.6]
+\duck[parting=brown!70!black, squareglasses,
+tshirt=teal!50!white, jacket=white,
+buttons=gray!50!white, stethoscope, signpost={\thepage}]
+\end{tikzpicture}
+\begin{tikzpicture}[scale=0.6]
+\colorlet{skin}{white!45!gray!80!green}
+\duck[lightsaber=green, body=skin, bill=gray!80!green,
+tshirt=brown!50!black, jacket=brown!30!gray, speech={of},bubblecolour=cyan!20!white,laughing]
+\fill[skin,rounded corners=3] (0.44,1.70) -- (0.25,2)
+-- (0.6,1.95);
+\fill[skin,rounded corners=3] (1.34,1.60) --
+(1.53,1.9) -- (1.16,1.85);
+\end{tikzpicture}
+\begin{tikzpicture}[scale=0.6]
+\begin{scope}[yshift=-6]
+\clip[rotate=-5] (0.68,2.38) ellipse (0.3 and 0.4);
+\fill[brown,rotate=-5](0.28,2.26)ellipse (0.3 and 0.4);
+\end{scope}
+\duck[body=brown,mohican=brown!50!black,horsetail, signpost={\pageref{LastPage}}]
+\begin{scope}[yshift=-5,xshift=1]
+\clip[rotate=-5] (0.68,2.38) ellipse (0.3 and 0.4);
+\fill[brown,rotate=-5](1.06,2.2) ellipse (0.3 and 0.4);
+\end{scope}
+\end{tikzpicture}
+}
+}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%