[pstricks] Frames and colors

Michael Sharpe msharpe at ucsd.edu
Mon Sep 1 17:23:21 CEST 2008


Zbigniew,

Recent versions of pstricks load the xcolor package automatically. In  
place of the first two lines below, use

\usepackage[dvips]{pstricks}
\usepackage{pst-text}

Michael

On Sep 1, 2008, at 8:07 AM, Zbigniew Nitecki wrote:

> I am trying to create a "calendar" type of output, and mimicking p.  
> 102 of PSTricks 3. Auflage,
> write
> ***********************************************************************
> \usepackage{color}
> \usepackage{pstricks, pst-text}
>
>
> 	\begin{pspicture}(-1,0)(5,10)
> 	\newcommand{\HonCalc}{
> 			\psshadowbox[fillstyle=solid, fillcolor=blue]
> 			{
> 			\begin{tabular}{@{}c@{}}%
> 			 Math 17 \\ BP7
> 			 \end{tabular}
> 			 }
> 		}
> 		
> 		\psset{xunit=0.5in, yunit=0.5in}
> 		\rput(0,6.25){\HonCalc}
> 	\end{pspicture}
> ***********************************************************************
>  which leads to the error message
> ************************************************************
> ! Undefined control sequence.
> <recently read> \c at lor@to at ps
>
> l.21 		\rput(0,6.25){\HonCalc}
>
> ***************************************************************
>



More information about the PSTricks mailing list