Debian Codegraph @

texmf-dist/tex/latex/seminar/semcolor.sty

raw
1 %%
2 %% This is file `semcolor.sty', version 1.01
3 %%
4 %% IMPORTANT NOTICE:
5 %%
6 %% semcolor.sty Copyright (C) 1993 Timothy Van Zandt
7 %%
8 %% This package may be distributed under the terms of the LaTeX Project
9 %% Public License, as described in lppl.txt in the base LaTeX distribution.
10 %% Either version 1.0 or, at your option, any later version.
11 %%
12 \def\fileversion{1.02}
13 \def\filedate{2014/01/17}
14 %%
15 %% LaTeX style option `semcolor.sty'.
16 %% For use with LaTeX v2.09 and the `seminar' document style.
17 %%
18 %% COPYRIGHT 1993, by Timothy Van Zandt, [email protected]
19 %%
20 %% This file may be distributed and/or modified under the conditions of
21 %% the LaTeX Project Public License, either version 1.2 of this license
22 %% or (at your option) any later version. The latest version of this
23 %% license is in:
24 %%
25 %% http://www.latex-project.org/lppl.txt
26 %%
27 %% and version 1.2 or later is part of all distributions of LaTeX version
28 %% 1999/12/01 or later.
29 %%
30 %%
31 %% You must install the PSTricks package v0.9 or later to use semcolor.sty.
32 %%
33 \@ifundefined{SemcolorFrameOps}{}{\endinput}
34 \typeout{Style Option: `semcolor' for doc style `seminar'
35 \fileversion\space <\filedate> (tvz)}
36 % RN modification begin -- 2004/05/04; [email protected]
37 %\input{pstricks}
38 \ProvidesFile{semcolor.sty}[\filedate\space v\fileversion\space (tvz)]
39 %\RequirePackage{pstricks}
40 \RequirePackage{pst-ovl}
41 % RN modification end
42 %
43 % Set up the frame styles:
44 \def\SemcolorFrameOps{\psset{%
45 fillstyle=none,%
46 linewidth=\slideframewidth,%
47 framesep=\slideframesep,%
48 cornersize=absolute,%
49 linearc=.5cm,%
50 shadowsize=2pt,%
51 shadowcolor=darkgray}}%
52 \newslideframe{scplain}[\SemcolorFrameOps]{\psframebox{#1}}
53 \newslideframe{scdouble}[\SemcolorFrameOps]{\psdblframebox{#1}}
54 \newslideframe{scshadow}[\SemcolorFrameOps]{\psshadowbox{#1}}
55 \slideframe{scplain}
56 %
57 % Rotation:
58 \def\leftsliderotation#1{\rotateleft{#1}}
59 \def\rightsliderotation#1{\rotateright{#1}}
60 \sliderotation{left}
61 %
62 % Color:
63 \addto@hook\after@slidepage{\pstVerb{0 setgray}}
64 %
65 % Overlays:
66 \def\make@overlay#1{%
67 \setbox\@slidebox=\hbox{%
68 \pst@initoverlay{#1}%
69 \pst@Verb{ 0 \tx@BOL }%
70 \copy\@@slidebox
71 \pst@Verb{ -1 \tx@BOL }}}
72 \def\@overlay{\pst@overlay}
73 \addto@hook\before@newslide{\def\curr@overlay{0}}
74 \@ifundefined{overlaystrue}{}{\ifarticle\else\overlaystrue\layerstrue\fi}
75 %
76 \endinput
77 %% END semcolor.sty