From 5c8ba225e36daa34b72f01c4a5e1d65d2e69c359 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 26 Sep 2019 21:48:13 +0000 Subject: practicalreports (26sep19) git-svn-id: svn://tug.org/texlive/trunk@52182 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/practicalreports/practicalreports.sty | 37 ++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/practicalreports') diff --git a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty b/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty index 3f812596219..174892e9026 100644 --- a/Master/texmf-dist/tex/latex/practicalreports/practicalreports.sty +++ b/Master/texmf-dist/tex/latex/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} +} +} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- cgit v1.2.3