diff options
author | Karl Berry <karl@freefriends.org> | 2013-07-02 18:18:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-07-02 18:18:45 +0000 |
commit | 1a6b61dfa1ffa5032428d260ce4b22db56698693 (patch) | |
tree | fe7c45662e4459b8d937e65f27c3bf53d9941187 /Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty | |
parent | ec22b69d36a5c2efaaf68b803ff8eaa6d950eb38 (diff) |
powerdot restored
git-svn-id: svn://tug.org/texlive/trunk@31071 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty | 214 |
1 files changed, 214 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty b/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty new file mode 100644 index 00000000000..8a779519eb3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/powerdot/powerdot-fyma.sty @@ -0,0 +1,214 @@ +%% +%% This is file `powerdot-fyma.sty', +%% --------------------------------------------------------------- +%% Copyright (C) 2005-2010 Hendri Adriaens and Christopher Ellison +%% --------------------------------------------------------------- +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% 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.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "unmaintained". +%% +%% This work consists of all files listed in manifest.txt. +%% +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{powerdot-fyma}[2005/12/10 v1.3 fyma style (SA,HA)] +\RequirePackage{pst-grad} +\definecolor{fymahltcolor}{rgb}{1,0,0} +\pddefinepalettes{blue}{ + \definecolor{pdcolor1}{rgb}{.14,.34,.55} + \definecolor{pdcolor2}{rgb}{.24,.45,.7} + \definecolor{pdcolor3}{rgb}{.88,.95,1} +}{green}{ + \definecolor{pdcolor1}{rgb}{.1,.45,.3} + \definecolor{pdcolor2}{rgb}{.24,.7,.45} + \definecolor{pdcolor3}{rgb}{.88,1,.9} +}{gray}{ + \definecolor{pdcolor1}{gray}{0.25} + \definecolor{pdcolor2}{gray}{0.55} + \definecolor{pdcolor3}{gray}{0.85} +}{brown}{ + \definecolor{pdcolor1}{rgb}{.52,.32,.12} + \definecolor{pdcolor2}{rgb}{.7,.45,.24} + \definecolor{pdcolor3}{rgb}{.97,.92,.92} +}{orange}{ + \definecolor{pdcolor1}{rgb}{.8,.23,.24} + \definecolor{pdcolor2}{rgb}{.95,.53,.44} + \definecolor{pdcolor3}{rgb}{1,.92,.87} + \definecolor{fymahltcolor}{rgb}{.23,.25,.5} +} +\pddefinetemplate{basic}{ + titlefont=\large\bfseries\raggedright, + clockpos={.96\slidewidth,.97\slideheight},clockcolor=pdcolor1, + tocslidesep=.6ex, + toctcolor=pdcolor1, + tochlcolor=pdcolor1, + tochltcolor=fymahltcolor, + ifsetup=portrait, + textheight=.67\slideheight, + titlepos={.06\slidewidth,.9\slideheight}, + titlewidth=.75\slidewidth, + textpos={.09\slidewidth,.83\slideheight}, + textwidth=.85\slidewidth, + tocsecsep=.6ex, + stochook=tr,stocpos={.48\slidewidth,.12\slideheight}, + stocfont=\tiny\raggedleft, + ntochook=tl,ntocpos={.52\slidewidth,.12\slideheight}, + lfpos={.06\slidewidth,.045\slideheight}, + cfpos={.5\slidewidth,.045\slideheight}, + rfpos={.94\slidewidth,.045\slideheight}, + ifsetup=landscape, + titlepos={.205\slidewidth,.9\slideheight}, + titlewidth=.75\slidewidth, + textheight=.72\slideheight, + textpos={.23\slidewidth,.82\slideheight}, + textwidth=.72\slidewidth, + lfpos={.04\slidewidth,.03\slideheight}, + cfpos={.5\slidewidth,.03\slideheight}, + rfpos={.96\slidewidth,.03\slideheight}, + tocpos={.04\slidewidth,.82\slideheight}, + tocwidth=.14\slidewidth, + tocsecm={\psline[linewidth=.5pt,linecolor=pdcolor1]% + (-.05,-.05)(.143\slidewidth,-.05)} +}{{% + \psset{linewidth=.8pt,linecolor=pdcolor2}% + \pdifsetup{landscape}{% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=pdcolor3,% + gradend=white,gradmidpoint=0,dimen=outer]% + (.03\slidewidth,.97\slideheight)(.97\slidewidth,.055\slideheight)% + \psline + (.02\slidewidth,.055\slideheight)(.98\slidewidth,.055\slideheight)% + \psline + (.03\slidewidth,.07\slideheight)(.03\slidewidth,.045\slideheight)% + \psline + (.97\slidewidth,.07\slideheight)(.97\slidewidth,.045\slideheight)% + }{% + \psframe[linestyle=none,fillstyle=gradient,gradbegin=white,% + gradend=pdcolor3,gradmidpoint=.85,dimen=outer]% + (.03\slidewidth,.97\slideheight)(.97\slidewidth,.03\slideheight)% + \psline + (.02\slidewidth,.03\slideheight)(.98\slidewidth,.03\slideheight)% + \psline + (.03\slidewidth,.045\slideheight)(.03\slidewidth,.02\slideheight)% + \psline + (.97\slidewidth,.045\slideheight)(.97\slidewidth,.02\slideheight)% + }% + \psline + (.02\slidewidth,.97\slideheight)(.98\slidewidth,.97\slideheight)% + \psline + (.03\slidewidth,.98\slideheight)(.03\slidewidth,.955\slideheight)% + \psline + (.97\slidewidth,.98\slideheight)(.97\slidewidth,.955\slideheight)% +}} +\pddefinetemplate[basic]{titleslide}{ + texthook=t,textpos={.5\slidewidth,.7\slideheight}, + textwidth=.9\slidewidth,textfont=\centering, + textheight=.6\slideheight, + titlefont=\large\bfseries\centering,tocpos,ntocpos,stocpos +}{} +\pddefinetemplate[basic]{slide}{}{% + \pdifsetup{landscape}{% + \psframe[fillstyle=gradient,gradbegin=pdcolor3,gradend=white,% + gradmidpoint=1,linestyle=none,dimen=outer,linewidth=.8pt]% + (.03\slidewidth,.97\slideheight)(.195\slidewidth,.055\slideheight)% + }{}% +} +\pddefinetemplate[basic]{wideslide}{ + ifsetup=landscape,tocpos, + titlepos={.055\slidewidth,.9\slideheight}, + titlewidth=.75\slidewidth, + textpos={.07\slidewidth,.83\slideheight}, + textwidth=.83\slidewidth +}{} +\pddefinetemplate[slide]{sectionslide}{ + titlehook=c,titlefont=\Large\bfseries\centering, + ifsetup=landscape, + titlepos={.59\slidewidth,.525\slideheight}, + titlewidth=.5\slidewidth, + ifsetup=portrait, + titlepos={.5\slidewidth,.525\slideheight}, + titlewidth=.68\slidewidth +}{{% + \psset{linewidth=.8pt,linecolor=pdcolor2}% + \pdifsetup{landscape}{% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]% + (.34\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% + \psline + (.33\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)% + \psline + (.33\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)% + \psline + (.34\slidewidth,.635\slideheight)(.34\slidewidth,.66\slideheight)% + \psline + (.34\slidewidth,.39\slideheight)(.34\slidewidth,.415\slideheight)% + }{% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]% + (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% + \psline + (.15\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)% + \psline + (.15\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)% + \psline + (.16\slidewidth,.635\slideheight)(.16\slidewidth,.66\slideheight)% + \psline + (.16\slidewidth,.39\slideheight)(.16\slidewidth,.415\slideheight)% + }% + \psline + (.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)% + \psline + (.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)% +}} +\pddefinetemplate[wideslide]{sectionwideslide}{% + titlehook=c,titlefont=\Large\bfseries\centering, + titlepos={.5\slidewidth,.525\slideheight}, + titlewidth=.68\slidewidth +}{{% + \psset{linewidth=.8pt,linecolor=pdcolor2}% + \psframe[fillstyle=solid,fillcolor=white,linestyle=none,dimen=outer]% + (.16\slidewidth,.65\slideheight)(.84\slidewidth,.4\slideheight)% + \psline + (.15\slidewidth,.65\slideheight)(.85\slidewidth,.65\slideheight)% + \psline + (.15\slidewidth,.4\slideheight)(.85\slidewidth,.4\slideheight)% + \psline + (.16\slidewidth,.635\slideheight)(.16\slidewidth,.66\slideheight)% + \psline + (.16\slidewidth,.39\slideheight)(.16\slidewidth,.415\slideheight)% + \psline + (.84\slidewidth,.635\slideheight)(.84\slidewidth,.66\slideheight)% + \psline + (.84\slidewidth,.39\slideheight)(.84\slidewidth,.415\slideheight)% +}} +\def\pd@slidetitle#1{% + \settowidth\@tempdima{#1}% + \ifdim\@tempdima>\pd@@titlewidth\@tempdima\pd@@titlewidth\fi + \psline[linewidth=.8pt,linecolor=pdcolor1]% + (0,-.15cm)(\@tempdima,-.15cm)% + \parbox[b]\pd@@titlewidth{#1}% +} +\def\pd@tochighlight#1{% + \begin{minipage}[b]\pd@@tocwidth + \pd@usedtocfont\color\pd@@tochltcolor#1% + \end{minipage}% +} +\setkeys[pd]{section}{sectemp=sectionslide,widesectemp=sectionwideslide} +\pdifsetup{landscape}{\def\pd@tocslide#1{{\tiny\ensuremath\bullet} #1}}{} +\def\labelitemi{\small\ensuremath\bullet} +\def\labelitemii{\small\ensuremath\circ} +\def\labelitemiii{\scriptsize\ensuremath\bullet} +\def\labelitemiv{\scriptsize\ensuremath\circ} +\pdsetup{ + list={labelsep=1em,leftmargin=*,itemsep=0pt,topsep=5pt,parsep=0pt} +} +\def\rmdefault{phv} +\def\sfdefault{phv} +\def\Hv@scale{.86} +\endinput +%% +%% End of file `powerdot-fyma.sty'. |