doc-src/TutorialI/Overview/Slides/PPRmyframes.sty
changeset 13497 defb74f6a5bc
child 42637 381fdcab0f36
equal deleted inserted replaced
13496:6f0c57def6d5 13497:defb74f6a5bc
       
     1 %==============================================================================
       
     2 % Prosper -- (PPRframes.sty) Style file
       
     3 % A LaTeX class for creating slides
       
     4 % Author: Frederic Goualard (Frederic.Goualard@irin.univ-nantes.fr)
       
     5 %         Institut de Recherche en Informatique de Nantes
       
     6 %         University of Nantes, France
       
     7 %
       
     8 % Copyright (c) 2000 Frederic Goualard
       
     9 % All rights reserved.
       
    10 % 
       
    11 % Permission is hereby granted, without written agreement and without
       
    12 % license or royalty fees, to use, copy, modify, and distribute this
       
    13 % software and its documentation for any purpose, provided that the
       
    14 % above copyright notice and the following two paragraphs appear in
       
    15 % all copies of this software.
       
    16 % 
       
    17 % IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, 
       
    18 % SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF 
       
    19 % THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED 
       
    20 % OF THE POSSIBILITY OF SUCH DAMAGE.
       
    21 % 
       
    22 % 
       
    23 % THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES,
       
    24 % INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
       
    25 % AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
       
    26 % ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATION TO
       
    27 % PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
       
    28 %
       
    29 % CVSId : $Id$
       
    30 %==============================================================================
       
    31 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
       
    32 \ProvidesPackage{PPRmyframes}[2000/04/18]
       
    33 \typeout{`Frames' style for prosper ---}
       
    34 \typeout{(c) 2000 Frederic Goualard, IRIN, France}
       
    35 \typeout{CVSId: $Id$}
       
    36 \typeout{ }
       
    37 
       
    38 \RequirePackage{semhelv}
       
    39 \RequirePackage{amssymb}
       
    40 
       
    41 % Chargement des fichiers de pstricks (on teste les noms en vigueur pour
       
    42 % gérer les différentes versions de pstricks).
       
    43 \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
       
    44 
       
    45 \newgray{gris1}{.40}
       
    46 \newgray{gris2}{.85}
       
    47 \newgray{gris3}{.30}
       
    48 \newgray{gris4}{.25}
       
    49 \newgray{gris5}{.90}
       
    50 
       
    51 \FontTitle{\usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}{%
       
    52   \usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}
       
    53 \FontText{\usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}{%
       
    54   \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}
       
    55 
       
    56 \def\labelitemi{\ensuremath{\blacktriangleright}}
       
    57 
       
    58 \newcommand{\slidetitle}[1]{%
       
    59   \rput[lb](-.6,3.6){%
       
    60     \parbox{12cm}{\begin{center}\fontTitle{#1}\end{center}}}}
       
    61 
       
    62 \LogoPosition{-.7,-.1}
       
    63 
       
    64 \def\TWRFrame#1{%
       
    65   \psframe[linestyle=none,fillstyle=gradient,gradangle=90,
       
    66   gradbegin=black,gradend=gris2,gradmidpoint=0.7]%
       
    67   (-1.2,7)(11.6,7.1)
       
    68   \PutLogo % Mandatory
       
    69   {#1}}
       
    70 
       
    71 \NewSlideStyle[12cm]{t}{5,2.4}{TWRFrame}
       
    72 \PDFCroppingBox{10 40 594 820}
       
    73 
       
    74 
       
    75 \endinput
       
    76 
       
    77 %%% Local Variables: 
       
    78 %%% mode: latex
       
    79 %%% TeX-master: t
       
    80 %%% End: