%============================================================================== \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{PPRgglmrs2}[2003/08/18] \typeout{`gglmrs' style for prosper ---} \typeout{(c) 2003 GG, LMRS, France} \typeout{CVSId: $Id: PPRgglmrs.sty,v 1.0 2003/08/01 13:05:06 fred Exp $} \typeout{ } \RequirePackage{amssymb} \RequirePackage{pifont} \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}} \newif\ifthePages \global\thePagestrue \newif\iftheCartouche \global\theCartouchetrue \newcommand{\maketitlegg}{% \addtocounter{slide}{-1} \thePagesfalse\theCartouchefalse \maketitle \thePagestrue\theCartouchetrue} \ifinColor \newrgbcolor{bgcolor}{0.20 0.36 0.70} %\newrgbcolor{bgcolor}{0 0 0} \newrgbcolor{framecolor}{0.48 0.44 0.90} \else \newrgbcolor{bgcolor}{1 1 1} \newrgbcolor{framecolor}{0 0 0} \fi \ifinColor \ifcolorBG \let\colC=\white \let\itemcolor=\green \let\importantcolor=\green \let\socolor=\green \else \let\colC=\black \let\itemcolor=\framecolor \let\importantcolor=\red \let\socolor=\red \fi \else \let\colC=\black \let\itemcolor=\black \let\importantcolor=\black \let\socolor=\black \fi \ifinColor \newcommand{\important}[1]{{\mbox{\importantcolor#1}}} \else \newcommand{\important}[1]{\textbf{\mbox{\importantcolor#1}}} \fi \FontTitle{% % \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont% \usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont% \colC}{% % \usefont{T1}{ptm}{b}{n}\fontsize{20.74pt}{20pt}\selectfont% \usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont% \colC} \FontText{\colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}% \selectfont}{% \colC\usefont{T1}{phv}{m}{n}\fontsize{14.4pt}{14pt}\selectfont} \ColorFoot{\colC} \newcommand{\slidetitle}[1]{% \rput[lt](-1.4,5){\fontTitle{\white#1}}} \LogoPosition{-.4,-.7} \renewpagestyle{GenericPageStyle}{\hfill }{\hfill% \ifisDraft {\@colorFoot\tiny \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow\ifthePages~--~p.\thepage\ifallPages/\realpageref{last@page}\fi\fi} \else \ifshowVersion {\@colorFoot\tiny \textbf{\jobname.tex}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow\ifthePages~--~p.\thepage\ifallPages/\realpageref{last@page}\fi\fi} \else \iftheCartouche {\@colorFoot\tiny \@cartouche\ifthePages~--~p.\thepage\ifallPages/\realpageref{last@page}\fi\fi} \fi \fi\fi } \newcommand{\PascalFrame}[1]{% \ifcolorBG \psframe[linestyle=none,fillstyle=solid,fillcolor=bgcolor](-2,-1.4)(12.5,9) \fi \psframe[linestyle=none,fillstyle=solid,% fillcolor=framecolor](-1.9,7.78)(12.5,8.8) \ifcolorBG \psframe[linestyle=none,fillstyle=solid,% fillcolor=framecolor](-1.9,7.8)(-1.4,-1.6) \else \psframe[linestyle=none,fillstyle=gradient,% gradbegin=framecolor,gradend=white,gradmidpoint=1](-1.9,7.8)(-1.4,-1.6) \fi \PutLogo % Mandatory {#1}} \NewSlideStyle[13cm]{t}{5.2,3.9}{PascalFrame} \RequirePackage{semhelv} %\PDFCroppingBox{0 0 594 820} \PDFCroppingBox{0 0 594 840} \myitem{1}{{\scriptsize\itemcolor% \raisebox{2pt}{\ensuremath{\blacksquare}}}} \myitem{2}{{\scriptsize\itemcolor% \raisebox{2pt}{\ensuremath{\blacklozenge}}}} \myitem{3}{{\scriptsize\itemcolor% \raisebox{2pt}{\ensuremath{\bullet}}}} \newcommand{\so}{\ding{223}} \newcommand{\soitem}{\item[]{\socolor\so~}} % \psfigAdapt \newcommand{\psfigAdapt}[3]{% \ifcolorBG \psfig{#1,file=#2} \else \psfig{#1,file=#3} \fi } % \tableofcontents \renewcommand{\tableofcontents}{% \begin{slide}{Sommaire} \vfill \@starttoc{toc} \end{slide}} % \parttoc \let\parttoc=\relax \newcommand{\parttoc}[2][\@defaultTransition]{% \addtocounter{slide}{-1} \thePagesfalse\theCartouchefalse\begin{slide}[#1]{@}% \vspace*{1.5cm}\@addBookmarkOnSlide{#2} \begin{center} \fontTitle{#2}% \addtocontents{toc}{{\protect\scriptsize\protect\itemcolor\protect\raisebox{2pt}{\protect\ensuremath{\protect\blacksquare}}}~#2\protect\newline\vfill} \end{center} \end{slide} \theCartouchetrue\thePagestrue} \endinput %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: