doc-src/TutorialI/Overview/Slides/PPRmyframes.sty
changeset 48609 0090fab725e3
parent 48608 88ff12baccba
child 48610 0095de9e9da0
equal deleted inserted replaced
48608:88ff12baccba 48609:0090fab725e3
     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 %==============================================================================
       
    30 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
       
    31 \ProvidesPackage{PPRmyframes}[2000/04/18]
       
    32 \typeout{`Frames' style for prosper ---}
       
    33 \typeout{(c) 2000 Frederic Goualard, IRIN, France}
       
    34 \typeout{ }
       
    35 
       
    36 \RequirePackage{semhelv}
       
    37 \RequirePackage{amssymb}
       
    38 
       
    39 % Chargement des fichiers de pstricks (on teste les noms en vigueur pour
       
    40 % gérer les différentes versions de pstricks).
       
    41 \IfFileExists{pst-grad}{\RequirePackage{pst-grad}}{\RequirePackage{gradient}}
       
    42 
       
    43 \newgray{gris1}{.40}
       
    44 \newgray{gris2}{.85}
       
    45 \newgray{gris3}{.30}
       
    46 \newgray{gris4}{.25}
       
    47 \newgray{gris5}{.90}
       
    48 
       
    49 \FontTitle{\usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}{%
       
    50   \usefont{T1}{phv}{b}{sl}\fontsize{14.4pt}{12pt}\selectfont}
       
    51 \FontText{\usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}{%
       
    52   \usefont{T1}{phv}{m}{n}\fontsize{13pt}{12pt}\selectfont}
       
    53 
       
    54 \def\labelitemi{\ensuremath{\blacktriangleright}}
       
    55 
       
    56 \newcommand{\slidetitle}[1]{%
       
    57   \rput[lb](-.6,3.6){%
       
    58     \parbox{12cm}{\begin{center}\fontTitle{#1}\end{center}}}}
       
    59 
       
    60 \LogoPosition{-.7,-.1}
       
    61 
       
    62 \def\TWRFrame#1{%
       
    63   \psframe[linestyle=none,fillstyle=gradient,gradangle=90,
       
    64   gradbegin=black,gradend=gris2,gradmidpoint=0.7]%
       
    65   (-1.2,7)(11.6,7.1)
       
    66   \PutLogo % Mandatory
       
    67   {#1}}
       
    68 
       
    69 \NewSlideStyle[12cm]{t}{5,2.4}{TWRFrame}
       
    70 \PDFCroppingBox{10 40 594 820}
       
    71 
       
    72 
       
    73 \endinput
       
    74 
       
    75 %%% Local Variables: 
       
    76 %%% mode: latex
       
    77 %%% TeX-master: t
       
    78 %%% End: