[pstricks] xLabel keeps returning error

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Aug 30 21:18:49 CEST 2008


Derek Collis schrieb:
> Apologies, the minimal example is as follows:
> 
> \documentclass{article}
> \usepackage{pstricks-all}
> \usepackage{pstricks-add}
> \begin{document}
> 
> \psset{yunit=1cm,xunit=3cm}
> \begin{pspicture}(-0.3,-0.5)(5,4.75)
> \psaxes[xLabel={\scriptsize\itshape},yLabel={\sffamily 
> \footnotesize},Dy=0.5,Dx=0.25]{->}(0,0)(4.5,4.5)
> \end{pspicture}
> 
> \end{document}
> 
> This example is taken directly from the 'pstricks-add, additional  
> Macros for pstricks, v.2.31' by Herbert on the TUG website on Page 59.

yes, but this version is from 2004-12-11, now we have
version 3.10  2008-08-27
However, there is no package pstricks-all, it is named pst-all.
A working example:

\documentclass{article}
\usepackage{pstricks-add}
\begin{document}

\psset{yunit=1cm,xunit=3cm}
\begin{pspicture}(-0.3,-0.5)(5,4.75)
\psaxes[labelFontSize={\sffamily\footnotesize\itshape},mathLabel=false,
   Dy=0.5,Dx=0.25]{->}(0,0)(4.5,4.5)
\end{pspicture}

\end{document}

Herbert



More information about the PSTricks mailing list