summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/seminar/semcolor.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/seminar/semcolor.sty')
-rw-r--r--Master/texmf-dist/tex/latex/seminar/semcolor.sty66
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/seminar/semcolor.sty b/Master/texmf-dist/tex/latex/seminar/semcolor.sty
new file mode 100644
index 00000000000..03a58cd842f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/seminar/semcolor.sty
@@ -0,0 +1,66 @@
+%%
+%% 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.01}
+\def\filedate{2004/05/18}
+%%
+%% 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
+%% See seminar.sty or seminar.doc for copying restrictions.
+%%
+%% 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}
+% 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) BOL}%
+ \copy\@@slidebox
+ \pst@Verb{(all) BOL}}}
+\def\@overlay{\pst@overlay}
+\addto@hook\before@newslide{\def\curr@overlay{0}}
+\@ifundefined{overlaystrue}{}{\ifarticle\else\overlaystrue\layerstrue\fi}
+%
+\endinput
+%% END semcolor.sty