[pstricks] Background color

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Thu Nov 13 18:43:24 CET 2003


Olesya Grishchenko schrieb:

> My background colors turn out to be in grid black and grey. 
> No trace of red or pink whatsoever. any ideas how to get
> colors stated in \SlideColours command? 

I have no problems here

Herbert


\listfiles
\documentclass[landscape]{seminar}

\usepackage{pstcol}
\usepackage{semcolor}
\input{seminar.bug}
\usepackage{pst-plot}

\newcommand{\SlideColours}[3][red]{%
% #1 = frame line color (optional, default=black),
% #2 = foreground color, #3 = background color
\slideframe[\psset{linecolor=#1,fillcolor=#3,fillstyle=solid}]{scplain}
\color{#2}}

\definecolor{Pink}{rgb}{1.,0.65,0.8}

\begin{document}

\SlideColours[red]{black}{Pink}
\begin{slide}
   My slide with a pink background and a red frame.
\begin{pspicture}(-2,-1)(2,3)
   \psgrid
   \psplot{-2}{2}{x dup mul 1 sub}
\end{pspicture}
\end{slide}

\SlideColours{white}{red}
\begin{slide}
   My slide with a red background and a white text.
\begin{pspicture}(-2,-1)(2,3)
   \psset{linecolor=white}
   \psgrid[gridcolor=white,subgridcolor=lightgray,%
       gridlabels=7pt,gridlabelcolor=white]
   \psplot[linecolor=white]{-2}{2}{x dup mul 1 sub}
\end{pspicture}
\end{slide}

\end{document}



  *File List*
  seminar.cls    1997/10/13, 1.4
  article.cls    2001/04/21 v1.4e Standard LaTeX document class
   size10.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
sem-page.sty
   pstcol.sty    2001/06/20 v1.1 PSTricks color colompatibility (DPC)
pstricks.sty    1997/03/25 package wrapper for PSTricks pstricks.tex
    color.sty    1999/02/16 v1.0i Standard LaTeX Color (DPC)
    color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
dvipsnam.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
semcolor.sty
pstricks.tex
  seminar.bug
pst-plot.sty    1997/03/25 package wrapper for PSTricks pst-plot.tex


-- 
http://www.pstricks.de/




More information about the PSTricks mailing list