summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/arabi/PPRarabic.sty
blob: 433145e0f5fc5a7d47dbcdf59b36f782959f43f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
%==============================================================================
%% PPRdefault.sty (a slide style for Prosper)
%% Copyright 2000-2001 Frédéric Goualard
%%
%% Note: this style was contributed anonymously by a user.
%%
%% This program may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX 
%% version 1999/12/01 or later.
%%
%%
%% PPRarabic.sty,v 0.01 2005/09/21 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{PPRarabic}[2005/09/21]
\typeout{`an arabic' style for Prosper ---}
\typeout{PPRarabic.sty, v 0.01 2005/09/21}
\typeout{adapted from PPRdefault.sty, v 0.01 2005/09/21}
\typeout{ }

\RequirePackage{amssymb}
% Loading packages necessary to define this slide style.
% none

\newgray{grayb}{.5}

\FontTitle{%
  \usefont{JAE}{reqaa}{m}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}{%
  \usefont{LAE}{reqaa}{m}{n}\fontsize{20.74pt}{18pt}\selectfont\blue}
\FontText{%
  \black\usefont{LAE}{reqaa}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}{%
  \black\usefont{LAE}{reqaa}{m}{n}\fontsize{12.4pt}{12pt}\selectfont}


% Positionning of the title of a slide.
\newcommand{\slidetitle}[1]{%
  \rput[c](5.25,4.4){\fontTitle{#1}}
}

% Positionning for a logo
\LogoPosition{-1,-1.1}

% Definition of this style for slides.

\newcommand{\BasicFrame}[1]{%
%\ifinColor
%\else
%\fi
\psline[linewidth=.5pt,linecolor=grayb](-1,0)(-1,-0.6)(-0.4,-0.6)
\psline[linewidth=.5pt,linecolor=grayb](11,-0.6)(11.6,-0.6)(11.6,0)
\psline[linewidth=.5pt,linecolor=grayb](-1,6.7)(-1,7.3)(-0.4,7.3)
\psline[linewidth=.5pt,linecolor=grayb](11.6,6.7)(11.6,7.3)(11,7.3)
  \PutLogo % Mandatory
 {#1}
\raggedright}

\NewSlideStyle[115mm]{t}{5.3,3.2}{BasicFrame}
\PDFCroppingBox{10 40 594 800}
%\RequirePackage{semhelv}


\myitem{1}{\includegraphics[width=.4cm]{red-bullet-on-white.ps}}
\myitem{2}{\includegraphics[width=.3cm]{green-bullet-on-white.ps}}
\myitem{3}{\includegraphics[width=.3cm]{yellow-bullet-on-white.ps}}












\newpagestyle{arabic}{\hfill }{\ifnoFooter\else\hfill%
 \ifisDraft
 {\beginR\@colorFoot\tiny \L{\textbf{\jobname.tex}}~--~\@Title~--~\@Author~--~\L{\number\day/\number\month/\number\year}~--~\timenow~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi\endR}%
  \else
  \ifshowVersion
 {\@colorFoot\tiny \L{\textbf{\jobname.tex}}~--~\@Title~--~\@Author~--~\number\day/\number\month/\number\year~--~\timenow~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi}%
  \else
  {\beginR\@colorFoot\tiny \@cartouche~--~\@ensure@R{\sad}.~\thepage\ifallPages\space\@ensure@R{\meem\nun}\space\realpageref{last@page}\fi\endR}%
  \fi\fi\fi
}

\slidepagestyle{arabic}



\endinput

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: