[pstricks] Frames and colors

Zbigniew Nitecki zbigniew.nitecki at tufts.edu
Mon Sep 1 17:07:46 CEST 2008


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}

***************************************************************
(and, if I go to nonstop mode, a sequence of similar ones).

The output prints the text with no box.

What should I be doing?

Zbigniew Nitecki
Department of Mathematics
Tufts University
Medford, MA 02155

telephones:
Office    (617)627-3843
Dept.    (617)627-3234
Dept. fax    (617)627-3966
http://www.tufts.edu/~znitecki/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pstricks/attachments/20080901/897b673d/attachment.html 


More information about the PSTricks mailing list