[pstricks] (no subject) (a subject indeed! = Colorthemes @ powerdot)

Carsten Vogel lego at wh10.tu-dresden.de
Mon May 26 22:07:36 CEST 2008


Herbert Voss schrieb:
> powerdot is based on PSTricks and color managing should be
> no problem
>
>   
Pardon me bothering you again, I red about color scemes and got to know 
some of the key elements.
Would I simply use \psset{linecolor=white} in the specific color sceme? 
How would I override a color command in that specific
sketch?

Or am I totally lost again Xo)

As common practice I might try to solve problems by complicating them 
again... never mind than. Thanks for any reviews/comments!

Cheers,
Carsten

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Example color scemes for powerdot; part of powerdot-tugdd.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\RequirePackage{pst-slpe}
\pddefinepalettes{Bright}{%
  \definecolor{pdcolor1}{RGB}{240,240,240} % body-background
  \definecolor{pdcolor2}{RGB}{220,220,230} % head-background
  \definecolor{pdcolor3}{RGB}{220,220,230} % foot-background
  \definecolor{pdcolor4}{RGB}{255,255,255} % highlight
  \definecolor{pdcolor5}{RGB}{80,80,150}   % lowlight
  \definecolor{pdcolor6}{RGB}{20,20,100}   % structural-text
  \definecolor{pdcolor7}{RGB}{20,20,100}   % main-text
  \definecolor{pdcolor99}{RGB}{255,0,0} %test
  \colorlet{SlideBackground}{pdcolor1}
  \colorlet{HeadBackground}{pdcolor2}
  \colorlet{Highlight}{pdcolor4}
  \colorlet{FootBackground}{pdcolor3}
  \colorlet{Shadow}{pdcolor5}
  \colorlet{StructureText}{pdcolor6}
  \colorlet{MainText}{pdcolor7}
  \def\pd at SectionSlideBackground{%
    
\rput[bl](0,0){\includegraphics[width=\slidewidth,height=\slideheight]{img/background}}}%
  \def\pd at SlideBackground{%
    
\rput[bl](0,0){\includegraphics[width=\slidewidth,height=\slideheight]{img/background}}}%
} % Bright
{Dark}{%
  \definecolor{pdcolor1}{RGB}{200,200,200}
  \definecolor{pdcolor2}{RGB}{100,100,200}
  \definecolor{pdcolor3}{RGB}{20,20,100}
  \definecolor{pdcolor4}{RGB}{240,240,200}
  \definecolor{pdcolor5}{RGB}{100,100,150}
  \colorlet{SlideBackground}{pdcolor3}
  \colorlet{HeadBackground}{pdcolor5}
  \colorlet{Highlight}{pdcolor4}
  \colorlet{FootBackground}{pdcolor3}
  \colorlet{Shadow}{pdcolor3}
  \colorlet{StructureText}{pdcolor1}
  \colorlet{MainText}{pdcolor1}
  \def\pd at SectionSlideBackground{%
    \psframe[linestyle=none,fillstyle=slope,
        slopebegin=pdcolor5,slopeend=pdcolor3,
        slopeangle=270](0,0)(\slidewidth,\slideheight)}
  \def\pd at SlideBackground{%
     \psframe[linestyle=none,fillstyle=slope,
        slopebegin=pdcolor5,slopeend=pdcolor3,
        slopeangle=270](0,0)(\slidewidth,\slideheight)}
}% Dark





More information about the PSTricks mailing list