diff options
Diffstat (limited to 'macros/latex/contrib/seminar/latex/semcolor.sty')
-rw-r--r-- | macros/latex/contrib/seminar/latex/semcolor.sty | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/macros/latex/contrib/seminar/latex/semcolor.sty b/macros/latex/contrib/seminar/latex/semcolor.sty new file mode 100644 index 0000000000..84fc61986c --- /dev/null +++ b/macros/latex/contrib/seminar/latex/semcolor.sty @@ -0,0 +1,77 @@ +%% +%% This is file `semcolor.sty', version 1.01 +%% +%% IMPORTANT NOTICE: +%% +%% semcolor.sty Copyright (C) 1993 Timothy Van Zandt +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% +\def\fileversion{1.02} +\def\filedate{2014/01/17} +%% +%% LaTeX style option `semcolor.sty'. +%% For use with LaTeX v2.09 and the `seminar' document style. +%% +%% COPYRIGHT 1993, by Timothy Van Zandt, Timothy.VAN-ZANDT@insead.edu +%% +%% This file 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. +%% +%% +%% You must install the PSTricks package v0.9 or later to use semcolor.sty. +%% +\@ifundefined{SemcolorFrameOps}{}{\endinput} +\typeout{Style Option: `semcolor' for doc style `seminar' + \fileversion\space <\filedate> (tvz)} +% RN modification begin -- 2004/05/04; Rolf.Niepraschk@ptb.de +%\input{pstricks} +\ProvidesFile{semcolor.sty}[\filedate\space v\fileversion\space (tvz)] +%\RequirePackage{pstricks} +\RequirePackage{pst-ovl} +% RN modification end +% +% Set up the frame styles: +\def\SemcolorFrameOps{\psset{% + fillstyle=none,% + linewidth=\slideframewidth,% + framesep=\slideframesep,% + cornersize=absolute,% + linearc=.5cm,% + shadowsize=2pt,% + shadowcolor=darkgray}}% +\newslideframe{scplain}[\SemcolorFrameOps]{\psframebox{#1}} +\newslideframe{scdouble}[\SemcolorFrameOps]{\psdblframebox{#1}} +\newslideframe{scshadow}[\SemcolorFrameOps]{\psshadowbox{#1}} +\slideframe{scplain} +% +% Rotation: +\def\leftsliderotation#1{\rotateleft{#1}} +\def\rightsliderotation#1{\rotateright{#1}} +\sliderotation{left} +% +% Color: +\addto@hook\after@slidepage{\pstVerb{0 setgray}} +% +% Overlays: +\def\make@overlay#1{% + \setbox\@slidebox=\hbox{% + \pst@initoverlay{#1}% + \pst@Verb{ 0 \tx@BOL }% + \copy\@@slidebox + \pst@Verb{ -1 \tx@BOL }}} +\def\@overlay{\pst@overlay} +\addto@hook\before@newslide{\def\curr@overlay{0}} +\@ifundefined{overlaystrue}{}{\ifarticle\else\overlaystrue\layerstrue\fi} +% +\endinput +%% END semcolor.sty |